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

An optional setting on a PivotGroup that defines buckets for the values in the source data column rather than breaking out each individual value. Only one PivotGroup with a group rule may be added for each column in the source data, though on any given column you may add both a PivotGroup that has a rule and a PivotGroup that does not.

Attributes

  • dateTimeRule (type: GoogleApi.Sheets.V4.Model.DateTimeRule.t, default: nil) - A DateTimeRule.
  • histogramRule (type: GoogleApi.Sheets.V4.Model.HistogramRule.t, default: nil) - A HistogramRule.
  • manualRule (type: GoogleApi.Sheets.V4.Model.ManualRule.t, default: nil) - A ManualRule.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.PivotGroupRule{
  dateTimeRule: GoogleApi.Sheets.V4.Model.DateTimeRule.t() | nil,
  histogramRule: GoogleApi.Sheets.V4.Model.HistogramRule.t() | nil,
  manualRule: GoogleApi.Sheets.V4.Model.ManualRule.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.