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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.