Class: Google::Apis::SheetsV4::PivotGroupLimit
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PivotGroupLimit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
The count limit on rows or columns in the pivot group.
Instance Attribute Summary collapse
-
#apply_order ⇒ Fixnum
The order in which the group limit is applied to the pivot table.
-
#count_limit ⇒ Fixnum
The count limit.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PivotGroupLimit
constructor
A new instance of PivotGroupLimit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PivotGroupLimit
Returns a new instance of PivotGroupLimit.
7262 7263 7264 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apply_order ⇒ Fixnum
The order in which the group limit is applied to the pivot table. Pivot group
limits are applied from lower to higher order number. Order numbers are
normalized to consecutive integers from 0. For write request, to fully
customize the applying orders, all pivot group limits should have this field
set with an unique number. Otherwise, the order is determined by the index in
the PivotTable.rows list and then the PivotTable.columns list.
Corresponds to the JSON property applyOrder
7255 7256 7257 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7255 def apply_order @apply_order end |
#count_limit ⇒ Fixnum
The count limit.
Corresponds to the JSON property countLimit
7260 7261 7262 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7260 def count_limit @count_limit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7267 7268 7269 7270 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 7267 def update!(**args) @apply_order = args[:apply_order] if args.key?(:apply_order) @count_limit = args[:count_limit] if args.key?(:count_limit) end |