@@ -2268,6 +2268,11 @@ class Dataset
2268
2268
# @return [Google::Apis::BigqueryV2::DatasetReference]
2269
2269
attr_accessor :dataset_reference
2270
2270
2271
+ # Configures the access a dataset defined in an external metadata storage.
2272
+ # Corresponds to the JSON property `externalDatasetReference`
2273
+ # @return [Google::Apis::BigqueryV2::ExternalDatasetReference]
2274
+ attr_accessor :external_dataset_reference
2275
+
2271
2276
# An alternate name for the dataset. The friendly name is purely decorative in
2272
2277
# nature.
2273
2278
# Corresponds to the JSON property `friendlyName`
@@ -2302,6 +2307,7 @@ def initialize(**args)
2302
2307
# Update properties of this object
2303
2308
def update!(**args)
2304
2309
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
2310
+ @external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
2305
2311
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
2306
2312
@id = args[:id] if args.key?(:id)
2307
2313
@kind = args[:kind] if args.key?(:kind)
@@ -4989,12 +4995,14 @@ class JobConfigurationLoad
4989
4995
# Optional. Specifies the action that occurs if the destination table already
4990
4996
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
4991
4997
# already exists, BigQuery overwrites the data, removes the constraints and uses
4992
- # the schema from the load job. * WRITE_APPEND: If the table already exists,
4993
- # BigQuery appends the data to the table. * WRITE_EMPTY: If the table already
4994
- # exists and contains data, a 'duplicate' error is returned in the job result.
4995
- # The default value is WRITE_APPEND. Each action is atomic and only occurs if
4996
- # BigQuery is able to complete the job successfully. Creation, truncation and
4997
- # append actions occur as one atomic update upon job completion.
4998
+ # the schema from the load job. * WRITE_TRUNCATE_DATA: If the table already
4999
+ # exists, BigQuery overwrites the data, but keeps the constraints and schema of
5000
+ # the existing table. * WRITE_APPEND: If the table already exists, BigQuery
5001
+ # appends the data to the table. * WRITE_EMPTY: If the table already exists and
5002
+ # contains data, a 'duplicate' error is returned in the job result. The default
5003
+ # value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is
5004
+ # able to complete the job successfully. Creation, truncation and append actions
5005
+ # occur as one atomic update upon job completion.
4998
5006
# Corresponds to the JSON property `writeDisposition`
4999
5007
# @return [String]
5000
5008
attr_accessor :write_disposition
@@ -5250,12 +5258,14 @@ class JobConfigurationQuery
5250
5258
# Optional. Specifies the action that occurs if the destination table already
5251
5259
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
5252
5260
# already exists, BigQuery overwrites the data, removes the constraints, and
5253
- # uses the schema from the query result. * WRITE_APPEND: If the table already
5254
- # exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table
5255
- # already exists and contains data, a 'duplicate' error is returned in the job
5256
- # result. The default value is WRITE_EMPTY. Each action is atomic and only
5257
- # occurs if BigQuery is able to complete the job successfully. Creation,
5258
- # truncation and append actions occur as one atomic update upon job completion.
5261
+ # uses the schema from the query result. * WRITE_TRUNCATE_DATA: If the table
5262
+ # already exists, BigQuery overwrites the data, but keeps the constraints and
5263
+ # schema of the existing table. * WRITE_APPEND: If the table already exists,
5264
+ # BigQuery appends the data to the table. * WRITE_EMPTY: If the table already
5265
+ # exists and contains data, a 'duplicate' error is returned in the job result.
5266
+ # The default value is WRITE_EMPTY. Each action is atomic and only occurs if
5267
+ # BigQuery is able to complete the job successfully. Creation, truncation and
5268
+ # append actions occur as one atomic update upon job completion.
5259
5269
# Corresponds to the JSON property `writeDisposition`
5260
5270
# @return [String]
5261
5271
attr_accessor :write_disposition
0 commit comments