View Source GoogleApi.Sheets.V4.Model.FilterCriteria (google_api_sheets v0.34.0)

Criteria for showing/hiding rows in a filter or filter view.

Attributes

  • condition (type: GoogleApi.Sheets.V4.Model.BooleanCondition.t, default: nil) - A condition that must be true for values to be shown. (This does not override hidden_values -- if a value is listed there, it will still be hidden.)
  • hiddenValues (type: list(String.t), default: nil) - Values that should be hidden.
  • visibleBackgroundColor (type: GoogleApi.Sheets.V4.Model.Color.t, default: nil) - The background fill color to filter by; only cells with this fill color are shown. Mutually exclusive with visible_foreground_color. Deprecated: Use visible_background_color_style.
  • visibleBackgroundColorStyle (type: GoogleApi.Sheets.V4.Model.ColorStyle.t, default: nil) - The background fill color to filter by; only cells with this fill color are shown. This field is mutually exclusive with visible_foreground_color, and must be set to an RGB-type color. If visible_background_color is also set, this field takes precedence.
  • visibleForegroundColor (type: GoogleApi.Sheets.V4.Model.Color.t, default: nil) - The foreground color to filter by; only cells with this foreground color are shown. Mutually exclusive with visible_background_color. Deprecated: Use visible_foreground_color_style.
  • visibleForegroundColorStyle (type: GoogleApi.Sheets.V4.Model.ColorStyle.t, default: nil) - The foreground color to filter by; only cells with this foreground color are shown. This field is mutually exclusive with visible_background_color, and must be set to an RGB-type color. If visible_foreground_color is also set, this field takes precedence.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.FilterCriteria{
  condition: GoogleApi.Sheets.V4.Model.BooleanCondition.t() | nil,
  hiddenValues: [String.t()] | nil,
  visibleBackgroundColor: GoogleApi.Sheets.V4.Model.Color.t() | nil,
  visibleBackgroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t() | nil,
  visibleForegroundColor: GoogleApi.Sheets.V4.Model.Color.t() | nil,
  visibleForegroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.