Class: Google::Apis::SheetsV4::DeleteDimensionRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteDimensionRequest
- 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 the dimensions from the sheet.
Instance Attribute Summary collapse
-
#range ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteDimensionRequest
constructor
A new instance of DeleteDimensionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteDimensionRequest
Returns a new instance of DeleteDimensionRequest
111 112 113 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 111 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
109 110 111 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 109 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
116 117 118 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 116 def update!(**args) @range = args[:range] if args.key?(:range) end |