google-apis-iamcredentials_v1 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdd84b2de8977896a6672171cbbd6bb84c9c642713f265751c9673fb41e2905b
|
4
|
+
data.tar.gz: '008ff901936ac3ba8aa249cd3c1f94a86d85d5ccce02d5df7dc86e6153c60594'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f50de013ead3c34d9003326e70370aaba8560e5e87e9e389e462cce749244b0e053de741829c6f4a286dc901f60948110ea25c5cd7c3d15116cf9d02f6ae10
|
7
|
+
data.tar.gz: f18299727d0d0fd112b3c103f4ff31609a46866ace4ed72912540170ab5675c44cd2569ba3e15a4252d34fe5fd17fa16bcdc6391f21963da2db1e93b7ecd9961
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-iamcredentials_v1
|
2
2
|
|
3
|
+
### v0.22.0 (2024-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241024
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.21.0 (2024-05-19)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.15.0
|
@@ -156,6 +156,32 @@ module Google
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
+
# Represents a list of allowed locations for given service account.
|
160
|
+
class ServiceAccountAllowedLocations
|
161
|
+
include Google::Apis::Core::Hashable
|
162
|
+
|
163
|
+
# Output only. The hex encoded bitmap of the trust boundary locations
|
164
|
+
# Corresponds to the JSON property `encodedLocations`
|
165
|
+
# @return [String]
|
166
|
+
attr_accessor :encoded_locations
|
167
|
+
|
168
|
+
# Output only. The human readable trust boundary locations. For example, ["us-
|
169
|
+
# central1", "europe-west1"]
|
170
|
+
# Corresponds to the JSON property `locations`
|
171
|
+
# @return [Array<String>]
|
172
|
+
attr_accessor :locations
|
173
|
+
|
174
|
+
def initialize(**args)
|
175
|
+
update!(**args)
|
176
|
+
end
|
177
|
+
|
178
|
+
# Update properties of this object
|
179
|
+
def update!(**args)
|
180
|
+
@encoded_locations = args[:encoded_locations] if args.key?(:encoded_locations)
|
181
|
+
@locations = args[:locations] if args.key?(:locations)
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
159
185
|
#
|
160
186
|
class SignBlobRequest
|
161
187
|
include Google::Apis::Core::Hashable
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241024"
|
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
|
|
@@ -103,6 +109,14 @@ module Google
|
|
103
109
|
end
|
104
110
|
end
|
105
111
|
|
112
|
+
class ServiceAccountAllowedLocations
|
113
|
+
# @private
|
114
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
115
|
+
property :encoded_locations, as: 'encodedLocations'
|
116
|
+
collection :locations, as: 'locations'
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
106
120
|
class SignBlobRequest
|
107
121
|
# @private
|
108
122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -125,6 +125,36 @@ module Google
|
|
125
125
|
execute_or_queue_command(command, &block)
|
126
126
|
end
|
127
127
|
|
128
|
+
# Returns the trust boundary info for a given service account.
|
129
|
+
# @param [String] name
|
130
|
+
# Required. Resource name of service account.
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def get_project_service_account_allowed_locations(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:get, 'v1/{+name}/allowedLocations', options)
|
150
|
+
command.response_representation = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations::Representation
|
151
|
+
command.response_class = Google::Apis::IamcredentialsV1::ServiceAccountAllowedLocations
|
152
|
+
command.params['name'] = name unless name.nil?
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
+
execute_or_queue_command(command, &block)
|
156
|
+
end
|
157
|
+
|
128
158
|
# Signs a blob using a service account's system-managed private key.
|
129
159
|
# @param [String] name
|
130
160
|
# Required. The resource name of the service account for which the credentials
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iamcredentials_v1/v0.22.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iamcredentials_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for IAM Service Account Credentials API V1
|