Skip to content

Commit 64f02a6

Browse files
feat: Automated regeneration of bigquery v2 client (googleapis#23168)
Auto-created at 2025-05-18 10:33:10 +0000 using the toys pull request generator.
1 parent 9b5a5b8 commit 64f02a6

File tree

5 files changed

+31
-14
lines changed

5 files changed

+31
-14
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50577,6 +50577,7 @@
5057750577
"/bigquery:v2/DatasetList/datasets": datasets
5057850578
"/bigquery:v2/DatasetList/datasets/dataset": dataset
5057950579
"/bigquery:v2/DatasetList/datasets/dataset/datasetReference": dataset_reference
50580+
"/bigquery:v2/DatasetList/datasets/dataset/externalDatasetReference": external_dataset_reference
5058050581
"/bigquery:v2/DatasetList/datasets/dataset/friendlyName": friendly_name
5058150582
"/bigquery:v2/DatasetList/datasets/dataset/id": id
5058250583
"/bigquery:v2/DatasetList/datasets/dataset/kind": kind

generated/google-apis-bigquery_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-bigquery_v2
22

3+
### v0.89.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250511
6+
37
### v0.88.0 (2025-05-04)
48

59
* Regenerated from discovery document revision 20250427

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/classes.rb

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2268,6 +2268,11 @@ class Dataset
22682268
# @return [Google::Apis::BigqueryV2::DatasetReference]
22692269
attr_accessor :dataset_reference
22702270

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+
22712276
# An alternate name for the dataset. The friendly name is purely decorative in
22722277
# nature.
22732278
# Corresponds to the JSON property `friendlyName`
@@ -2302,6 +2307,7 @@ def initialize(**args)
23022307
# Update properties of this object
23032308
def update!(**args)
23042309
@dataset_reference = args[:dataset_reference] if args.key?(:dataset_reference)
2310+
@external_dataset_reference = args[:external_dataset_reference] if args.key?(:external_dataset_reference)
23052311
@friendly_name = args[:friendly_name] if args.key?(:friendly_name)
23062312
@id = args[:id] if args.key?(:id)
23072313
@kind = args[:kind] if args.key?(:kind)
@@ -4989,12 +4995,14 @@ class JobConfigurationLoad
49894995
# Optional. Specifies the action that occurs if the destination table already
49904996
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
49914997
# 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.
49985006
# Corresponds to the JSON property `writeDisposition`
49995007
# @return [String]
50005008
attr_accessor :write_disposition
@@ -5250,12 +5258,14 @@ class JobConfigurationQuery
52505258
# Optional. Specifies the action that occurs if the destination table already
52515259
# exists. The following values are supported: * WRITE_TRUNCATE: If the table
52525260
# 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.
52595269
# Corresponds to the JSON property `writeDisposition`
52605270
# @return [String]
52615271
attr_accessor :write_disposition

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BigqueryV2
1818
# Version of the google-apis-bigquery_v2 gem
19-
GEM_VERSION = "0.88.0"
19+
GEM_VERSION = "0.89.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250427"
25+
REVISION = "20250511"
2626
end
2727
end
2828
end

generated/google-apis-bigquery_v2/lib/google/apis/bigquery_v2/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,6 +1879,8 @@ class Dataset
18791879
class Representation < Google::Apis::Core::JsonRepresentation
18801880
property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
18811881

1882+
property :external_dataset_reference, as: 'externalDatasetReference', class: Google::Apis::BigqueryV2::ExternalDatasetReference, decorator: Google::Apis::BigqueryV2::ExternalDatasetReference::Representation
1883+
18821884
property :friendly_name, as: 'friendlyName'
18831885
property :id, as: 'id'
18841886
property :kind, as: 'kind'

0 commit comments

Comments
 (0)