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

The default filter associated with a sheet.

Attributes

  • criteria (type: %{optional(String.t) => GoogleApi.Sheets.V4.Model.FilterCriteria.t}, default: nil) - The criteria for showing/hiding values per column. The map's key is the column index, and the value is the criteria for that column. This field is deprecated in favor of filter_specs.
  • filterSpecs (type: list(GoogleApi.Sheets.V4.Model.FilterSpec.t), default: nil) - The filter criteria per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.
  • range (type: GoogleApi.Sheets.V4.Model.GridRange.t, default: nil) - The range the filter covers.
  • sortSpecs (type: list(GoogleApi.Sheets.V4.Model.SortSpec.t), default: nil) - The sort order per column. Later specifications are used when values are equal in the earlier specifications.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.BasicFilter{
  criteria:
    %{optional(String.t()) => GoogleApi.Sheets.V4.Model.FilterCriteria.t()}
    | nil,
  filterSpecs: [GoogleApi.Sheets.V4.Model.FilterSpec.t()] | nil,
  range: GoogleApi.Sheets.V4.Model.GridRange.t() | nil,
  sortSpecs: [GoogleApi.Sheets.V4.Model.SortSpec.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.