google_api_sheets v0.0.1 GoogleApi.Sheets.V4.Model.PivotGroup View Source

A single grouping (either row or column) in a pivot table.

Attributes

  • showTotals (Boolean): True if the pivot table should include the totals for this grouping. Defaults to: null.
  • sortOrder (String): The order the values in this group should be sorted. Defaults to: null.

    • Enum - one of [SORT_ORDER_UNSPECIFIED, ASCENDING, DESCENDING]
  • sourceColumnOffset (Integer): The column offset of the source range that this grouping is based on. For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` means this group refers to column `C`, whereas the offset `1` would refer to column `D`. Defaults to: null.
  • valueBucket (PivotGroupSortValueBucket): The bucket of the opposite pivot group to sort by. If not specified, sorting is alphabetical by this group's values. Defaults to: null.
  • valueMetadata (List[PivotGroupValueMetadata]): Metadata about values in the grouping. Defaults to: null.