Skip to content

Commit 0420fa5

Browse files
feat: Automated regeneration of bigqueryreservation v1 client (#25962)
Auto-created at 2026-03-15 10:55:10 +0000 using the toys pull request generator.
1 parent afd8018 commit 0420fa5

5 files changed

Lines changed: 23 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60313,6 +60313,7 @@
6031360313
"/bigqueryreservation:v1/Assignment/enableGeminiInBigquery": enable_gemini_in_bigquery
6031460314
"/bigqueryreservation:v1/Assignment/jobType": job_type
6031560315
"/bigqueryreservation:v1/Assignment/name": name
60316+
"/bigqueryreservation:v1/Assignment/principal": principal
6031660317
"/bigqueryreservation:v1/Assignment/schedulingPolicy": scheduling_policy
6031760318
"/bigqueryreservation:v1/Assignment/state": state
6031860319
"/bigqueryreservation:v1/AuditConfig": audit_config

generated/google-apis-bigqueryreservation_v1/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-bigqueryreservation_v1
22

3+
### v0.51.0 (2026-03-15)
4+
5+
* Regenerated from discovery document revision 20260305
6+
37
### v0.50.0 (2026-01-18)
48

59
* Regenerated from discovery document revision 20260109

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ class Assignment
5555
# @return [String]
5656
attr_accessor :name
5757

58+
# Optional. Represents the principal for this assignment. If not empty, jobs run
59+
# by this principal will utilize the associated reservation. Otherwise, jobs
60+
# will fall back to using the reservation assigned to the project, folder, or
61+
# organization (in that order). If no reservation is assigned at any of these
62+
# levels, on-demand capacity will be used. The supported formats are: * `
63+
# principal://goog/subject/USER_EMAIL_ADDRESS` for users, * `principal://iam.
64+
# googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS` for service
65+
# accounts, * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/
66+
# global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID` for workload identity
67+
# pool identities.
68+
# Corresponds to the JSON property `principal`
69+
# @return [String]
70+
attr_accessor :principal
71+
5872
# The scheduling policy controls how a reservation's resources are distributed.
5973
# Corresponds to the JSON property `schedulingPolicy`
6074
# @return [Google::Apis::BigqueryreservationV1::SchedulingPolicy]
@@ -75,6 +89,7 @@ def update!(**args)
7589
@enable_gemini_in_bigquery = args[:enable_gemini_in_bigquery] if args.key?(:enable_gemini_in_bigquery)
7690
@job_type = args[:job_type] if args.key?(:job_type)
7791
@name = args[:name] if args.key?(:name)
92+
@principal = args[:principal] if args.key?(:principal)
7893
@scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
7994
@state = args[:state] if args.key?(:state)
8095
end

generated/google-apis-bigqueryreservation_v1/lib/google/apis/bigqueryreservation_v1/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 BigqueryreservationV1
1818
# Version of the google-apis-bigqueryreservation_v1 gem
19-
GEM_VERSION = "0.50.0"
19+
GEM_VERSION = "0.51.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
209209
property :enable_gemini_in_bigquery, as: 'enableGeminiInBigquery'
210210
property :job_type, as: 'jobType'
211211
property :name, as: 'name'
212+
property :principal, as: 'principal'
212213
property :scheduling_policy, as: 'schedulingPolicy', class: Google::Apis::BigqueryreservationV1::SchedulingPolicy, decorator: Google::Apis::BigqueryreservationV1::SchedulingPolicy::Representation
213214

214215
property :state, as: 'state'

0 commit comments

Comments
 (0)