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

Information about which values in a pivot group should be used for sorting.

Attributes

  • buckets (type: list(GoogleApi.Sheets.V4.Model.ExtendedValue.t), default: nil) - Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group & two column groups, the row group can list up to two values. The first value corresponds to a value within the first column group, and the second value corresponds to a value in the second column group. If no values are listed, this would indicate that the row should be sorted according to the "Grand Total" over the column groups. If a single value is listed, this would correspond to using the "Total" of that bucket.
  • valuesIndex (type: integer(), default: nil) - The offset in the PivotTable.values list which the values in this grouping should be sorted by.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.PivotGroupSortValueBucket{
  buckets: [GoogleApi.Sheets.V4.Model.ExtendedValue.t()] | nil,
  valuesIndex: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.