Class: Google::Apis::SheetsV4::BigQueryTableSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BigQueryTableSpec
- 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
Specifies a BigQuery table definition. Only native tables are allowed.
Instance Attribute Summary collapse
-
#dataset_id ⇒ String
The BigQuery dataset id.
-
#table_id ⇒ String
The BigQuery table id.
-
#table_project_id ⇒ String
The ID of a BigQuery project the table belongs to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryTableSpec
constructor
A new instance of BigQueryTableSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryTableSpec
Returns a new instance of BigQueryTableSpec.
2098 2099 2100 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2098 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_id ⇒ String
The BigQuery dataset id.
Corresponds to the JSON property datasetId
2085 2086 2087 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2085 def dataset_id @dataset_id end |
#table_id ⇒ String
The BigQuery table id.
Corresponds to the JSON property tableId
2090 2091 2092 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2090 def table_id @table_id end |
#table_project_id ⇒ String
The ID of a BigQuery project the table belongs to. If not specified, the
project_id is assumed.
Corresponds to the JSON property tableProjectId
2096 2097 2098 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2096 def table_project_id @table_project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2103 2104 2105 2106 2107 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 2103 def update!(**args) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @table_id = args[:table_id] if args.key?(:table_id) @table_project_id = args[:table_project_id] if args.key?(:table_project_id) end |