Class: Google::Apis::SheetsV4::DataSourceObjectReference
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DataSourceObjectReference
- 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
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.
3938 3939 3940 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart_id ⇒ Fixnum
References to a data source chart.
Corresponds to the JSON property chartId
3916 3917 3918 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3916 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
3921 3922 3923 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3921 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
3926 3927 3928 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3926 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
3931 3932 3933 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3931 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
3936 3937 3938 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3936 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3943 3944 3945 3946 3947 3948 3949 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3943 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 |