google-apis-sts_v1 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5cab0645526bf19f73a23ce7ef72a2a080bb42b074cc1d2d245e50773a05326
4
- data.tar.gz: f1310b4415c401113775e142c4c4d4d0406c3adb94747187ddb4487bed710b8a
3
+ metadata.gz: 8505439a8e5a14f7e145d4adadafcced26bd44a320c9595b4b1ea6abd248e597
4
+ data.tar.gz: 67122c1ae1d01e630b52f01e3559eb2d2f57e79116c726e0b7b017dbfd738846
5
5
  SHA512:
6
- metadata.gz: 2ad780f85981ea472c3aaa469f08252100f78538a914bd8ce07836f6d7ecc2c4ec37de5eb5cefbc67db9768dea61244818d6b7fa16559fcb49ea4065977d75bd
7
- data.tar.gz: fbd4e9bcdf422c48a95567ad39bb4440b60d5a753f3573b1aa2e02c8810511bae4e43a99cac5000c6ef5e8c715c3b8069574344c5b75661fce56010b37d3e784
6
+ metadata.gz: 3b92cf06414ed747982fc707fbcd17ea4113e9724835eb41a8338ea2e54a5168addee8cb49f63728f57d43a00d4a77c1d57653f5db1e725f799029ded8a54484
7
+ data.tar.gz: fa8cad6196330503a55ddef90a5f0b65d78f58eafd62580e006fa2502a2da3bebdbe906f3dcc681a2fd1bfd625dd208e1b3d92968087b7f315668ff8a031a5e4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sts_v1
2
2
 
3
+ ### v0.49.0 (2026-06-28)
4
+
5
+ * Regenerated from discovery document revision 20260618
6
+
3
7
  ### v0.48.0 (2026-06-14)
4
8
 
5
9
  * Regenerated using generator version 0.19.0
@@ -412,6 +412,134 @@ module Google
412
412
  end
413
413
  end
414
414
 
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
+
415
543
  # An `Options` object configures features that the Security Token Service
416
544
  # supports, but that are not supported by standard OAuth 2.0 token exchange
417
545
  # endpoints, as defined in https://tools.ietf.org/html/rfc8693.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StsV1
18
18
  # Version of the google-apis-sts_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260318"
25
+ REVISION = "20260618"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,24 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
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
+
55
73
  class GoogleIdentityStsV1Options
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -134,6 +152,38 @@ module Google
134
152
  end
135
153
  end
136
154
 
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
+
137
187
  class GoogleIdentityStsV1Options
138
188
  # @private
139
189
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,160 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Fetches the signing keys for an agentic or managed workload identity pool and
56
+ # returns them in JWKs format, defined in [RFC 7517](https://tools.ietf.org/html/
57
+ # rfc7517). For now, only agentic system pools are supported.
58
+ # @param [String] name
59
+ # Required. The name of the pool whose JWKS needs to be retrieved. Format: '
60
+ # organizations/`ORGANIZATION_NUMBER`/locations/global/workloadIdentityPools/`
61
+ # POOL_ID`' 'projects/`PROJECT_NUMBER`/locations/global/workloadIdentityPools/`
62
+ # POOL_ID`' Example(s): 'organizations/1234/locations/global/
63
+ # workloadIdentityPools/agents.global.org-1234.system.id.goog' 'projects/
64
+ # 12345678/locations/global/workloadIdentityPools/agents.global.proj-12345678.
65
+ # system.id.goog'
66
+ # @param [String] fields
67
+ # Selector specifying which fields to include in a partial response.
68
+ # @param [String] quota_user
69
+ # Available to use for quota purposes for server-side applications. Can be any
70
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
71
+ # @param [Google::Apis::RequestOptions] options
72
+ # Request-specific options
73
+ #
74
+ # @yield [result, err] Result & error if block supplied
75
+ # @yieldparam result [Google::Apis::StsV1::GoogleIdentityStsV1Jwks] parsed result object
76
+ # @yieldparam err [StandardError] error object if request failed
77
+ #
78
+ # @return [Google::Apis::StsV1::GoogleIdentityStsV1Jwks]
79
+ #
80
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
83
+ def get_organization_location_workload_identity_pool_openid_jwks(name, fields: nil, quota_user: nil, options: nil, &block)
84
+ command = make_simple_command(:get, 'v1/{+name}/openid/jwks', options)
85
+ command.response_representation = Google::Apis::StsV1::GoogleIdentityStsV1Jwks::Representation
86
+ command.response_class = Google::Apis::StsV1::GoogleIdentityStsV1Jwks
87
+ command.params['name'] = name unless name.nil?
88
+ command.query['fields'] = fields unless fields.nil?
89
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
90
+ execute_or_queue_command(command, &block)
91
+ end
92
+
93
+ # Gets the OIDC provider configuration for an agentic or managed workload
94
+ # identity pool following [the OIDC 1.0 discovery specification](https://openid.
95
+ # net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse).
96
+ # For now, only agentic system pools are supported.
97
+ # @param [String] name
98
+ # Required. The name of the pool whose OpenID provider configuration to retrieve.
99
+ # Format: 'organizations/`ORGANIZATION_NUMBER`/locations/global/
100
+ # workloadIdentityPools/`POOL_ID`' 'projects/`PROJECT_NUMBER`/locations/global/
101
+ # workloadIdentityPools/`POOL_ID`' Example: 'organizations/1234/locations/global/
102
+ # workloadIdentityPools/agents.global.org-1234.system.id.goog' 'projects/
103
+ # 12345678/locations/global/workloadIdentityPools/agents.global.proj-12345678.
104
+ # system.id.goog'
105
+ # @param [String] fields
106
+ # Selector specifying which fields to include in a partial response.
107
+ # @param [String] quota_user
108
+ # Available to use for quota purposes for server-side applications. Can be any
109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
110
+ # @param [Google::Apis::RequestOptions] options
111
+ # Request-specific options
112
+ #
113
+ # @yield [result, err] Result & error if block supplied
114
+ # @yieldparam result [Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig] parsed result object
115
+ # @yieldparam err [StandardError] error object if request failed
116
+ #
117
+ # @return [Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig]
118
+ #
119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
122
+ def get_organization_location_workload_identity_pool_well_known_openid_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
123
+ command = make_simple_command(:get, 'v1/{+name}/.well-known/openid-configuration', options)
124
+ command.response_representation = Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig::Representation
125
+ command.response_class = Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig
126
+ command.params['name'] = name unless name.nil?
127
+ command.query['fields'] = fields unless fields.nil?
128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
129
+ execute_or_queue_command(command, &block)
130
+ end
131
+
132
+ # Fetches the signing keys for an agentic or managed workload identity pool and
133
+ # returns them in JWKs format, defined in [RFC 7517](https://tools.ietf.org/html/
134
+ # rfc7517). For now, only agentic system pools are supported.
135
+ # @param [String] name
136
+ # Required. The name of the pool whose JWKS needs to be retrieved. Format: '
137
+ # organizations/`ORGANIZATION_NUMBER`/locations/global/workloadIdentityPools/`
138
+ # POOL_ID`' 'projects/`PROJECT_NUMBER`/locations/global/workloadIdentityPools/`
139
+ # POOL_ID`' Example(s): 'organizations/1234/locations/global/
140
+ # workloadIdentityPools/agents.global.org-1234.system.id.goog' 'projects/
141
+ # 12345678/locations/global/workloadIdentityPools/agents.global.proj-12345678.
142
+ # system.id.goog'
143
+ # @param [String] fields
144
+ # Selector specifying which fields to include in a partial response.
145
+ # @param [String] quota_user
146
+ # Available to use for quota purposes for server-side applications. Can be any
147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
148
+ # @param [Google::Apis::RequestOptions] options
149
+ # Request-specific options
150
+ #
151
+ # @yield [result, err] Result & error if block supplied
152
+ # @yieldparam result [Google::Apis::StsV1::GoogleIdentityStsV1Jwks] parsed result object
153
+ # @yieldparam err [StandardError] error object if request failed
154
+ #
155
+ # @return [Google::Apis::StsV1::GoogleIdentityStsV1Jwks]
156
+ #
157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
160
+ def get_project_location_workload_identity_pool_openid_jwks(name, fields: nil, quota_user: nil, options: nil, &block)
161
+ command = make_simple_command(:get, 'v1/{+name}/openid/jwks', options)
162
+ command.response_representation = Google::Apis::StsV1::GoogleIdentityStsV1Jwks::Representation
163
+ command.response_class = Google::Apis::StsV1::GoogleIdentityStsV1Jwks
164
+ command.params['name'] = name unless name.nil?
165
+ command.query['fields'] = fields unless fields.nil?
166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
167
+ execute_or_queue_command(command, &block)
168
+ end
169
+
170
+ # Gets the OIDC provider configuration for an agentic or managed workload
171
+ # identity pool following [the OIDC 1.0 discovery specification](https://openid.
172
+ # net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationResponse).
173
+ # For now, only agentic system pools are supported.
174
+ # @param [String] name
175
+ # Required. The name of the pool whose OpenID provider configuration to retrieve.
176
+ # Format: 'organizations/`ORGANIZATION_NUMBER`/locations/global/
177
+ # workloadIdentityPools/`POOL_ID`' 'projects/`PROJECT_NUMBER`/locations/global/
178
+ # workloadIdentityPools/`POOL_ID`' Example: 'organizations/1234/locations/global/
179
+ # workloadIdentityPools/agents.global.org-1234.system.id.goog' 'projects/
180
+ # 12345678/locations/global/workloadIdentityPools/agents.global.proj-12345678.
181
+ # system.id.goog'
182
+ # @param [String] fields
183
+ # Selector specifying which fields to include in a partial response.
184
+ # @param [String] quota_user
185
+ # Available to use for quota purposes for server-side applications. Can be any
186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
187
+ # @param [Google::Apis::RequestOptions] options
188
+ # Request-specific options
189
+ #
190
+ # @yield [result, err] Result & error if block supplied
191
+ # @yieldparam result [Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig] parsed result object
192
+ # @yieldparam err [StandardError] error object if request failed
193
+ #
194
+ # @return [Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig]
195
+ #
196
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
197
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
198
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
199
+ def get_project_location_workload_identity_pool_well_known_openid_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
200
+ command = make_simple_command(:get, 'v1/{+name}/.well-known/openid-configuration', options)
201
+ command.response_representation = Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig::Representation
202
+ command.response_class = Google::Apis::StsV1::GoogleIdentityStsV1OpenIdProviderConfig
203
+ command.params['name'] = name unless name.nil?
204
+ command.query['fields'] = fields unless fields.nil?
205
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
206
+ execute_or_queue_command(command, &block)
207
+ end
208
+
55
209
  # Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
56
210
  # an external identity within an identity pool, or it applies a Credential
57
211
  # Access Boundary to a Google access token. Note that workforce pools do not
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sts_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sts_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.49.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sts_v1
62
62
  rdoc_options: []
63
63
  require_paths: