Class: Google::Apis::SheetsV4::DeleteDimensionGroupRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteDimensionGroupRequest
- 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
Deletes a group over the specified range by decrementing the depth of the dimensions in the range. For example, assume the sheet has a depth-1 group over B:E and a depth-2 group over C:D. Deleting a group over D:E leaves the sheet with a depth-1 group over B:D and a depth-2 group over C:C.
Instance Attribute Summary collapse
-
#range ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteDimensionGroupRequest
constructor
A new instance of DeleteDimensionGroupRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteDimensionGroupRequest
Returns a new instance of DeleteDimensionGroupRequest
3749 3750 3751 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
All indexes are zero-based.
Indexes are half open: the start index is inclusive
and the end index is exclusive.
Missing indexes indicate the range is unbounded on that side.
Corresponds to the JSON property range
3747 3748 3749 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3747 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3754 3755 3756 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3754 def update!(**args) @range = args[:range] if args.key?(:range) end |