google-apis-cloudkms_v1 0.31.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: e1fdf4d9558668d37f14a8cfad77dffd8531eef068afd3efd5c2a21ec139a58e
4
- data.tar.gz: c6f2b69dba33c7f10078c75e490d13d92c970a5b19fef4d0d75b12395edd2265
3
+ metadata.gz: da091c12248f7c0987b1a1bab2e56b7ac78c71587a0eb869abf546c6d3c3e5b1
4
+ data.tar.gz: 7496bf3a8f3c78960d0074bef3a0d86bfa27efb9b994ac3061105a8b8820f228
5
5
  SHA512:
6
- metadata.gz: ed07f6ba33921ba17d63d1688ab31615ad5cd23b35ecdb8e41c998c61788891e92329c0d3776415353d9230a014b14d265805bce280f9f3e247886cbc427e5fd
7
- data.tar.gz: efb1164d543ee2aa5bbca1a2ee84b69e3057b968167433c554721b243256ed3cc67d9ffdf9f1241decface6baf4cf977a21495515af9a806e83dbd9700066145
6
+ metadata.gz: 68333e9cfa206867a3c2de56770620276e803b2ef6538cc33d76ef3cc4a0c38656908404d7dd88d7123a80e532c2ccd2bc4b45335fb8b93d3ef187c2920a313a
7
+ data.tar.gz: df42e1115293eb7a8f1362cc5c4cc185e6fb08f79943eeb9e25798452ef2955ea538491608173d275c0331cee8dcb0401cca1fe03dfa16ecb2bc8c4613fc17f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.31.0 (2022-09-02)
4
9
 
5
10
  * Regenerated from discovery document revision 20220826
@@ -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.31.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 = "20220826"
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.31.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-09-05 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.31.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: []