class Google::Apis::SheetsV4::BigQueryDataSourceSpec
The specification of a BigQuery data source that's connected to a sheet.
Attributes
project_id[RW]
The ID of a BigQuery enabled GCP project with a billing account attached. For any queries executed against the data source, the project is charged. Corresponds to the JSON property `projectId` @return [String]
query_spec[RW]
Specifies a custom BigQuery query. Corresponds to the JSON property `querySpec` @return [Google::Apis::SheetsV4::BigQueryQuerySpec]
table_spec[RW]
Specifies a BigQuery table definition. Only [native tables](cloud. google.com/bigquery/docs/tables-intro) is allowed. Corresponds to the JSON property `tableSpec` @return [Google::Apis::SheetsV4::BigQueryTableSpec]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 1984 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 1989 def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) @query_spec = args[:query_spec] if args.key?(:query_spec) @table_spec = args[:table_spec] if args.key?(:table_spec) end