Class: Google::Apis::SheetsV4::DataSourceObjectReference
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DataSourceObjectReference
- 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
Reference to a data source object.
Instance Attribute Summary collapse
-
#chart_id ⇒ Fixnum
References to a data source chart.
-
#data_source_formula_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet.
-
#data_source_pivot_table_anchor_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet.
-
#data_source_table_anchor_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet.
-
#sheet_id ⇒ String
References to a DATA_SOURCE sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataSourceObjectReference
constructor
A new instance of DataSourceObjectReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataSourceObjectReference
Returns a new instance of DataSourceObjectReference.
3939 3940 3941 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3939 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart_id ⇒ Fixnum
References to a data source chart.
Corresponds to the JSON property chartId
3917 3918 3919 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3917 def chart_id @chart_id end |
#data_source_formula_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet. All indexes are zero-based.
Corresponds to the JSON property dataSourceFormulaCell
3922 3923 3924 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3922 def data_source_formula_cell @data_source_formula_cell end |
#data_source_pivot_table_anchor_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet. All indexes are zero-based.
Corresponds to the JSON property dataSourcePivotTableAnchorCell
3927 3928 3929 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3927 def data_source_pivot_table_anchor_cell @data_source_pivot_table_anchor_cell end |
#data_source_table_anchor_cell ⇒ Google::Apis::SheetsV4::GridCoordinate
A coordinate in a sheet. All indexes are zero-based.
Corresponds to the JSON property dataSourceTableAnchorCell
3932 3933 3934 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3932 def data_source_table_anchor_cell @data_source_table_anchor_cell end |
#sheet_id ⇒ String
References to a DATA_SOURCE sheet.
Corresponds to the JSON property sheetId
3937 3938 3939 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3937 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3944 3945 3946 3947 3948 3949 3950 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3944 def update!(**args) @chart_id = args[:chart_id] if args.key?(:chart_id) @data_source_formula_cell = args[:data_source_formula_cell] if args.key?(:data_source_formula_cell) @data_source_pivot_table_anchor_cell = args[:data_source_pivot_table_anchor_cell] if args.key?(:data_source_pivot_table_anchor_cell) @data_source_table_anchor_cell = args[:data_source_table_anchor_cell] if args.key?(:data_source_table_anchor_cell) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |