Skip to content

Commit 5baae34

Browse files
feat: Automated regeneration of bigquery v2 client (googleapis#22200)
Auto-created at 2025-03-23 10:26:47 +0000 using the toys pull request generator.
1 parent f2b651d commit 5baae34

File tree

5 files changed

+27
-2
lines changed

5 files changed

+27
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49167,6 +49167,7 @@
4916749167
"/bigquery:v2/JobConfiguration/labels/label": label
4916849168
"/bigquery:v2/JobConfiguration/load": load
4916949169
"/bigquery:v2/JobConfiguration/query": query
49170+
"/bigquery:v2/JobConfiguration/reservation": reservation
4917049171
"/bigquery:v2/JobConfigurationExtract": job_configuration_extract
4917149172
"/bigquery:v2/JobConfigurationExtract/compression": compression
4917249173
"/bigquery:v2/JobConfigurationExtract/destinationFormat": destination_format
@@ -49614,6 +49615,7 @@
4961449615
"/bigquery:v2/QueryRequest/queryParameters": query_parameters
4961549616
"/bigquery:v2/QueryRequest/queryParameters/query_parameter": query_parameter
4961649617
"/bigquery:v2/QueryRequest/requestId": request_id
49618+
"/bigquery:v2/QueryRequest/reservation": reservation
4961749619
"/bigquery:v2/QueryRequest/timeoutMs": timeout_ms
4961849620
"/bigquery:v2/QueryRequest/useLegacySql": use_legacy_sql
4961949621
"/bigquery:v2/QueryRequest/useQueryCache": use_query_cache

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.86.0 (2025-03-23)
4+
5+
* Regenerated from discovery document revision 20250313
6+
37
### v0.85.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250302

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4497,6 +4497,14 @@ class JobConfiguration
44974497
# @return [Google::Apis::BigqueryV2::JobConfigurationQuery]
44984498
attr_accessor :query
44994499

4500+
# Optional. The reservation that job would use. User can specify a reservation
4501+
# to execute the job. If reservation is not set, reservation is determined based
4502+
# on the rules defined by the reservation assignments. The expected format is `
4503+
# projects/`project`/locations/`location`/reservations/`reservation``.
4504+
# Corresponds to the JSON property `reservation`
4505+
# @return [String]
4506+
attr_accessor :reservation
4507+
45004508
def initialize(**args)
45014509
update!(**args)
45024510
end
@@ -4511,6 +4519,7 @@ def update!(**args)
45114519
@labels = args[:labels] if args.key?(:labels)
45124520
@load = args[:load] if args.key?(:load)
45134521
@query = args[:query] if args.key?(:query)
4522+
@reservation = args[:reservation] if args.key?(:reservation)
45144523
end
45154524
end
45164525

@@ -7790,6 +7799,13 @@ class QueryRequest
77907799
# @return [String]
77917800
attr_accessor :request_id
77927801

7802+
# Optional. The reservation that jobs.query request would use. User can specify
7803+
# a reservation to execute the job.query. The expected format is `projects/`
7804+
# project`/locations/`location`/reservations/`reservation``.
7805+
# Corresponds to the JSON property `reservation`
7806+
# @return [String]
7807+
attr_accessor :reservation
7808+
77937809
# Optional. Optional: Specifies the maximum amount of time, in milliseconds,
77947810
# that the client is willing to wait for the query to complete. By default, this
77957811
# limit is 10 seconds (10,000 milliseconds). If the query is complete, the
@@ -7856,6 +7872,7 @@ def update!(**args)
78567872
@query = args[:query] if args.key?(:query)
78577873
@query_parameters = args[:query_parameters] if args.key?(:query_parameters)
78587874
@request_id = args[:request_id] if args.key?(:request_id)
7875+
@reservation = args[:reservation] if args.key?(:reservation)
78597876
@timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
78607877
@use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
78617878
@use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)

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.85.0"
19+
GEM_VERSION = "0.86.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250302"
25+
REVISION = "20250313"
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
@@ -2453,6 +2453,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
24532453

24542454
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
24552455

2456+
property :reservation, as: 'reservation'
24562457
end
24572458
end
24582459

@@ -3230,6 +3231,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
32303231
collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
32313232

32323233
property :request_id, as: 'requestId'
3234+
property :reservation, as: 'reservation'
32333235
property :timeout_ms, as: 'timeoutMs'
32343236
property :use_legacy_sql, as: 'useLegacySql'
32353237
property :use_query_cache, as: 'useQueryCache'

0 commit comments

Comments
 (0)