Skip to content

Commit 1272bf3

Browse files
feat: Automated regeneration of sts v1 client (#27201)
Auto-created at 2026-06-28 10:42:33 +0000 using the toys pull request generator.
1 parent 37616bc commit 1272bf3

6 files changed

Lines changed: 366 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409782,6 +409782,26 @@
409782409782
"/sts:v1/GoogleIdentityStsV1IntrospectTokenResponse/scope": scope
409783409783
"/sts:v1/GoogleIdentityStsV1IntrospectTokenResponse/sub": sub
409784409784
"/sts:v1/GoogleIdentityStsV1IntrospectTokenResponse/username": username
409785+
"/sts:v1/GoogleIdentityStsV1Jwk": google_identity_sts_v1_jwk
409786+
"/sts:v1/GoogleIdentityStsV1Jwk/e": e
409787+
"/sts:v1/GoogleIdentityStsV1Jwk/kid": kid
409788+
"/sts:v1/GoogleIdentityStsV1Jwk/kty": kty
409789+
"/sts:v1/GoogleIdentityStsV1Jwk/n": "n"
409790+
"/sts:v1/GoogleIdentityStsV1Jwk/use": use
409791+
"/sts:v1/GoogleIdentityStsV1Jwks": google_identity_sts_v1_jwks
409792+
"/sts:v1/GoogleIdentityStsV1Jwks/keys": keys
409793+
"/sts:v1/GoogleIdentityStsV1Jwks/keys/key": key
409794+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig": google_identity_sts_v1_open_id_provider_config
409795+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/authorization_endpoint": authorization_endpoint
409796+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/id_token_signing_alg_values_supported": id_token_signing_alg_values_supported
409797+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/id_token_signing_alg_values_supported/id_token_signing_alg_values_supported": id_token_signing_alg_values_supported
409798+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/issuer": issuer
409799+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/jwks_uri": jwks_uri
409800+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/response_types_supported": response_types_supported
409801+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/response_types_supported/response_types_supported": response_types_supported
409802+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/subject_types_supported": subject_types_supported
409803+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/subject_types_supported/subject_types_supported": subject_types_supported
409804+
"/sts:v1/GoogleIdentityStsV1OpenIdProviderConfig/token_endpoint": token_endpoint
409785409805
"/sts:v1/GoogleIdentityStsV1Options": google_identity_sts_v1_options
409786409806
"/sts:v1/GoogleIdentityStsV1Options/accessBoundary": access_boundary
409787409807
"/sts:v1/GoogleIdentityStsV1Options/audiences": audiences
@@ -409809,6 +409829,14 @@
409809409829
"/sts:v1/fields": fields
409810409830
"/sts:v1/key": key
409811409831
"/sts:v1/quotaUser": quota_user
409832+
"/sts:v1/sts.organizations.locations.workloadIdentityPools.openid.getJwks": get_organization_location_workload_identity_pool_openid_jwks
409833+
"/sts:v1/sts.organizations.locations.workloadIdentityPools.openid.getJwks/name": name
409834+
"/sts:v1/sts.organizations.locations.workloadIdentityPools.well-known.getOpenid-configuration": get_organization_location_workload_identity_pool_well_known_openid_configuration
409835+
"/sts:v1/sts.organizations.locations.workloadIdentityPools.well-known.getOpenid-configuration/name": name
409836+
"/sts:v1/sts.projects.locations.workloadIdentityPools.openid.getJwks": get_project_location_workload_identity_pool_openid_jwks
409837+
"/sts:v1/sts.projects.locations.workloadIdentityPools.openid.getJwks/name": name
409838+
"/sts:v1/sts.projects.locations.workloadIdentityPools.well-known.getOpenid-configuration": get_project_location_workload_identity_pool_well_known_openid_configuration
409839+
"/sts:v1/sts.projects.locations.workloadIdentityPools.well-known.getOpenid-configuration/name": name
409812409840
"/sts:v1beta/GoogleIamV1Binding": google_iam_v1_binding
409813409841
"/sts:v1beta/GoogleIamV1Binding/condition": condition
409814409842
"/sts:v1beta/GoogleIamV1Binding/members": members

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

3+
### v0.49.0 (2026-06-28)
4+
5+
* Regenerated from discovery document revision 20260618
6+
37
### v0.48.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

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

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,134 @@ def update!(**args)
412412
end
413413
end
414414

415+
# A JSON web key set (JWK) See also https://datatracker.ietf.org/doc/html/
416+
# rfc7517 and https://github.com/spiffe/spiffe/blob/main/standards/JWT-SVID.md#6-
417+
# representation-in-the-spiffe-bundle
418+
class GoogleIdentityStsV1Jwk
419+
include Google::Apis::Core::Hashable
420+
421+
# Exponent value for kty="RSA".
422+
# Corresponds to the JSON property `e`
423+
# @return [String]
424+
attr_accessor :e
425+
426+
# Key ID.
427+
# Corresponds to the JSON property `kid`
428+
# @return [String]
429+
attr_accessor :kid
430+
431+
# Key type. Currently "RSA".
432+
# Corresponds to the JSON property `kty`
433+
# @return [String]
434+
attr_accessor :kty
435+
436+
# Modulus value for kty="RSA".
437+
# Corresponds to the JSON property `n`
438+
# @return [String]
439+
attr_accessor :n
440+
441+
# Public key use. Currently "jwt-svid".
442+
# Corresponds to the JSON property `use`
443+
# @return [String]
444+
attr_accessor :use
445+
446+
def initialize(**args)
447+
update!(**args)
448+
end
449+
450+
# Update properties of this object
451+
def update!(**args)
452+
@e = args[:e] if args.key?(:e)
453+
@kid = args[:kid] if args.key?(:kid)
454+
@kty = args[:kty] if args.key?(:kty)
455+
@n = args[:n] if args.key?(:n)
456+
@use = args[:use] if args.key?(:use)
457+
end
458+
end
459+
460+
# Response message for GetJwks.
461+
class GoogleIdentityStsV1Jwks
462+
include Google::Apis::Core::Hashable
463+
464+
# The JWKS for this OP.
465+
# Corresponds to the JSON property `keys`
466+
# @return [Array<Google::Apis::StsV1::GoogleIdentityStsV1Jwk>]
467+
attr_accessor :keys
468+
469+
def initialize(**args)
470+
update!(**args)
471+
end
472+
473+
# Update properties of this object
474+
def update!(**args)
475+
@keys = args[:keys] if args.key?(:keys)
476+
end
477+
end
478+
479+
# Response message for GetOpenIdProviderConfig. Message fields are defined in
480+
# https://openid.net/specs/openid-connect-discovery-1_0.html#
481+
# ProviderConfigurationResponse
482+
class GoogleIdentityStsV1OpenIdProviderConfig
483+
include Google::Apis::Core::Hashable
484+
485+
# URL pointing to an authorization endpoint under this issuer. Note: Currently
486+
# this endpoint returns a 404.
487+
# Corresponds to the JSON property `authorization_endpoint`
488+
# @return [String]
489+
attr_accessor :authorization_endpoint
490+
491+
# JSON array containing a list of the JWS signing algorithms (alg values)
492+
# supported by the OP for the ID token to encode the claims in a JWT [JWT]. Note:
493+
# Currently always "["RS256"]".
494+
# Corresponds to the JSON property `id_token_signing_alg_values_supported`
495+
# @return [Array<String>]
496+
attr_accessor :id_token_signing_alg_values_supported
497+
498+
# URL using the https scheme with no query or fragment components that the OP
499+
# asserts as its issuer identifier.
500+
# Corresponds to the JSON property `issuer`
501+
# @return [String]
502+
attr_accessor :issuer
503+
504+
# URL of the OP's JWK Set [JWK] document, which MUST use the https scheme.
505+
# Corresponds to the JSON property `jwks_uri`
506+
# @return [String]
507+
attr_accessor :jwks_uri
508+
509+
# JSON array containing a list of the OAuth 2.0 response_type values that this
510+
# OP supports. Note: Currently always "["id_token"]".
511+
# Corresponds to the JSON property `response_types_supported`
512+
# @return [Array<String>]
513+
attr_accessor :response_types_supported
514+
515+
# JSON array containing a list of the subject identifier types that this OP
516+
# supports. Note: Currently always "["public"]".
517+
# Corresponds to the JSON property `subject_types_supported`
518+
# @return [Array<String>]
519+
attr_accessor :subject_types_supported
520+
521+
# URL pointing to a token endpoint under this issuer. Note: Currently this
522+
# endpoint returns a 404.
523+
# Corresponds to the JSON property `token_endpoint`
524+
# @return [String]
525+
attr_accessor :token_endpoint
526+
527+
def initialize(**args)
528+
update!(**args)
529+
end
530+
531+
# Update properties of this object
532+
def update!(**args)
533+
@authorization_endpoint = args[:authorization_endpoint] if args.key?(:authorization_endpoint)
534+
@id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
535+
@issuer = args[:issuer] if args.key?(:issuer)
536+
@jwks_uri = args[:jwks_uri] if args.key?(:jwks_uri)
537+
@response_types_supported = args[:response_types_supported] if args.key?(:response_types_supported)
538+
@subject_types_supported = args[:subject_types_supported] if args.key?(:subject_types_supported)
539+
@token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
540+
end
541+
end
542+
415543
# An `Options` object configures features that the Security Token Service
416544
# supports, but that are not supported by standard OAuth 2.0 token exchange
417545
# endpoints, as defined in https://tools.ietf.org/html/rfc8693.

generated/google-apis-sts_v1/lib/google/apis/sts_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 StsV1
1818
# Version of the google-apis-sts_v1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.0"
2020

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

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

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5252
include Google::Apis::Core::JsonObjectSupport
5353
end
5454

55+
class GoogleIdentityStsV1Jwk
56+
class Representation < Google::Apis::Core::JsonRepresentation; end
57+
58+
include Google::Apis::Core::JsonObjectSupport
59+
end
60+
61+
class GoogleIdentityStsV1Jwks
62+
class Representation < Google::Apis::Core::JsonRepresentation; end
63+
64+
include Google::Apis::Core::JsonObjectSupport
65+
end
66+
67+
class GoogleIdentityStsV1OpenIdProviderConfig
68+
class Representation < Google::Apis::Core::JsonRepresentation; end
69+
70+
include Google::Apis::Core::JsonObjectSupport
71+
end
72+
5573
class GoogleIdentityStsV1Options
5674
class Representation < Google::Apis::Core::JsonRepresentation; end
5775

@@ -134,6 +152,38 @@ class Representation < Google::Apis::Core::JsonRepresentation
134152
end
135153
end
136154

155+
class GoogleIdentityStsV1Jwk
156+
# @private
157+
class Representation < Google::Apis::Core::JsonRepresentation
158+
property :e, as: 'e'
159+
property :kid, as: 'kid'
160+
property :kty, as: 'kty'
161+
property :n, as: 'n'
162+
property :use, as: 'use'
163+
end
164+
end
165+
166+
class GoogleIdentityStsV1Jwks
167+
# @private
168+
class Representation < Google::Apis::Core::JsonRepresentation
169+
collection :keys, as: 'keys', class: Google::Apis::StsV1::GoogleIdentityStsV1Jwk, decorator: Google::Apis::StsV1::GoogleIdentityStsV1Jwk::Representation
170+
171+
end
172+
end
173+
174+
class GoogleIdentityStsV1OpenIdProviderConfig
175+
# @private
176+
class Representation < Google::Apis::Core::JsonRepresentation
177+
property :authorization_endpoint, as: 'authorization_endpoint'
178+
collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
179+
property :issuer, as: 'issuer'
180+
property :jwks_uri, as: 'jwks_uri'
181+
collection :response_types_supported, as: 'response_types_supported'
182+
collection :subject_types_supported, as: 'subject_types_supported'
183+
property :token_endpoint, as: 'token_endpoint'
184+
end
185+
end
186+
137187
class GoogleIdentityStsV1Options
138188
# @private
139189
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)