google-apis-cloudkms_v1 0.30.0 → 0.32.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: d19d0c2628f090cc3cf964e143d189696f0a27a9ff163bc2b53f55c6575335a3
4
- data.tar.gz: cec26b708264a20393eec784daa1cc2b19a302e3491fe252c63929de773ec681
3
+ metadata.gz: da091c12248f7c0987b1a1bab2e56b7ac78c71587a0eb869abf546c6d3c3e5b1
4
+ data.tar.gz: 7496bf3a8f3c78960d0074bef3a0d86bfa27efb9b994ac3061105a8b8820f228
5
5
  SHA512:
6
- metadata.gz: 44735e10c73e154dd785d4fcb68eea219980ad91b3a57442c51fa45c7f6c4d67854743ea1e485724d89526976870d84929b73ef998879fa1a8b3be8807107548
7
- data.tar.gz: 46857904135b039496a11eaba1b3615d9c3f0848bec26fe385e4e9a87a722b0f2499a9d206eb7b9a978c4ed4f941c771a2e63c205392c1c216f2a61656348839
6
+ metadata.gz: 68333e9cfa206867a3c2de56770620276e803b2ef6538cc33d76ef3cc4a0c38656908404d7dd88d7123a80e532c2ccd2bc4b45335fb8b93d3ef187c2920a313a
7
+ data.tar.gz: df42e1115293eb7a8f1362cc5c4cc185e6fb08f79943eeb9e25798452ef2955ea538491608173d275c0331cee8dcb0401cca1fe03dfa16ecb2bc8c4613fc17f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.32.0 (2022-09-22)
4
+
5
+ * Regenerated from discovery document revision 20220916
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.31.0 (2022-09-02)
9
+
10
+ * Regenerated from discovery document revision 20220826
11
+
3
12
  ### v0.30.0 (2022-08-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20220819
@@ -346,31 +346,33 @@ module Google
346
346
  # members` can have the following values: * `allUsers`: A special identifier
347
347
  # that represents anyone who is on the internet; with or without a Google
348
348
  # account. * `allAuthenticatedUsers`: A special identifier that represents
349
- # anyone who is authenticated with a Google account or a service account. * `
350
- # user:`emailid``: An email address that represents a specific Google account.
351
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
352
- # address that represents a Google service account. For example, `my-other-app@
353
- # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
354
- # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
355
- # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
356
- # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
357
- # . * `group:`emailid``: An email address that represents a Google group. For
358
- # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
359
- # email address (plus unique identifier) representing a user that has been
360
- # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
361
- # If the user is recovered, this value reverts to `user:`emailid`` and the
362
- # recovered user retains the role in the binding. * `deleted:serviceAccount:`
363
- # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
364
- # representing a service account that has been recently deleted. For example, `
365
- # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
366
- # service account is undeleted, this value reverts to `serviceAccount:`emailid``
367
- # and the undeleted service account retains the role in the binding. * `deleted:
368
- # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
369
- # representing a Google group that has been recently deleted. For example, `
370
- # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
371
- # value reverts to `group:`emailid`` and the recovered group retains the role in
372
- # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
373
- # all the users of that domain. For example, `google.com` or `example.com`.
349
+ # anyone who is authenticated with a Google account or a service account. Does
350
+ # not include identities that come from external identity providers (IdPs)
351
+ # through identity federation. * `user:`emailid``: An email address that
352
+ # represents a specific Google account. For example, `alice@example.com` . * `
353
+ # serviceAccount:`emailid``: An email address that represents a Google service
354
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
355
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
356
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
357
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
358
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
359
+ # email address that represents a Google group. For example, `admins@example.com`
360
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
361
+ # identifier) representing a user that has been recently deleted. For example, `
362
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
363
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
364
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
365
+ # address (plus unique identifier) representing a service account that has been
366
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
367
+ # 123456789012345678901`. If the service account is undeleted, this value
368
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
369
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
370
+ # An email address (plus unique identifier) representing a Google group that has
371
+ # been recently deleted. For example, `admins@example.com?uid=
372
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
373
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
374
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
375
+ # of that domain. For example, `google.com` or `example.com`.
374
376
  # Corresponds to the JSON property `members`
375
377
  # @return [Array<String>]
376
378
  attr_accessor :members
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudkmsV1
18
18
  # Version of the google-apis-cloudkms_v1 gem
19
- GEM_VERSION = "0.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220819"
25
+ REVISION = "20220916"
26
26
  end
27
27
  end
28
28
  end
@@ -158,6 +158,127 @@ module Google
158
158
  execute_or_queue_command(command, &block)
159
159
  end
160
160
 
161
+ # Gets the access control policy for a resource. Returns an empty policy if the
162
+ # resource exists and does not have a policy set.
163
+ # @param [String] resource
164
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
165
+ # names](https://cloud.google.com/apis/design/resource_names) for the
166
+ # appropriate value for this field.
167
+ # @param [Fixnum] options_requested_policy_version
168
+ # Optional. The maximum policy version that will be used to format the policy.
169
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
170
+ # rejected. Requests for policies with any conditional role bindings must
171
+ # specify version 3. Policies with no conditional role bindings may specify any
172
+ # valid value or leave the field unset. The policy in the response might use the
173
+ # policy version that you specified, or it might use a lower policy version. For
174
+ # example, if you specify version 3, but the policy has no conditional role
175
+ # bindings, the response uses version 1. To learn which resources support
176
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
177
+ # google.com/iam/help/conditions/resource-policies).
178
+ # @param [String] fields
179
+ # Selector specifying which fields to include in a partial response.
180
+ # @param [String] quota_user
181
+ # Available to use for quota purposes for server-side applications. Can be any
182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
+ # @param [Google::Apis::RequestOptions] options
184
+ # Request-specific options
185
+ #
186
+ # @yield [result, err] Result & error if block supplied
187
+ # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
188
+ # @yieldparam err [StandardError] error object if request failed
189
+ #
190
+ # @return [Google::Apis::CloudkmsV1::Policy]
191
+ #
192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
195
+ def get_project_location_ekm_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
196
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
197
+ command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
198
+ command.response_class = Google::Apis::CloudkmsV1::Policy
199
+ command.params['resource'] = resource unless resource.nil?
200
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
201
+ command.query['fields'] = fields unless fields.nil?
202
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
203
+ execute_or_queue_command(command, &block)
204
+ end
205
+
206
+ # Sets the access control policy on the specified resource. Replaces any
207
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
208
+ # PERMISSION_DENIED` errors.
209
+ # @param [String] resource
210
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
211
+ # names](https://cloud.google.com/apis/design/resource_names) for the
212
+ # appropriate value for this field.
213
+ # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object
214
+ # @param [String] fields
215
+ # Selector specifying which fields to include in a partial response.
216
+ # @param [String] quota_user
217
+ # Available to use for quota purposes for server-side applications. Can be any
218
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
219
+ # @param [Google::Apis::RequestOptions] options
220
+ # Request-specific options
221
+ #
222
+ # @yield [result, err] Result & error if block supplied
223
+ # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object
224
+ # @yieldparam err [StandardError] error object if request failed
225
+ #
226
+ # @return [Google::Apis::CloudkmsV1::Policy]
227
+ #
228
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
229
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
230
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
231
+ def set_ekm_config_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
232
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
233
+ command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation
234
+ command.request_object = set_iam_policy_request_object
235
+ command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation
236
+ command.response_class = Google::Apis::CloudkmsV1::Policy
237
+ command.params['resource'] = resource unless resource.nil?
238
+ command.query['fields'] = fields unless fields.nil?
239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
240
+ execute_or_queue_command(command, &block)
241
+ end
242
+
243
+ # Returns permissions that a caller has on the specified resource. If the
244
+ # resource does not exist, this will return an empty set of permissions, not a `
245
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
246
+ # permission-aware UIs and command-line tools, not for authorization checking.
247
+ # This operation may "fail open" without warning.
248
+ # @param [String] resource
249
+ # REQUIRED: The resource for which the policy detail is being requested. See [
250
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
251
+ # appropriate value for this field.
252
+ # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
253
+ # @param [String] fields
254
+ # Selector specifying which fields to include in a partial response.
255
+ # @param [String] quota_user
256
+ # Available to use for quota purposes for server-side applications. Can be any
257
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
258
+ # @param [Google::Apis::RequestOptions] options
259
+ # Request-specific options
260
+ #
261
+ # @yield [result, err] Result & error if block supplied
262
+ # @yieldparam result [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] parsed result object
263
+ # @yieldparam err [StandardError] error object if request failed
264
+ #
265
+ # @return [Google::Apis::CloudkmsV1::TestIamPermissionsResponse]
266
+ #
267
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
268
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
269
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
270
+ def test_ekm_config_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
271
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
272
+ command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation
273
+ command.request_object = test_iam_permissions_request_object
274
+ command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation
275
+ command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse
276
+ command.params['resource'] = resource unless resource.nil?
277
+ command.query['fields'] = fields unless fields.nil?
278
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
279
+ execute_or_queue_command(command, &block)
280
+ end
281
+
161
282
  # Creates a new EkmConnection in a given Project and Location.
162
283
  # @param [String] parent
163
284
  # Required. The resource name of the location associated with the EkmConnection,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.0
4
+ version: 0.32.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: 2022-08-29 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-cloudkms_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
63
63
  post_install_message:
64
64
  rdoc_options: []