google-apis-cloudkms_v1 0.63.0 → 0.65.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa394ec120c846a71f94c112e39b1e150035888eabb47b0ede2aded639718271
|
|
4
|
+
data.tar.gz: 60ae318c9a40d1d06df2c8c817ae3d0ac7dc037c3b768913fba909d5913fdc38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 708cd8860531a455379cffb30fc3b2dd79fe9d669f110a0e076755db05711087ef9b56e864712bd1613047c68bb2b9f2763763b9f2ce6f4ce409f9966de3d330
|
|
7
|
+
data.tar.gz: 40a761fe50bd37120e8043d6c6adba1ab83fa56ff8c74bba6f0d39c044a28c68726deaf739c2b85eaec2bd8bde1df02b507ed67285dc85eafe359707d5e67699
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudkms_v1
|
|
2
2
|
|
|
3
|
+
### v0.65.0 (2025-12-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251201
|
|
6
|
+
|
|
7
|
+
### v0.64.0 (2025-11-02)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251023
|
|
10
|
+
|
|
3
11
|
### v0.63.0 (2025-10-05)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20250926
|
|
@@ -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.
|
|
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`
|
|
348
348
|
# Corresponds to the JSON property `name`
|
|
349
349
|
# @return [String]
|
|
350
350
|
attr_accessor :name
|
|
@@ -627,8 +627,11 @@ module Google
|
|
|
627
627
|
# for all CryptoKeyVersions associated with this CryptoKey reside and where all
|
|
628
628
|
# related cryptographic operations are performed. Only applicable if
|
|
629
629
|
# CryptoKeyVersions have a ProtectionLevel of EXTERNAL_VPC, with the resource
|
|
630
|
-
# name in the format `projects/*/locations/*/ekmConnections/*`.
|
|
631
|
-
#
|
|
630
|
+
# name in the format `projects/*/locations/*/ekmConnections/*`. Only applicable
|
|
631
|
+
# if CryptoKeyVersions have a ProtectionLevel of HSM_SINGLE_TENANT, with the
|
|
632
|
+
# resource name in the format `projects/*/locations/*/singleTenantHsmInstances/*`
|
|
633
|
+
# . Note, this list is non-exhaustive and may apply to additional
|
|
634
|
+
# ProtectionLevels in the future.
|
|
632
635
|
# Corresponds to the JSON property `cryptoKeyBackend`
|
|
633
636
|
# @return [String]
|
|
634
637
|
attr_accessor :crypto_key_backend
|
|
@@ -1621,6 +1624,15 @@ module Google
|
|
|
1621
1624
|
# @return [String]
|
|
1622
1625
|
attr_accessor :create_time
|
|
1623
1626
|
|
|
1627
|
+
# Immutable. The resource name of the backend environment where the key material
|
|
1628
|
+
# for the wrapping key resides and where all related cryptographic operations
|
|
1629
|
+
# are performed. Currently, this field is only populated for keys stored in
|
|
1630
|
+
# HSM_SINGLE_TENANT. Note, this list is non-exhaustive and may apply to
|
|
1631
|
+
# additional ProtectionLevels in the future.
|
|
1632
|
+
# Corresponds to the JSON property `cryptoKeyBackend`
|
|
1633
|
+
# @return [String]
|
|
1634
|
+
attr_accessor :crypto_key_backend
|
|
1635
|
+
|
|
1624
1636
|
# Output only. The time this ImportJob expired. Only present if state is EXPIRED.
|
|
1625
1637
|
# Corresponds to the JSON property `expireEventTime`
|
|
1626
1638
|
# @return [String]
|
|
@@ -1674,6 +1686,7 @@ module Google
|
|
|
1674
1686
|
def update!(**args)
|
|
1675
1687
|
@attestation = args[:attestation] if args.key?(:attestation)
|
|
1676
1688
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1689
|
+
@crypto_key_backend = args[:crypto_key_backend] if args.key?(:crypto_key_backend)
|
|
1677
1690
|
@expire_event_time = args[:expire_event_time] if args.key?(:expire_event_time)
|
|
1678
1691
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
1679
1692
|
@generate_time = args[:generate_time] if args.key?(:generate_time)
|
|
@@ -2146,6 +2159,13 @@ module Google
|
|
|
2146
2159
|
attr_accessor :hsm_available
|
|
2147
2160
|
alias_method :hsm_available?, :hsm_available
|
|
2148
2161
|
|
|
2162
|
+
# Indicates whether CryptoKeys with protection_level HSM_SINGLE_TENANT can be
|
|
2163
|
+
# created in this location.
|
|
2164
|
+
# Corresponds to the JSON property `hsmSingleTenantAvailable`
|
|
2165
|
+
# @return [Boolean]
|
|
2166
|
+
attr_accessor :hsm_single_tenant_available
|
|
2167
|
+
alias_method :hsm_single_tenant_available?, :hsm_single_tenant_available
|
|
2168
|
+
|
|
2149
2169
|
def initialize(**args)
|
|
2150
2170
|
update!(**args)
|
|
2151
2171
|
end
|
|
@@ -2154,6 +2174,7 @@ module Google
|
|
|
2154
2174
|
def update!(**args)
|
|
2155
2175
|
@ekm_available = args[:ekm_available] if args.key?(:ekm_available)
|
|
2156
2176
|
@hsm_available = args[:hsm_available] if args.key?(:hsm_available)
|
|
2177
|
+
@hsm_single_tenant_available = args[:hsm_single_tenant_available] if args.key?(:hsm_single_tenant_available)
|
|
2157
2178
|
end
|
|
2158
2179
|
end
|
|
2159
2180
|
|
|
@@ -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.65.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 = "20251201"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -741,6 +741,7 @@ module Google
|
|
|
741
741
|
property :attestation, as: 'attestation', class: Google::Apis::CloudkmsV1::KeyOperationAttestation, decorator: Google::Apis::CloudkmsV1::KeyOperationAttestation::Representation
|
|
742
742
|
|
|
743
743
|
property :create_time, as: 'createTime'
|
|
744
|
+
property :crypto_key_backend, as: 'cryptoKeyBackend'
|
|
744
745
|
property :expire_event_time, as: 'expireEventTime'
|
|
745
746
|
property :expire_time, as: 'expireTime'
|
|
746
747
|
property :generate_time, as: 'generateTime'
|
|
@@ -888,6 +889,7 @@ module Google
|
|
|
888
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
889
890
|
property :ekm_available, as: 'ekmAvailable'
|
|
890
891
|
property :hsm_available, as: 'hsmAvailable'
|
|
892
|
+
property :hsm_single_tenant_available, as: 'hsmSingleTenantAvailable'
|
|
891
893
|
end
|
|
892
894
|
end
|
|
893
895
|
|
|
@@ -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.
|
|
56
56
|
# @param [String] name
|
|
57
57
|
# Required. Name of the AutokeyConfig resource, e.g. `folders/`FOLDER_NUMBER`/
|
|
58
|
-
# autokeyConfig
|
|
58
|
+
# 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`
|
|
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,37 +262,6 @@ 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
|
-
|
|
296
265
|
# Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder,
|
|
297
266
|
# or project.
|
|
298
267
|
# @param [String] name
|
|
@@ -420,47 +389,6 @@ module Google
|
|
|
420
389
|
execute_or_queue_command(command, &block)
|
|
421
390
|
end
|
|
422
391
|
|
|
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
392
|
# Updates the KeyAccessJustificationsPolicyConfig for a given organization,
|
|
465
393
|
# folder, or project.
|
|
466
394
|
# @param [String] name
|
|
@@ -598,8 +526,8 @@ module Google
|
|
|
598
526
|
# @param [String] name
|
|
599
527
|
# The resource that owns the locations collection, if applicable.
|
|
600
528
|
# @param [Array<String>, String] extra_location_types
|
|
601
|
-
# Optional.
|
|
602
|
-
#
|
|
529
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
530
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
603
531
|
# @param [String] filter
|
|
604
532
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
605
533
|
# 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.65.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.65.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:
|