google-apis-iamcredentials_v1 0.22.0 → 0.23.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: c9f6457749e508a753af62dcca24be623ce617073dc88bbb5a315d941b78df35
|
4
|
+
data.tar.gz: 2c18b28e009585b9aa856cbd02d566c7fb4c3d5e790636a18c01d7a32b3465b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73b8b1a7a0ab0a45a05124265b35affe36e6b0c46ca6f3b1121b04983ace1482f8991a4404145b51fb3c7a66a65d60d9e10699738b64f2b1fbc380e87f38c75
|
7
|
+
data.tar.gz: 00d365ae7153517ffdfff005fc91b6b584ce7103851ce518d0c778f7a8f6db35858b9f1da5931f9c67ead0cb17f06e3c901c05bf6cd78aba4ca6592ad16c6af3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-iamcredentials_v1
|
2
2
|
|
3
|
+
### v0.23.0 (2025-04-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250417
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.22.0 (2024-11-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241024
|
@@ -125,6 +125,15 @@ module Google
|
|
125
125
|
attr_accessor :include_email
|
126
126
|
alias_method :include_email?, :include_email
|
127
127
|
|
128
|
+
# Include the organization number of the service account in the token. If set to
|
129
|
+
# `true`, the token will contain a `google.organization_number` claim. The value
|
130
|
+
# of the claim will be `null` if the service account isn't associated with an
|
131
|
+
# organization.
|
132
|
+
# Corresponds to the JSON property `organizationNumberIncluded`
|
133
|
+
# @return [Boolean]
|
134
|
+
attr_accessor :organization_number_included
|
135
|
+
alias_method :organization_number_included?, :organization_number_included
|
136
|
+
|
128
137
|
def initialize(**args)
|
129
138
|
update!(**args)
|
130
139
|
end
|
@@ -134,6 +143,7 @@ module Google
|
|
134
143
|
@audience = args[:audience] if args.key?(:audience)
|
135
144
|
@delegates = args[:delegates] if args.key?(:delegates)
|
136
145
|
@include_email = args[:include_email] if args.key?(:include_email)
|
146
|
+
@organization_number_included = args[:organization_number_included] if args.key?(:organization_number_included)
|
137
147
|
end
|
138
148
|
end
|
139
149
|
|
@@ -141,7 +151,14 @@ module Google
|
|
141
151
|
class GenerateIdTokenResponse
|
142
152
|
include Google::Apis::Core::Hashable
|
143
153
|
|
144
|
-
# The OpenId Connect ID token.
|
154
|
+
# The OpenId Connect ID token. The token is a JSON Web Token (JWT) that contains
|
155
|
+
# a payload with claims. See the [JSON Web Token spec](https://tools.ietf.org/
|
156
|
+
# html/rfc7519) for more information. Here is an example of a decoded JWT
|
157
|
+
# payload: ``` ` "iss": "https://accounts.google.com", "iat": 1496953245, "exp":
|
158
|
+
# 1496953245, "aud": "https://www.example.com", "sub": "107517467455664443765", "
|
159
|
+
# azp": "107517467455664443765", "email": "my-iam-account@my-project.iam.
|
160
|
+
# gserviceaccount.com", "email_verified": true, "google": ` "organization_number"
|
161
|
+
# : 123456 ` ` ```
|
145
162
|
# Corresponds to the JSON property `token`
|
146
163
|
# @return [String]
|
147
164
|
attr_accessor :token
|
@@ -323,6 +340,58 @@ module Google
|
|
323
340
|
@signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
|
324
341
|
end
|
325
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
|
326
395
|
end
|
327
396
|
end
|
328
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.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250417"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,18 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
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
|
+
|
79
91
|
class GenerateAccessTokenRequest
|
80
92
|
# @private
|
81
93
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -99,6 +111,7 @@ module Google
|
|
99
111
|
property :audience, as: 'audience'
|
100
112
|
collection :delegates, as: 'delegates'
|
101
113
|
property :include_email, as: 'includeEmail'
|
114
|
+
property :organization_number_included, as: 'organizationNumberIncluded'
|
102
115
|
end
|
103
116
|
end
|
104
117
|
|
@@ -148,6 +161,22 @@ module Google
|
|
148
161
|
property :signed_jwt, as: 'signedJwt'
|
149
162
|
end
|
150
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
|
151
180
|
end
|
152
181
|
end
|
153
182
|
end
|
@@ -53,6 +53,66 @@ 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
|
+
|
56
116
|
# Generates an OAuth 2.0 access token for a service account.
|
57
117
|
# @param [String] name
|
58
118
|
# Required. The resource name of the service account for which the credentials
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iamcredentials_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.23.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iamcredentials_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for IAM Service Account Credentials API V1
|
82
79
|
test_files: []
|