class Google::Apis::SheetsV4::DataSourceObjectReference

Reference to a data source object.

Attributes

chart_id[RW]

References to a data source chart. Corresponds to the JSON property `chartId` @return [Fixnum]

data_source_formula_cell[RW]

A coordinate in a sheet. All indexes are zero-based. Corresponds to the JSON property `dataSourceFormulaCell` @return [Google::Apis::SheetsV4::GridCoordinate]

data_source_pivot_table_anchor_cell[RW]

A coordinate in a sheet. All indexes are zero-based. Corresponds to the JSON property `dataSourcePivotTableAnchorCell` @return [Google::Apis::SheetsV4::GridCoordinate]

data_source_table_anchor_cell[RW]

A coordinate in a sheet. All indexes are zero-based. Corresponds to the JSON property `dataSourceTableAnchorCell` @return [Google::Apis::SheetsV4::GridCoordinate]

sheet_id[RW]

References to a DATA_SOURCE sheet. Corresponds to the JSON property `sheetId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 3941
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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