google-apis-iamcredentials_v1 0.25.0 → 0.27.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: 2ec18dc4fbbdd92ef990da1a033adf67ad7bb7abef3705754bfa231aa065ff0e
4
- data.tar.gz: 13566deabc6feae7d14e50fd1f00054d6a1ab7551e4c414dbc36c7b8bf7c034b
3
+ metadata.gz: 4ff6a6e929a522db7324e86593559652d4be85d2c20b0699ae1b782462f3485b
4
+ data.tar.gz: 16500ceb570f88cc237ef7939ab9ede3d50ef6ba9a0ad96b38d7843f9b459368
5
5
  SHA512:
6
- metadata.gz: 48bf0303a34e96eb8d433d57220cdabcc7a4f8aa137eb323e1646cfa9210f2c48d8c281f95aaf9faf4f091de8804bb7e096b43b708bf8aa178ef79c281bb7135
7
- data.tar.gz: 9759e217bef66d0a1a696f97efb884dd401bca82d5331d45283fdb67f76910902732407077c7c8977cd21f9115d9aff246c0e32dc4a10b952cccf31aa991b794
6
+ metadata.gz: 4be849ef50026d40716552ce1d423f51a642bc0eb0bfe0eeb26815561b62acdfc359412559fa88347793f5d23faa4bd5f3a42f680455c6cedd0f0bb9c4277fa6
7
+ data.tar.gz: 1ffa681dd867d961a63e812dce08b4c34b2907cab18d14acdf137b19871dfc8d361db1181dd7d2c05c46b12d031aff9e07b2f2eb283575107836f10b7e7ca615
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-iamcredentials_v1
2
2
 
3
+ ### v0.27.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260326
6
+
7
+ ### v0.26.0 (2025-11-09)
8
+
9
+ * Regenerated from discovery document revision 20251022
10
+
3
11
  ### v0.25.0 (2025-10-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20251009
@@ -173,6 +173,32 @@ module Google
173
173
  end
174
174
  end
175
175
 
176
+ # Represents a list of allowed locations for given service account.
177
+ class ServiceAccountAllowedLocations
178
+ include Google::Apis::Core::Hashable
179
+
180
+ # Output only. The hex encoded bitmap of the trust boundary locations
181
+ # Corresponds to the JSON property `encodedLocations`
182
+ # @return [String]
183
+ attr_accessor :encoded_locations
184
+
185
+ # Output only. The human readable trust boundary locations. For example, ["us-
186
+ # central1", "europe-west1"]
187
+ # Corresponds to the JSON property `locations`
188
+ # @return [Array<String>]
189
+ attr_accessor :locations
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @encoded_locations = args[:encoded_locations] if args.key?(:encoded_locations)
198
+ @locations = args[:locations] if args.key?(:locations)
199
+ end
200
+ end
201
+
176
202
  #
177
203
  class SignBlobRequest
178
204
  include Google::Apis::Core::Hashable
@@ -314,6 +340,58 @@ module Google
314
340
  @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
315
341
  end
316
342
  end
343
+
344
+ # Represents a list of allowed locations for given workforce pool.
345
+ class WorkforcePoolAllowedLocations
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # Output only. The hex encoded bitmap of the trust boundary locations
349
+ # Corresponds to the JSON property `encodedLocations`
350
+ # @return [String]
351
+ attr_accessor :encoded_locations
352
+
353
+ # Output only. The human readable trust boundary locations. For example, ["us-
354
+ # central1", "europe-west1"]
355
+ # Corresponds to the JSON property `locations`
356
+ # @return [Array<String>]
357
+ attr_accessor :locations
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @encoded_locations = args[:encoded_locations] if args.key?(:encoded_locations)
366
+ @locations = args[:locations] if args.key?(:locations)
367
+ end
368
+ end
369
+
370
+ # Represents a list of allowed locations for given workload identity pool.
371
+ class WorkloadIdentityPoolAllowedLocations
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # Output only. The hex encoded bitmap of the trust boundary locations
375
+ # Corresponds to the JSON property `encodedLocations`
376
+ # @return [String]
377
+ attr_accessor :encoded_locations
378
+
379
+ # Output only. The human readable trust boundary locations. For example, ["us-
380
+ # central1", "europe-west1"]
381
+ # Corresponds to the JSON property `locations`
382
+ # @return [Array<String>]
383
+ attr_accessor :locations
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @encoded_locations = args[:encoded_locations] if args.key?(:encoded_locations)
392
+ @locations = args[:locations] if args.key?(:locations)
393
+ end
394
+ end
317
395
  end
318
396
  end
319
397
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IamcredentialsV1
18
18
  # Version of the google-apis-iamcredentials_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251009"
25
+ REVISION = "20260326"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ServiceAccountAllowedLocations
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class SignBlobRequest
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -70,6 +76,18 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class WorkforcePoolAllowedLocations
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class WorkloadIdentityPoolAllowedLocations
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GenerateAccessTokenRequest
74
92
  # @private
75
93
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -104,6 +122,14 @@ module Google
104
122
  end
105
123
  end
106
124
 
125
+ class ServiceAccountAllowedLocations
126
+ # @private
127
+ class Representation < Google::Apis::Core::JsonRepresentation
128
+ property :encoded_locations, as: 'encodedLocations'
129
+ collection :locations, as: 'locations'
130
+ end
131
+ end
132
+
107
133
  class SignBlobRequest
108
134
  # @private
109
135
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -135,6 +161,22 @@ module Google
135
161
  property :signed_jwt, as: 'signedJwt'
136
162
  end
137
163
  end
164
+
165
+ class WorkforcePoolAllowedLocations
166
+ # @private
167
+ class Representation < Google::Apis::Core::JsonRepresentation
168
+ property :encoded_locations, as: 'encodedLocations'
169
+ collection :locations, as: 'locations'
170
+ end
171
+ end
172
+
173
+ class WorkloadIdentityPoolAllowedLocations
174
+ # @private
175
+ class Representation < Google::Apis::Core::JsonRepresentation
176
+ property :encoded_locations, as: 'encodedLocations'
177
+ collection :locations, as: 'locations'
178
+ end
179
+ end
138
180
  end
139
181
  end
140
182
  end
@@ -53,6 +53,68 @@ module Google
53
53
  @batch_path = 'batch'
54
54
  end
55
55
 
56
+ # Returns the trust boundary info for a given workforce pool.
57
+ # @param [String] name
58
+ # Required. Resource name of workforce pool. Format: `locations/global/
59
+ # workforcePools/`pool_id``
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def get_location_workforce_pool_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
79
+ command.response_representation = Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations::Representation
80
+ command.response_class = Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations
81
+ command.params['name'] = name unless name.nil?
82
+ command.query['fields'] = fields unless fields.nil?
83
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
84
+ execute_or_queue_command(command, &block)
85
+ end
86
+
87
+ # Returns the trust boundary info for a given workload identity pool.
88
+ # @param [String] name
89
+ # Required. Resource name of workload identity pool. Format: `projects/`
90
+ # project_number`/locations/global/workloadIdentityPools/`pool_id``
91
+ # @param [String] fields
92
+ # Selector specifying which fields to include in a partial response.
93
+ # @param [String] quota_user
94
+ # Available to use for quota purposes for server-side applications. Can be any
95
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
96
+ # @param [Google::Apis::RequestOptions] options
97
+ # Request-specific options
98
+ #
99
+ # @yield [result, err] Result & error if block supplied
100
+ # @yieldparam result [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations] parsed result object
101
+ # @yieldparam err [StandardError] error object if request failed
102
+ #
103
+ # @return [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations]
104
+ #
105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
108
+ def get_project_location_workload_identity_pool_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
109
+ command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
110
+ command.response_representation = Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations::Representation
111
+ command.response_class = Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations
112
+ command.params['name'] = name unless name.nil?
113
+ command.query['fields'] = fields unless fields.nil?
114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
115
+ execute_or_queue_command(command, &block)
116
+ end
117
+
56
118
  # Generates an OAuth 2.0 access token for a service account.
57
119
  # @param [String] name
58
120
  # Required. The resource name of the service account for which the credentials
@@ -125,6 +187,37 @@ module Google
125
187
  execute_or_queue_command(command, &block)
126
188
  end
127
189
 
190
+ # Returns the trust boundary info for a given service account.
191
+ # @param [String] name
192
+ # Required. Resource name of service account. Format: `projects/-/
193
+ # serviceAccounts/`service_account_email``
194
+ # @param [String] fields
195
+ # Selector specifying which fields to include in a partial response.
196
+ # @param [String] quota_user
197
+ # Available to use for quota purposes for server-side applications. Can be any
198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
199
+ # @param [Google::Apis::RequestOptions] options
200
+ # Request-specific options
201
+ #
202
+ # @yield [result, err] Result & error if block supplied
203
+ # @yieldparam result [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations] parsed result object
204
+ # @yieldparam err [StandardError] error object if request failed
205
+ #
206
+ # @return [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations]
207
+ #
208
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
209
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
210
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
211
+ def get_project_service_account_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
212
+ command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
213
+ command.response_representation = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations::Representation
214
+ command.response_class = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations
215
+ command.params['name'] = name unless name.nil?
216
+ command.query['fields'] = fields unless fields.nil?
217
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
218
+ execute_or_queue_command(command, &block)
219
+ end
220
+
128
221
  # Signs a blob using a service account's system-managed private key.
129
222
  # @param [String] name
130
223
  # Required. The resource name of the service account for which the credentials
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iamcredentials_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.27.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-iamcredentials_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.25.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.27.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iamcredentials_v1
62
62
  rdoc_options: []
63
63
  require_paths: