google-apis-cloudkms_v1 0.61.0 → 0.63.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/cloudkms_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudkms_v1/service.rb +88 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cc1f3cd4d0ba2c0a7cce225a211ba530b45d58e7145ce758c41b565dc005b08
|
4
|
+
data.tar.gz: 659130b1c3c5d682ff1a5b7cf54dca43048bc55a3d1d54626e46faf3b1fefdd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2096f9cfbfcaed6b0b5c3b3c3d14618c4d623ee593d6d3cec25c3f5a878d87cdef19897206c9cb8c7d65bb2922abea8098148df2c853d15af4ad0daea41b997
|
7
|
+
data.tar.gz: 1d34e2f3fedbf5320a8bbd9a4d05e2739248a61ce7324138baa76f082da3f9a2f858cd68755b7884468e6d33bb24de799893960147dc0c32cd9ffb03cdf9d15b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudkms_v1
|
2
2
|
|
3
|
+
### v0.63.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250926
|
6
|
+
|
7
|
+
### v0.62.0 (2025-09-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250911
|
10
|
+
|
3
11
|
### v0.61.0 (2025-08-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250818
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.63.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 = "
|
25
|
+
REVISION = "20250926"
|
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
|
@@ -83,8 +83,8 @@ module Google
|
|
83
83
|
execute_or_queue_command(command, &block)
|
84
84
|
end
|
85
85
|
|
86
|
-
# Gets the KeyAccessJustificationsPolicyConfig for a given organization
|
87
|
-
#
|
86
|
+
# Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
|
87
|
+
# or project.
|
88
88
|
# @param [String] name
|
89
89
|
# Required. The name of the KeyAccessJustificationsPolicyConfig to get.
|
90
90
|
# @param [String] fields
|
@@ -155,8 +155,8 @@ module Google
|
|
155
155
|
execute_or_queue_command(command, &block)
|
156
156
|
end
|
157
157
|
|
158
|
-
# Updates the KeyAccessJustificationsPolicyConfig for a given organization
|
159
|
-
# folder
|
158
|
+
# Updates the KeyAccessJustificationsPolicyConfig for a given organization,
|
159
|
+
# folder, or project.
|
160
160
|
# @param [String] name
|
161
161
|
# Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
|
162
162
|
# the format of "`organizations|folders|projects`/*/kajPolicyConfig".
|
@@ -193,8 +193,8 @@ module Google
|
|
193
193
|
execute_or_queue_command(command, &block)
|
194
194
|
end
|
195
195
|
|
196
|
-
# Gets the KeyAccessJustificationsPolicyConfig for a given organization
|
197
|
-
#
|
196
|
+
# Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
|
197
|
+
# or project.
|
198
198
|
# @param [String] name
|
199
199
|
# Required. The name of the KeyAccessJustificationsPolicyConfig to get.
|
200
200
|
# @param [String] fields
|
@@ -224,8 +224,8 @@ module Google
|
|
224
224
|
execute_or_queue_command(command, &block)
|
225
225
|
end
|
226
226
|
|
227
|
-
# Updates the KeyAccessJustificationsPolicyConfig for a given organization
|
228
|
-
# folder
|
227
|
+
# Updates the KeyAccessJustificationsPolicyConfig for a given organization,
|
228
|
+
# folder, or project.
|
229
229
|
# @param [String] name
|
230
230
|
# Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
|
231
231
|
# the format of "`organizations|folders|projects`/*/kajPolicyConfig".
|
@@ -262,8 +262,39 @@ module Google
|
|
262
262
|
execute_or_queue_command(command, &block)
|
263
263
|
end
|
264
264
|
|
265
|
-
#
|
266
|
-
#
|
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
|
+
|
296
|
+
# Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
|
297
|
+
# or project.
|
267
298
|
# @param [String] name
|
268
299
|
# Required. The name of the KeyAccessJustificationsPolicyConfig to get.
|
269
300
|
# @param [String] fields
|
@@ -389,8 +420,49 @@ module Google
|
|
389
420
|
execute_or_queue_command(command, &block)
|
390
421
|
end
|
391
422
|
|
392
|
-
# Updates the
|
393
|
-
# folder
|
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
|
+
|
464
|
+
# Updates the KeyAccessJustificationsPolicyConfig for a given organization,
|
465
|
+
# folder, or project.
|
394
466
|
# @param [String] name
|
395
467
|
# Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in
|
396
468
|
# the format of "`organizations|folders|projects`/*/kajPolicyConfig".
|
@@ -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.
|
530
|
-
#
|
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.
|
4
|
+
version: 0.63.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
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudkms_v1/v0.63.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:
|