Class: Google::Apis::SheetsV4::DataSourceSheetDimensionRange
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DataSourceSheetDimensionRange
- 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
A range along a single dimension on a DATA_SOURCE sheet.
Instance Attribute Summary collapse
-
#column_references ⇒ Array<Google::Apis::SheetsV4::DataSourceColumnReference>
The columns on the data source sheet.
-
#sheet_id ⇒ Fixnum
The ID of the data source sheet the range is on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataSourceSheetDimensionRange
constructor
A new instance of DataSourceSheetDimensionRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataSourceSheetDimensionRange
Returns a new instance of DataSourceSheetDimensionRange.
4257 4258 4259 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_references ⇒ Array<Google::Apis::SheetsV4::DataSourceColumnReference>
The columns on the data source sheet.
Corresponds to the JSON property columnReferences
4250 4251 4252 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4250 def column_references @column_references end |
#sheet_id ⇒ Fixnum
The ID of the data source sheet the range is on.
Corresponds to the JSON property sheetId
4255 4256 4257 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4255 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4262 4263 4264 4265 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4262 def update!(**args) @column_references = args[:column_references] if args.key?(:column_references) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |