Class: Google::Apis::SheetsV4::PivotFilterCriteria
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PivotFilterCriteria
- 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
Criteria for showing/hiding rows in a pivot table.
Instance Attribute Summary collapse
-
#visible_values ⇒ Array<String>
Values that should be included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PivotFilterCriteria
constructor
A new instance of PivotFilterCriteria.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PivotFilterCriteria
Returns a new instance of PivotFilterCriteria
573 574 575 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#visible_values ⇒ Array<String>
Values that should be included. Values not listed here are excluded.
Corresponds to the JSON property visibleValues
571 572 573 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 571 def visible_values @visible_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
578 579 580 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 578 def update!(**args) @visible_values = args[:visible_values] if args.key?(:visible_values) end |