class Google::Apis::SheetsV4::DataSource
Information about an external data source in the spreadsheet.
Attributes
All calculated columns in the data source. Corresponds to the JSON property `calculatedColumns` @return [Array<Google::Apis::SheetsV4::DataSourceColumn>]
The spreadsheet-scoped unique ID that identifies the data source. Example: 1080547365. Corresponds to the JSON property `dataSourceId` @return [String]
The ID of the Sheet
connected with the data source. The field cannot be changed once set. When creating a data source, an associated DATA_SOURCE sheet is also created, if the field is not specified, the ID of the created sheet will be randomly generated. Corresponds to the JSON property `sheetId` @return [Fixnum]
This specifies the details of the data source. For example, for BigQuery, this specifies information about the BigQuery source. Corresponds to the JSON property `spec` @return [Google::Apis::SheetsV4::DataSourceSpec]
Public Class Methods
# File lib/google/apis/sheets_v4/classes.rb, line 3789 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 3794 def update!(**args) @calculated_columns = args[:calculated_columns] if args.key?(:calculated_columns) @data_source_id = args[:data_source_id] if args.key?(:data_source_id) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) @spec = args[:spec] if args.key?(:spec) end