Class: Google::Apis::BigqueryV2::BigLakeConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::BigLakeConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Configuration for BigLake managed tables.
Instance Attribute Summary collapse
-
#connection_id ⇒ String
Required.
-
#file_format ⇒ String
Required.
-
#storage_uri ⇒ String
Required.
-
#table_format ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigLakeConfiguration
constructor
A new instance of BigLakeConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigLakeConfiguration
Returns a new instance of BigLakeConfiguration.
694 695 696 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 694 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_id ⇒ String
Required. The connection specifying the credentials to be used to read and
write to external storage, such as Cloud Storage. The connection_id can have
the form project`.`location`.`connection_id
or projects/
project/
locations/
location/connections/
connection_id".
Corresponds to the JSON property
connectionId`
675 676 677 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 675 def connection_id @connection_id end |
#file_format ⇒ String
Required. The file format the table data is stored in.
Corresponds to the JSON property fileFormat
680 681 682 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 680 def file_format @file_format end |
#storage_uri ⇒ String
Required. The fully qualified location prefix of the external folder where
table data is stored. The '*' wildcard character is not allowed. The URI
should be in the format gs://bucket/path_to_table/
Corresponds to the JSON property storageUri
687 688 689 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 687 def storage_uri @storage_uri end |
#table_format ⇒ String
Required. The table format the metadata only snapshots are stored in.
Corresponds to the JSON property tableFormat
692 693 694 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 692 def table_format @table_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
699 700 701 702 703 704 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 699 def update!(**args) @connection_id = args[:connection_id] if args.key?(:connection_id) @file_format = args[:file_format] if args.key?(:file_format) @storage_uri = args[:storage_uri] if args.key?(:storage_uri) @table_format = args[:table_format] if args.key?(:table_format) end |