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.
3941 3942 3943 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart_id ⇒ Fixnum
References to a data source chart.
Corresponds to the JSON property chartId
3919 3920 3921 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3919 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
3924 3925 3926 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3924 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
3929 3930 3931 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3929 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
3934 3935 3936 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3934 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
3939 3940 3941 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3939 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3946 3947 3948 3949 3950 3951 3952 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3946 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 |