Class: Google::Apis::SheetsV4::ManualRuleGroup
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::ManualRuleGroup
- 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
A group name and a list of items from the source data that should be placed in the group with this name.
Instance Attribute Summary collapse
-
#group_name ⇒ Google::Apis::SheetsV4::ExtendedValue
The kinds of value that a cell in a spreadsheet can have.
-
#items ⇒ Array<Google::Apis::SheetsV4::ExtendedValue>
The items in the source data that should be placed into this group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManualRuleGroup
constructor
A new instance of ManualRuleGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManualRuleGroup
Returns a new instance of ManualRuleGroup
5627 5628 5629 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_name ⇒ Google::Apis::SheetsV4::ExtendedValue
The kinds of value that a cell in a spreadsheet can have.
Corresponds to the JSON property groupName
5617 5618 5619 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5617 def group_name @group_name end |
#items ⇒ Array<Google::Apis::SheetsV4::ExtendedValue>
The items in the source data that should be placed into this group. Each
item may be a string, number, or boolean. Items may appear in at most one
group within a given ManualRule. Items that do not appear in any
group will appear on their own.
Corresponds to the JSON property items
5625 5626 5627 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5625 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5632 5633 5634 5635 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5632 def update!(**args) @group_name = args[:group_name] if args.key?(:group_name) @items = args[:items] if args.key?(:items) end |