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

A filter view.

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 for showing/hiding values per column. Both criteria and filter_specs are populated in responses. If both fields are specified in an update request, this field takes precedence.
  • filterViewId (type: integer(), default: nil) - The ID of the filter view.
  • namedRangeId (type: String.t, default: nil) - The named range this filter view is backed by, if any. When writing, only one of range or named_range_id may be set.
  • range (type: GoogleApi.Sheets.V4.Model.GridRange.t, default: nil) - The range this filter view covers. When writing, only one of range or named_range_id may be set.
  • 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.
  • title (type: String.t, default: nil) - The name of the filter view.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.