google-apis-iamcredentials_v1 0.24.0 → 0.25.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ec18dc4fbbdd92ef990da1a033adf67ad7bb7abef3705754bfa231aa065ff0e
|
|
4
|
+
data.tar.gz: 13566deabc6feae7d14e50fd1f00054d6a1ab7551e4c414dbc36c7b8bf7c034b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48bf0303a34e96eb8d433d57220cdabcc7a4f8aa137eb323e1646cfa9210f2c48d8c281f95aaf9faf4f091de8804bb7e096b43b708bf8aa178ef79c281bb7135
|
|
7
|
+
data.tar.gz: 9759e217bef66d0a1a696f97efb884dd401bca82d5331d45283fdb67f76910902732407077c7c8977cd21f9115d9aff246c0e32dc4a10b952cccf31aa991b794
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-iamcredentials_v1
|
|
2
2
|
|
|
3
|
+
### v0.25.0 (2025-10-26)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251009
|
|
6
|
+
* Regenerated using generator version 0.18.0
|
|
7
|
+
|
|
3
8
|
### v0.24.0 (2025-05-04)
|
|
4
9
|
|
|
5
10
|
* Regenerated using generator version 0.17.0
|
|
@@ -173,32 +173,6 @@ 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
|
-
|
|
202
176
|
#
|
|
203
177
|
class SignBlobRequest
|
|
204
178
|
include Google::Apis::Core::Hashable
|
|
@@ -340,58 +314,6 @@ module Google
|
|
|
340
314
|
@signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
|
|
341
315
|
end
|
|
342
316
|
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
|
|
395
317
|
end
|
|
396
318
|
end
|
|
397
319
|
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.
|
|
19
|
+
GEM_VERSION = "0.25.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251009"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,12 +46,6 @@ 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
|
-
|
|
55
49
|
class SignBlobRequest
|
|
56
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
51
|
|
|
@@ -76,18 +70,6 @@ module Google
|
|
|
76
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
71
|
end
|
|
78
72
|
|
|
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
|
-
|
|
91
73
|
class GenerateAccessTokenRequest
|
|
92
74
|
# @private
|
|
93
75
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -122,14 +104,6 @@ module Google
|
|
|
122
104
|
end
|
|
123
105
|
end
|
|
124
106
|
|
|
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
|
-
|
|
133
107
|
class SignBlobRequest
|
|
134
108
|
# @private
|
|
135
109
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -161,22 +135,6 @@ module Google
|
|
|
161
135
|
property :signed_jwt, as: 'signedJwt'
|
|
162
136
|
end
|
|
163
137
|
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
|
|
180
138
|
end
|
|
181
139
|
end
|
|
182
140
|
end
|
|
@@ -53,66 +53,6 @@ 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.
|
|
59
|
-
# @param [String] fields
|
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
|
61
|
-
# @param [String] quota_user
|
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
|
65
|
-
# Request-specific options
|
|
66
|
-
#
|
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
|
68
|
-
# @yieldparam result [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations] parsed result object
|
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
70
|
-
#
|
|
71
|
-
# @return [Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations]
|
|
72
|
-
#
|
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
76
|
-
def get_location_workforce_pool_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
|
-
command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
|
|
78
|
-
command.response_representation = Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations::Representation
|
|
79
|
-
command.response_class = Google::Apis::IamcredentialsV1::WorkforcePoolAllowedLocations
|
|
80
|
-
command.params['name'] = name unless name.nil?
|
|
81
|
-
command.query['fields'] = fields unless fields.nil?
|
|
82
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
-
execute_or_queue_command(command, &block)
|
|
84
|
-
end
|
|
85
|
-
|
|
86
|
-
# Returns the trust boundary info for a given workload identity pool.
|
|
87
|
-
# @param [String] name
|
|
88
|
-
# Required. Resource name of workload identity pool.
|
|
89
|
-
# @param [String] fields
|
|
90
|
-
# Selector specifying which fields to include in a partial response.
|
|
91
|
-
# @param [String] quota_user
|
|
92
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
93
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
94
|
-
# @param [Google::Apis::RequestOptions] options
|
|
95
|
-
# Request-specific options
|
|
96
|
-
#
|
|
97
|
-
# @yield [result, err] Result & error if block supplied
|
|
98
|
-
# @yieldparam result [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations] parsed result object
|
|
99
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
100
|
-
#
|
|
101
|
-
# @return [Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations]
|
|
102
|
-
#
|
|
103
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
104
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
105
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
106
|
-
def get_project_location_workload_identity_pool_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
107
|
-
command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
|
|
108
|
-
command.response_representation = Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations::Representation
|
|
109
|
-
command.response_class = Google::Apis::IamcredentialsV1::WorkloadIdentityPoolAllowedLocations
|
|
110
|
-
command.params['name'] = name unless name.nil?
|
|
111
|
-
command.query['fields'] = fields unless fields.nil?
|
|
112
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
113
|
-
execute_or_queue_command(command, &block)
|
|
114
|
-
end
|
|
115
|
-
|
|
116
56
|
# Generates an OAuth 2.0 access token for a service account.
|
|
117
57
|
# @param [String] name
|
|
118
58
|
# Required. The resource name of the service account for which the credentials
|
|
@@ -185,36 +125,6 @@ module Google
|
|
|
185
125
|
execute_or_queue_command(command, &block)
|
|
186
126
|
end
|
|
187
127
|
|
|
188
|
-
# Returns the trust boundary info for a given service account.
|
|
189
|
-
# @param [String] name
|
|
190
|
-
# Required. Resource name of service account.
|
|
191
|
-
# @param [String] fields
|
|
192
|
-
# Selector specifying which fields to include in a partial response.
|
|
193
|
-
# @param [String] quota_user
|
|
194
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
195
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
196
|
-
# @param [Google::Apis::RequestOptions] options
|
|
197
|
-
# Request-specific options
|
|
198
|
-
#
|
|
199
|
-
# @yield [result, err] Result & error if block supplied
|
|
200
|
-
# @yieldparam result [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations] parsed result object
|
|
201
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
202
|
-
#
|
|
203
|
-
# @return [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations]
|
|
204
|
-
#
|
|
205
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
206
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
207
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
208
|
-
def get_project_service_account_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
209
|
-
command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
|
|
210
|
-
command.response_representation = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations::Representation
|
|
211
|
-
command.response_class = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations
|
|
212
|
-
command.params['name'] = name unless name.nil?
|
|
213
|
-
command.query['fields'] = fields unless fields.nil?
|
|
214
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
215
|
-
execute_or_queue_command(command, &block)
|
|
216
|
-
end
|
|
217
|
-
|
|
218
128
|
# Signs a blob using a service account's system-managed private key.
|
|
219
129
|
# @param [String] name
|
|
220
130
|
# 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.
|
|
4
|
+
version: 0.25.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.25.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:
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '0'
|
|
75
75
|
requirements: []
|
|
76
|
-
rubygems_version: 3.6.
|
|
76
|
+
rubygems_version: 3.6.9
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Simple REST client for IAM Service Account Credentials API V1
|
|
79
79
|
test_files: []
|