google-apis-cloudkms_v1 0.60.0 → 0.62.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: d88d548a35598e1bf54991b3b8e45cb5d1effcce6a484206865a11a551f807e7
4
- data.tar.gz: 6246c1512a05f2f1b3e22436feb6889081201ec56f91399761578cbe0471d0c4
3
+ metadata.gz: 363fdeefb0dd7459933e3a4fc9e5d1119bf9638f18200a1360b4c9d02c9ec773
4
+ data.tar.gz: f10604465c679fe6351a4d556ecff5f4a70b9d8db19bd3bd7d8224498fd06059
5
5
  SHA512:
6
- metadata.gz: 454b02cadccf26341ae6656b0e7798fded48889c79b441e4c4f3b63c9c48cef4fa7ec44293c512c07f86cecdbc30088c73f27a7cc5d2a8f4551c48746cbbc7f7
7
- data.tar.gz: 0b191bc027580a98a880255c86cfcb27113a6a5fd24f0eb5b76918ed8df044aea19793248ba6a62b9ce4b614906ef08be5b75ede127105c3d01e7f124dda1c38
6
+ metadata.gz: cb87be62bfad5f38e9ec0417785b3b94ffec5e481a2463780524c192d0f6c96770e0dc28f155653c2d52a8401f4c02e74fd30ac0e2fe29204b6e28655f1101b3
7
+ data.tar.gz: 803d3384a8c8cb6b97c292fd499dedb008a624fd4e81e0f6602ca5d41c8c08b0a8173daf6c486ae53d872ae0a39a8f4b2891bed7557c224c4f2d347d83cac7b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudkms_v1
2
2
 
3
+ ### v0.62.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250911
6
+
7
+ ### v0.61.0 (2025-08-24)
8
+
9
+ * Regenerated from discovery document revision 20250818
10
+
3
11
  ### v0.60.0 (2025-08-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20250731
@@ -319,7 +319,7 @@ module Google
319
319
  end
320
320
  end
321
321
 
322
- # Cloud KMS Autokey configuration for a folder.
322
+ # Cloud KMS Autokey configuration for a folder or project.
323
323
  class AutokeyConfig
324
324
  include Google::Apis::Core::Hashable
325
325
 
@@ -344,7 +344,7 @@ module Google
344
344
  attr_accessor :key_project
345
345
 
346
346
  # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
347
- # autokeyConfig`.
347
+ # autokeyConfig` `projects/`PROJECT_NUMBER`/autokeyConfig`.
348
348
  # Corresponds to the JSON property `name`
349
349
  # @return [String]
350
350
  attr_accessor :name
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250731"
25
+ REVISION = "20250911"
26
26
  end
27
27
  end
28
28
  end
@@ -52,10 +52,10 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
- # Returns the AutokeyConfig for a folder.
55
+ # Returns the AutokeyConfig for a folder or project.
56
56
  # @param [String] name
57
57
  # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
58
- # autokeyConfig`.
58
+ # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
59
59
  # @param [String] fields
60
60
  # Selector specifying which fields to include in a partial response.
61
61
  # @param [String] quota_user
@@ -121,7 +121,7 @@ module Google
121
121
  # determine where to create the resulting CryptoKey.
122
122
  # @param [String] name
123
123
  # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
124
- # autokeyConfig`.
124
+ # autokeyConfig` `projects/`PROJECT_NUMBER`/autokeyConfig`.
125
125
  # @param [Google::Apis::CloudkmsV1::AutokeyConfig] autokey_config_object
126
126
  # @param [String] update_mask
127
127
  # Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
@@ -262,6 +262,37 @@ module Google
262
262
  execute_or_queue_command(command, &block)
263
263
  end
264
264
 
265
+ # Returns the AutokeyConfig for a folder or project.
266
+ # @param [String] name
267
+ # Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
268
+ # autokeyConfig` or `projects/`PROJECT_NUMBER`/autokeyConfig`.
269
+ # @param [String] fields
270
+ # Selector specifying which fields to include in a partial response.
271
+ # @param [String] quota_user
272
+ # Available to use for quota purposes for server-side applications. Can be any
273
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
274
+ # @param [Google::Apis::RequestOptions] options
275
+ # Request-specific options
276
+ #
277
+ # @yield [result, err] Result & error if block supplied
278
+ # @yieldparam result [Google::Apis::CloudkmsV1::AutokeyConfig] parsed result object
279
+ # @yieldparam err [StandardError] error object if request failed
280
+ #
281
+ # @return [Google::Apis::CloudkmsV1::AutokeyConfig]
282
+ #
283
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
286
+ def get_project_autokey_config(name, fields: nil, quota_user: nil, options: nil, &block)
287
+ command = make_simple_command(:get, 'v1/{+name}', options)
288
+ command.response_representation = Google::Apis::CloudkmsV1::AutokeyConfig::Representation
289
+ command.response_class = Google::Apis::CloudkmsV1::AutokeyConfig
290
+ command.params['name'] = name unless name.nil?
291
+ command.query['fields'] = fields unless fields.nil?
292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
293
+ execute_or_queue_command(command, &block)
294
+ end
295
+
265
296
  # Gets the KeyAccessJustificationsPolicyConfig for a given organization/folder/
266
297
  # projects.
267
298
  # @param [String] name
@@ -389,6 +420,47 @@ module Google
389
420
  execute_or_queue_command(command, &block)
390
421
  end
391
422
 
423
+ # Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.
424
+ # autokeyConfigs.update` permission on the parent folder and `cloudkms.
425
+ # cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle
426
+ # creation in the folder's descendant projects will use this configuration to
427
+ # determine where to create the resulting CryptoKey.
428
+ # @param [String] name
429
+ # Identifier. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
430
+ # autokeyConfig` `projects/`PROJECT_NUMBER`/autokeyConfig`.
431
+ # @param [Google::Apis::CloudkmsV1::AutokeyConfig] autokey_config_object
432
+ # @param [String] update_mask
433
+ # Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
434
+ # @param [String] fields
435
+ # Selector specifying which fields to include in a partial response.
436
+ # @param [String] quota_user
437
+ # Available to use for quota purposes for server-side applications. Can be any
438
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
439
+ # @param [Google::Apis::RequestOptions] options
440
+ # Request-specific options
441
+ #
442
+ # @yield [result, err] Result & error if block supplied
443
+ # @yieldparam result [Google::Apis::CloudkmsV1::AutokeyConfig] parsed result object
444
+ # @yieldparam err [StandardError] error object if request failed
445
+ #
446
+ # @return [Google::Apis::CloudkmsV1::AutokeyConfig]
447
+ #
448
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
449
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
450
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
451
+ def update_project_autokey_config(name, autokey_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
452
+ command = make_simple_command(:patch, 'v1/{+name}', options)
453
+ command.request_representation = Google::Apis::CloudkmsV1::AutokeyConfig::Representation
454
+ command.request_object = autokey_config_object
455
+ command.response_representation = Google::Apis::CloudkmsV1::AutokeyConfig::Representation
456
+ command.response_class = Google::Apis::CloudkmsV1::AutokeyConfig
457
+ command.params['name'] = name unless name.nil?
458
+ command.query['updateMask'] = update_mask unless update_mask.nil?
459
+ command.query['fields'] = fields unless fields.nil?
460
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
461
+ execute_or_queue_command(command, &block)
462
+ end
463
+
392
464
  # Updates the KeyAccessJustificationsPolicyConfig for a given organization/
393
465
  # folder/projects.
394
466
  # @param [String] name
@@ -526,8 +598,8 @@ module Google
526
598
  # @param [String] name
527
599
  # The resource that owns the locations collection, if applicable.
528
600
  # @param [Array<String>, String] extra_location_types
529
- # Optional. A list of extra location types that should be used as conditions for
530
- # controlling the visibility of the locations.
601
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
602
+ # field which is primarily intended for internal usage.
531
603
  # @param [String] filter
532
604
  # A filter to narrow down results to a preferred subset. The filtering language
533
605
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudkms_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.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-cloudkms_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.60.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.62.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudkms_v1
62
62
  rdoc_options: []
63
63
  require_paths: