Class: Google::Apis::SheetsV4::PivotGroupValueMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PivotGroupValueMetadata
- 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
Metadata about a value in a pivot grouping.
Instance Attribute Summary collapse
-
#collapsed ⇒ Boolean
(also: #collapsed?)
True if the data corresponding to the value is collapsed.
-
#value ⇒ Google::Apis::SheetsV4::ExtendedValue
The kinds of value that a cell in a spreadsheet can have.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PivotGroupValueMetadata
constructor
A new instance of PivotGroupValueMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PivotGroupValueMetadata
Returns a new instance of PivotGroupValueMetadata
5185 5186 5187 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collapsed ⇒ Boolean Also known as: collapsed?
True if the data corresponding to the value is collapsed.
Corresponds to the JSON property collapsed
5177 5178 5179 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5177 def collapsed @collapsed end |
#value ⇒ Google::Apis::SheetsV4::ExtendedValue
The kinds of value that a cell in a spreadsheet can have.
Corresponds to the JSON property value
5183 5184 5185 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5183 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5190 5191 5192 5193 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5190 def update!(**args) @collapsed = args[:collapsed] if args.key?(:collapsed) @value = args[:value] if args.key?(:value) end |