Class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AutoResizeDimensionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
Automatically resizes one or more dimensions based on the contents of the cells in that dimension.
Instance Attribute Summary collapse
-
#data_source_sheet_dimensions ⇒ Google::Apis::SheetsV4::DataSourceSheetDimensionRange
A range along a single dimension on a DATA_SOURCE sheet.
-
#dimensions ⇒ Google::Apis::SheetsV4::DimensionRange
A range along a single dimension on a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoResizeDimensionsRequest
constructor
A new instance of AutoResizeDimensionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoResizeDimensionsRequest
Returns a new instance of AutoResizeDimensionsRequest.
586 587 588 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_sheet_dimensions ⇒ Google::Apis::SheetsV4::DataSourceSheetDimensionRange
A range along a single dimension on a DATA_SOURCE sheet.
Corresponds to the JSON property dataSourceSheetDimensions
577 578 579 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 577 def data_source_sheet_dimensions @data_source_sheet_dimensions end |
#dimensions ⇒ 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 dimensions
584 585 586 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 584 def dimensions @dimensions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
591 592 593 594 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 591 def update!(**args) @data_source_sheet_dimensions = args[:data_source_sheet_dimensions] if args.key?(:data_source_sheet_dimensions) @dimensions = args[:dimensions] if args.key?(:dimensions) end |