google-cloud-kms-v1 1.0.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/kms/v1/autokey/client.rb +24 -6
- data/lib/google/cloud/kms/v1/autokey/rest/client.rb +24 -6
- data/lib/google/cloud/kms/v1/autokey/rest.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin/client.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin/rest/client.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin/rest.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin_pb.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_admin_services_pb.rb +2 -1
- data/lib/google/cloud/kms/v1/autokey_pb.rb +1 -1
- data/lib/google/cloud/kms/v1/autokey_services_pb.rb +2 -1
- data/lib/google/cloud/kms/v1/ekm_service_pb.rb +1 -1
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/cloud/kms/v1/autokey.rb +19 -0
- data/proto_docs/google/cloud/kms/v1/autokey_admin.rb +20 -0
- data/proto_docs/google/cloud/kms/v1/ekm_service.rb +1 -1
- data/proto_docs/google/cloud/kms/v1/resources.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78acc68f70663d49c3d27e38630b2e20c11d23f48d0e254de5bf6e5100c5c630
|
4
|
+
data.tar.gz: a694dc751a3e09c44f84040c47454cc90fb3d25e5172d278f713dee04cdfc8cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6cdacbf9544bc9bb6873a66950854f30e8285d701bb37df779ef42babbd0bb9ecc017031c65c2cfa9052d59781807d53b9e19f2b0b3c8994d6fab6bc13aff5a
|
7
|
+
data.tar.gz: 03d50497bc302e8dc379dd6487c1b8a55f38c7824d590b6c644687284ac0580363b27ad2da65369a09ba012f418b3bd9c54ea4c81cac42d5cc164450270be405
|
@@ -29,7 +29,8 @@ module Google
|
|
29
29
|
##
|
30
30
|
# Client for the Autokey service.
|
31
31
|
#
|
32
|
-
# Provides interfaces for using Cloud KMS
|
32
|
+
# Provides interfaces for using [Cloud KMS
|
33
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) to provision new
|
33
34
|
# {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}, ready for Customer Managed
|
34
35
|
# Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
|
35
36
|
# feature is modeled around a {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}
|
@@ -444,7 +445,7 @@ module Google
|
|
444
445
|
# @param options [::Gapic::CallOptions, ::Hash]
|
445
446
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
446
447
|
#
|
447
|
-
# @overload list_key_handles(parent: nil, filter: nil)
|
448
|
+
# @overload list_key_handles(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
448
449
|
# Pass arguments to `list_key_handles` via keyword arguments. Note that at
|
449
450
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
450
451
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -453,16 +454,28 @@ module Google
|
|
453
454
|
# Required. Name of the resource project and location from which to list
|
454
455
|
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
|
455
456
|
# `projects/{PROJECT_ID}/locations/{LOCATION}`.
|
457
|
+
# @param page_size [::Integer]
|
458
|
+
# Optional. Optional limit on the number of
|
459
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} to include in the response. The
|
460
|
+
# service may return fewer than this value. Further
|
461
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} can subsequently be obtained by
|
462
|
+
# including the
|
463
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}
|
464
|
+
# in a subsequent request. If unspecified, at most 100
|
465
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} will be returned.
|
466
|
+
# @param page_token [::String]
|
467
|
+
# Optional. Optional pagination token, returned earlier via
|
468
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}.
|
456
469
|
# @param filter [::String]
|
457
470
|
# Optional. Filter to apply when listing
|
458
471
|
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
|
459
472
|
# `resource_type_selector="{SERVICE}.googleapis.com/{TYPE}"`.
|
460
473
|
#
|
461
474
|
# @yield [response, operation] Access the result along with the RPC operation
|
462
|
-
# @yieldparam response [::Google::Cloud::Kms::V1::
|
475
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Kms::V1::KeyHandle>]
|
463
476
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
464
477
|
#
|
465
|
-
# @return [::Google::Cloud::Kms::V1::
|
478
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::Kms::V1::KeyHandle>]
|
466
479
|
#
|
467
480
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
468
481
|
#
|
@@ -478,8 +491,12 @@ module Google
|
|
478
491
|
# # Call the list_key_handles method.
|
479
492
|
# result = client.list_key_handles request
|
480
493
|
#
|
481
|
-
# # The returned object is of type
|
482
|
-
#
|
494
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
495
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
496
|
+
# result.each do |item|
|
497
|
+
# # Each element is of type ::Google::Cloud::Kms::V1::KeyHandle.
|
498
|
+
# p item
|
499
|
+
# end
|
483
500
|
#
|
484
501
|
def list_key_handles request, options = nil
|
485
502
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
@@ -516,6 +533,7 @@ module Google
|
|
516
533
|
retry_policy: @config.retry_policy
|
517
534
|
|
518
535
|
@autokey_stub.call_rpc :list_key_handles, request, options: options do |response, operation|
|
536
|
+
response = ::Gapic::PagedEnumerable.new @autokey_stub, :list_key_handles, request, response, operation, options
|
519
537
|
yield response, operation if block_given?
|
520
538
|
return response
|
521
539
|
end
|
@@ -31,7 +31,8 @@ module Google
|
|
31
31
|
##
|
32
32
|
# REST client for the Autokey service.
|
33
33
|
#
|
34
|
-
# Provides interfaces for using Cloud KMS
|
34
|
+
# Provides interfaces for using [Cloud KMS
|
35
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) to provision new
|
35
36
|
# {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}, ready for Customer Managed
|
36
37
|
# Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
|
37
38
|
# feature is modeled around a {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}
|
@@ -425,7 +426,7 @@ module Google
|
|
425
426
|
# @param options [::Gapic::CallOptions, ::Hash]
|
426
427
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
427
428
|
#
|
428
|
-
# @overload list_key_handles(parent: nil, filter: nil)
|
429
|
+
# @overload list_key_handles(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
429
430
|
# Pass arguments to `list_key_handles` via keyword arguments. Note that at
|
430
431
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
431
432
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -434,15 +435,27 @@ module Google
|
|
434
435
|
# Required. Name of the resource project and location from which to list
|
435
436
|
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
|
436
437
|
# `projects/{PROJECT_ID}/locations/{LOCATION}`.
|
438
|
+
# @param page_size [::Integer]
|
439
|
+
# Optional. Optional limit on the number of
|
440
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} to include in the response. The
|
441
|
+
# service may return fewer than this value. Further
|
442
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} can subsequently be obtained by
|
443
|
+
# including the
|
444
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}
|
445
|
+
# in a subsequent request. If unspecified, at most 100
|
446
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} will be returned.
|
447
|
+
# @param page_token [::String]
|
448
|
+
# Optional. Optional pagination token, returned earlier via
|
449
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}.
|
437
450
|
# @param filter [::String]
|
438
451
|
# Optional. Filter to apply when listing
|
439
452
|
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
|
440
453
|
# `resource_type_selector="{SERVICE}.googleapis.com/{TYPE}"`.
|
441
454
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
442
|
-
# @yieldparam result [::Google::Cloud::Kms::V1::
|
455
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Kms::V1::KeyHandle>]
|
443
456
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
444
457
|
#
|
445
|
-
# @return [::Google::Cloud::Kms::V1::
|
458
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Kms::V1::KeyHandle>]
|
446
459
|
#
|
447
460
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
448
461
|
#
|
@@ -458,8 +471,12 @@ module Google
|
|
458
471
|
# # Call the list_key_handles method.
|
459
472
|
# result = client.list_key_handles request
|
460
473
|
#
|
461
|
-
# # The returned object is of type
|
462
|
-
#
|
474
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
475
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
476
|
+
# result.each do |item|
|
477
|
+
# # Each element is of type ::Google::Cloud::Kms::V1::KeyHandle.
|
478
|
+
# p item
|
479
|
+
# end
|
463
480
|
#
|
464
481
|
def list_key_handles request, options = nil
|
465
482
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
@@ -490,6 +507,7 @@ module Google
|
|
490
507
|
retry_policy: @config.retry_policy
|
491
508
|
|
492
509
|
@autokey_stub.list_key_handles request, options do |result, operation|
|
510
|
+
result = ::Gapic::Rest::PagedEnumerable.new @autokey_stub, :list_key_handles, "key_handles", request, result, options
|
493
511
|
yield result, operation if block_given?
|
494
512
|
return result
|
495
513
|
end
|
@@ -33,7 +33,8 @@ module Google
|
|
33
33
|
module Kms
|
34
34
|
module V1
|
35
35
|
##
|
36
|
-
# Provides interfaces for using Cloud KMS
|
36
|
+
# Provides interfaces for using [Cloud KMS
|
37
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) to provision new
|
37
38
|
# {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}, ready for Customer Managed
|
38
39
|
# Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
|
39
40
|
# feature is modeled around a {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}
|
@@ -33,7 +33,8 @@ module Google
|
|
33
33
|
module Kms
|
34
34
|
module V1
|
35
35
|
##
|
36
|
-
# Provides interfaces for using Cloud KMS
|
36
|
+
# Provides interfaces for using [Cloud KMS
|
37
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) to provision new
|
37
38
|
# {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}, ready for Customer Managed
|
38
39
|
# Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
|
39
40
|
# feature is modeled around a {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}
|
@@ -29,7 +29,8 @@ module Google
|
|
29
29
|
##
|
30
30
|
# Client for the AutokeyAdmin service.
|
31
31
|
#
|
32
|
-
# Provides interfaces for managing Cloud KMS
|
32
|
+
# Provides interfaces for managing [Cloud KMS
|
33
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) folder-level
|
33
34
|
# configurations. A configuration is inherited by all descendent projects. A
|
34
35
|
# configuration at one folder overrides any other configurations in its
|
35
36
|
# ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
|
@@ -31,7 +31,8 @@ module Google
|
|
31
31
|
##
|
32
32
|
# REST client for the AutokeyAdmin service.
|
33
33
|
#
|
34
|
-
# Provides interfaces for managing Cloud KMS
|
34
|
+
# Provides interfaces for managing [Cloud KMS
|
35
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) folder-level
|
35
36
|
# configurations. A configuration is inherited by all descendent projects. A
|
36
37
|
# configuration at one folder overrides any other configurations in its
|
37
38
|
# ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
|
@@ -32,7 +32,8 @@ module Google
|
|
32
32
|
module Kms
|
33
33
|
module V1
|
34
34
|
##
|
35
|
-
# Provides interfaces for managing Cloud KMS
|
35
|
+
# Provides interfaces for managing [Cloud KMS
|
36
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) folder-level
|
36
37
|
# configurations. A configuration is inherited by all descendent projects. A
|
37
38
|
# configuration at one folder overrides any other configurations in its
|
38
39
|
# ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
|
@@ -32,7 +32,8 @@ module Google
|
|
32
32
|
module Kms
|
33
33
|
module V1
|
34
34
|
##
|
35
|
-
# Provides interfaces for managing Cloud KMS
|
35
|
+
# Provides interfaces for managing [Cloud KMS
|
36
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) folder-level
|
36
37
|
# configurations. A configuration is inherited by all descendent projects. A
|
37
38
|
# configuration at one folder overrides any other configurations in its
|
38
39
|
# ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
|
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
|
|
11
11
|
require 'google/protobuf/field_mask_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n\'google/cloud/kms/v1/autokey_admin.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x93\x01\n\x1aUpdateAutokeyConfigRequest\x12?\n\x0e\x61utokey_config\x18\x01 \x01(\x0b\x32\".google.cloud.kms.v1.AutokeyConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"V\n\x17GetAutokeyConfigRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudkms.googleapis.com/AutokeyConfig\"\
|
14
|
+
descriptor_data = "\n\'google/cloud/kms/v1/autokey_admin.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"\x93\x01\n\x1aUpdateAutokeyConfigRequest\x12?\n\x0e\x61utokey_config\x18\x01 \x01(\x0b\x32\".google.cloud.kms.v1.AutokeyConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"V\n\x17GetAutokeyConfigRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudkms.googleapis.com/AutokeyConfig\"\xbd\x02\n\rAutokeyConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0bkey_project\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12<\n\x05state\x18\x04 \x01(\x0e\x32(.google.cloud.kms.v1.AutokeyConfig.StateB\x03\xe0\x41\x03\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x17\n\x13KEY_PROJECT_DELETED\x10\x02\x12\x11\n\rUNINITIALIZED\x10\x03:i\xea\x41\x66\n%cloudkms.googleapis.com/AutokeyConfig\x12\x1e\x66olders/{folder}/autokeyConfig*\x0e\x61utokeyConfigs2\rautokeyConfig\"h\n!ShowEffectiveAutokeyConfigRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\"9\n\"ShowEffectiveAutokeyConfigResponse\x12\x13\n\x0bkey_project\x18\x01 \x01(\t2\xc8\x05\n\x0c\x41utokeyAdmin\x12\xd2\x01\n\x13UpdateAutokeyConfig\x12/.google.cloud.kms.v1.UpdateAutokeyConfigRequest\x1a\".google.cloud.kms.v1.AutokeyConfig\"f\xda\x41\x1a\x61utokey_config,update_mask\x82\xd3\xe4\x93\x02\x43\x32\x31/v1/{autokey_config.name=folders/*/autokeyConfig}:\x0e\x61utokey_config\x12\x97\x01\n\x10GetAutokeyConfig\x12,.google.cloud.kms.v1.GetAutokeyConfigRequest\x1a\".google.cloud.kms.v1.AutokeyConfig\"1\xda\x41\x04name\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=folders/*/autokeyConfig}\x12\xd2\x01\n\x1aShowEffectiveAutokeyConfig\x12\x36.google.cloud.kms.v1.ShowEffectiveAutokeyConfigRequest\x1a\x37.google.cloud.kms.v1.ShowEffectiveAutokeyConfigResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*}:showEffectiveAutokeyConfig\x1at\xca\x41\x17\x63loudkms.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloudkmsBY\n\x17\x63om.google.cloud.kms.v1B\x11\x41utokeyAdminProtoP\x01Z)cloud.google.com/go/kms/apiv1/kmspb;kmspbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -45,6 +45,7 @@ module Google
|
|
45
45
|
UpdateAutokeyConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.UpdateAutokeyConfigRequest").msgclass
|
46
46
|
GetAutokeyConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.GetAutokeyConfigRequest").msgclass
|
47
47
|
AutokeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AutokeyConfig").msgclass
|
48
|
+
AutokeyConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.AutokeyConfig.State").enummodule
|
48
49
|
ShowEffectiveAutokeyConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ShowEffectiveAutokeyConfigRequest").msgclass
|
49
50
|
ShowEffectiveAutokeyConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.kms.v1.ShowEffectiveAutokeyConfigResponse").msgclass
|
50
51
|
end
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
module Kms
|
25
25
|
module V1
|
26
26
|
module AutokeyAdmin
|
27
|
-
# Provides interfaces for managing Cloud KMS
|
27
|
+
# Provides interfaces for managing [Cloud KMS
|
28
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) folder-level
|
28
29
|
# configurations. A configuration is inherited by all descendent projects. A
|
29
30
|
# configuration at one folder overrides any other configurations in its
|
30
31
|
# ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS
|
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
|
|
11
11
|
require 'google/longrunning/operations_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n!google/cloud/kms/v1/autokey.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"\xa8\x01\n\x16\x43reateKeyHandleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\rkey_handle_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x37\n\nkey_handle\x18\x03 \x01(\x0b\x32\x1e.google.cloud.kms.v1.KeyHandleB\x03\xe0\x41\x02\"N\n\x13GetKeyHandleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudkms.googleapis.com/KeyHandle\"\xff\x01\n\tKeyHandle\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12:\n\x07kms_key\x18\x03 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12#\n\x16resource_type_selector\x18\x04 \x01(\tB\x03\xe0\x41\x02:~\xea\x41{\n!cloudkms.googleapis.com/KeyHandle\x12?projects/{project}/locations/{location}/keyHandles/{key_handle}*\nkeyHandles2\tkeyHandle\"\x19\n\x17\x43reateKeyHandleMetadata\"
|
14
|
+
descriptor_data = "\n!google/cloud/kms/v1/autokey.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"\xa8\x01\n\x16\x43reateKeyHandleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1a\n\rkey_handle_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x37\n\nkey_handle\x18\x03 \x01(\x0b\x32\x1e.google.cloud.kms.v1.KeyHandleB\x03\xe0\x41\x02\"N\n\x13GetKeyHandleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudkms.googleapis.com/KeyHandle\"\xff\x01\n\tKeyHandle\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12:\n\x07kms_key\x18\x03 \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12#\n\x16resource_type_selector\x18\x04 \x01(\tB\x03\xe0\x41\x02:~\xea\x41{\n!cloudkms.googleapis.com/KeyHandle\x12?projects/{project}/locations/{location}/keyHandles/{key_handle}*\nkeyHandles2\tkeyHandle\"\x19\n\x17\x43reateKeyHandleMetadata\"\x98\x01\n\x15ListKeyHandlesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"f\n\x16ListKeyHandlesResponse\x12\x33\n\x0bkey_handles\x18\x01 \x03(\x0b\x32\x1e.google.cloud.kms.v1.KeyHandle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb4\x05\n\x07\x41utokey\x12\xeb\x01\n\x0f\x43reateKeyHandle\x12+.google.cloud.kms.v1.CreateKeyHandleRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\xca\x41$\n\tKeyHandle\x12\x17\x43reateKeyHandleMetadata\xda\x41\x1fparent,key_handle,key_handle_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/keyHandles:\nkey_handle\x12\x97\x01\n\x0cGetKeyHandle\x12(.google.cloud.kms.v1.GetKeyHandleRequest\x1a\x1e.google.cloud.kms.v1.KeyHandle\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/keyHandles/*}\x12\xaa\x01\n\x0eListKeyHandles\x12*.google.cloud.kms.v1.ListKeyHandlesRequest\x1a+.google.cloud.kms.v1.ListKeyHandlesResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/keyHandles\x1at\xca\x41\x17\x63loudkms.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloudkmsBT\n\x17\x63om.google.cloud.kms.v1B\x0c\x41utokeyProtoP\x01Z)cloud.google.com/go/kms/apiv1/kmspb;kmspbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -24,7 +24,8 @@ module Google
|
|
24
24
|
module Kms
|
25
25
|
module V1
|
26
26
|
module Autokey
|
27
|
-
# Provides interfaces for using Cloud KMS
|
27
|
+
# Provides interfaces for using [Cloud KMS
|
28
|
+
# Autokey](https://cloud.google.com/kms/help/autokey) to provision new
|
28
29
|
# [CryptoKeys][google.cloud.kms.v1.CryptoKey], ready for Customer Managed
|
29
30
|
# Encryption Key (CMEK) use, on-demand. To support certain client tooling, this
|
30
31
|
# feature is modeled around a [KeyHandle][google.cloud.kms.v1.KeyHandle]
|
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n%google/cloud/kms/v1/ekm_service.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x01\n\x19ListEkmConnectionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x86\x01\n\x1aListEkmConnectionsResponse\x12;\n\x0f\x65km_connections\x18\x01 \x03(\x0b\x32\".google.cloud.kms.v1.EkmConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"V\n\x17GetEkmConnectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudkms.googleapis.com/EkmConnection\"\xb8\x01\n\x1a\x43reateEkmConnectionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1e\n\x11\x65km_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x0e\x65km_connection\x18\x03 \x01(\x0b\x32\".google.cloud.kms.v1.EkmConnectionB\x03\xe0\x41\x02\"\x93\x01\n\x1aUpdateEkmConnectionRequest\x12?\n\x0e\x65km_connection\x18\x01 \x01(\x0b\x32\".google.cloud.kms.v1.EkmConnectionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x13GetEkmConfigRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudkms.googleapis.com/EkmConfig\"\x87\x01\n\x16UpdateEkmConfigRequest\x12\x37\n\nekm_config\x18\x01 \x01(\x0b\x32\x1e.google.cloud.kms.v1.EkmConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xbf\x02\n\x0b\x43\x65rtificate\x12\x14\n\x07raw_der\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x13\n\x06parsed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x13\n\x06issuer\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07subject\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12*\n\x1dsubject_alternative_dns_names\x18\x05 \x03(\tB\x03\xe0\x41\x03\x12\x38\n\x0fnot_before_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0enot_after_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rserial_number\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12sha256_fingerprint\x18\t \x01(\tB\x03\xe0\x41\x03\"\
|
15
|
+
descriptor_data = "\n%google/cloud/kms/v1/ekm_service.proto\x12\x13google.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x01\n\x19ListEkmConnectionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x86\x01\n\x1aListEkmConnectionsResponse\x12;\n\x0f\x65km_connections\x18\x01 \x03(\x0b\x32\".google.cloud.kms.v1.EkmConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"V\n\x17GetEkmConnectionRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudkms.googleapis.com/EkmConnection\"\xb8\x01\n\x1a\x43reateEkmConnectionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1e\n\x11\x65km_connection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x0e\x65km_connection\x18\x03 \x01(\x0b\x32\".google.cloud.kms.v1.EkmConnectionB\x03\xe0\x41\x02\"\x93\x01\n\x1aUpdateEkmConnectionRequest\x12?\n\x0e\x65km_connection\x18\x01 \x01(\x0b\x32\".google.cloud.kms.v1.EkmConnectionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x13GetEkmConfigRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!cloudkms.googleapis.com/EkmConfig\"\x87\x01\n\x16UpdateEkmConfigRequest\x12\x37\n\nekm_config\x18\x01 \x01(\x0b\x32\x1e.google.cloud.kms.v1.EkmConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xbf\x02\n\x0b\x43\x65rtificate\x12\x14\n\x07raw_der\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x13\n\x06parsed\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\x12\x13\n\x06issuer\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07subject\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12*\n\x1dsubject_alternative_dns_names\x18\x05 \x03(\tB\x03\xe0\x41\x03\x12\x38\n\x0fnot_before_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x37\n\x0enot_after_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rserial_number\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12sha256_fingerprint\x18\t \x01(\tB\x03\xe0\x41\x03\"\xe2\x05\n\rEkmConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x11service_resolvers\x18\x03 \x03(\x0b\x32\x32.google.cloud.kms.v1.EkmConnection.ServiceResolverB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12V\n\x13key_management_mode\x18\x06 \x01(\x0e\x32\x34.google.cloud.kms.v1.EkmConnection.KeyManagementModeB\x03\xe0\x41\x01\x12\x1e\n\x11\x63rypto_space_path\x18\x07 \x01(\tB\x03\xe0\x41\x01\x1a\xde\x01\n\x0fServiceResolver\x12R\n\x19service_directory_service\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'servicedirectory.googleapis.com/Service\x12\x1c\n\x0f\x65ndpoint_filter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08hostname\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x13server_certificates\x18\x04 \x03(\x0b\x32 .google.cloud.kms.v1.CertificateB\x03\xe0\x41\x02\"S\n\x11KeyManagementMode\x12#\n\x1fKEY_MANAGEMENT_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06MANUAL\x10\x01\x12\r\n\tCLOUD_KMS\x10\x02:s\xea\x41p\n%cloudkms.googleapis.com/EkmConnection\x12Gprojects/{project}/locations/{location}/ekmConnections/{ekm_connection}\"\xc8\x01\n\tEkmConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12M\n\x16\x64\x65\x66\x61ult_ekm_connection\x18\x02 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%cloudkms.googleapis.com/EkmConnection:Y\xea\x41V\n!cloudkms.googleapis.com/EkmConfig\x12\x31projects/{project}/locations/{location}/ekmConfig\"X\n\x19VerifyConnectivityRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%cloudkms.googleapis.com/EkmConnection\"\x1c\n\x1aVerifyConnectivityResponse2\xdc\x0b\n\nEkmService\x12\xba\x01\n\x12ListEkmConnections\x12..google.cloud.kms.v1.ListEkmConnectionsRequest\x1a/.google.cloud.kms.v1.ListEkmConnectionsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/ekmConnections\x12\xa7\x01\n\x10GetEkmConnection\x12,.google.cloud.kms.v1.GetEkmConnectionRequest\x1a\".google.cloud.kms.v1.EkmConnection\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/ekmConnections/*}\x12\xe0\x01\n\x13\x43reateEkmConnection\x12/.google.cloud.kms.v1.CreateEkmConnectionRequest\x1a\".google.cloud.kms.v1.EkmConnection\"t\xda\x41\'parent,ekm_connection_id,ekm_connection\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/ekmConnections:\x0e\x65km_connection\x12\xe2\x01\n\x13UpdateEkmConnection\x12/.google.cloud.kms.v1.UpdateEkmConnectionRequest\x1a\".google.cloud.kms.v1.EkmConnection\"v\xda\x41\x1a\x65km_connection,update_mask\x82\xd3\xe4\x93\x02S2A/v1/{ekm_connection.name=projects/*/locations/*/ekmConnections/*}:\x0e\x65km_connection\x12\x94\x01\n\x0cGetEkmConfig\x12(.google.cloud.kms.v1.GetEkmConfigRequest\x1a\x1e.google.cloud.kms.v1.EkmConfig\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/ekmConfig}\x12\xc3\x01\n\x0fUpdateEkmConfig\x12+.google.cloud.kms.v1.UpdateEkmConfigRequest\x1a\x1e.google.cloud.kms.v1.EkmConfig\"c\xda\x41\x16\x65km_config,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x36/v1/{ekm_config.name=projects/*/locations/*/ekmConfig}:\nekm_config\x12\xcb\x01\n\x12VerifyConnectivity\x12..google.cloud.kms.v1.VerifyConnectivityRequest\x1a/.google.cloud.kms.v1.VerifyConnectivityResponse\"T\xda\x41\x04name\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/ekmConnections/*}:verifyConnectivity\x1at\xca\x41\x17\x63loudkms.googleapis.com\xd2\x41Whttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloudkmsB\x85\x02\n\x17\x63om.google.cloud.kms.v1B\x0f\x45kmServiceProtoP\x01Z)cloud.google.com/go/kms/apiv1/kmspb;kmspb\xf8\x01\x01\xaa\x02\x13Google.Cloud.Kms.V1\xca\x02\x13Google\\Cloud\\Kms\\V1\xea\x41|\n\'servicedirectory.googleapis.com/Service\x12Qprojects/{project}/locations/{location}/namespaces/{namespace}/services/{service}b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -375,6 +384,17 @@ module Google
|
|
375
384
|
end
|
376
385
|
end
|
377
386
|
|
387
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
388
|
+
# a service for client libraries.
|
389
|
+
# @!attribute [rw] methods
|
390
|
+
# @return [::Array<::String>]
|
391
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
392
|
+
# on public client surfaces.
|
393
|
+
class SelectiveGapicGeneration
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
397
|
+
|
378
398
|
# The organization for which the client libraries are being published.
|
379
399
|
# Affects the url where generated docs are published, etc.
|
380
400
|
module ClientLibraryOrganization
|
@@ -98,6 +98,20 @@ module Google
|
|
98
98
|
# Required. Name of the resource project and location from which to list
|
99
99
|
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
|
100
100
|
# `projects/{PROJECT_ID}/locations/{LOCATION}`.
|
101
|
+
# @!attribute [rw] page_size
|
102
|
+
# @return [::Integer]
|
103
|
+
# Optional. Optional limit on the number of
|
104
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} to include in the response. The
|
105
|
+
# service may return fewer than this value. Further
|
106
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} can subsequently be obtained by
|
107
|
+
# including the
|
108
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}
|
109
|
+
# in a subsequent request. If unspecified, at most 100
|
110
|
+
# {::Google::Cloud::Kms::V1::KeyHandle KeyHandles} will be returned.
|
111
|
+
# @!attribute [rw] page_token
|
112
|
+
# @return [::String]
|
113
|
+
# Optional. Optional pagination token, returned earlier via
|
114
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesResponse#next_page_token ListKeyHandlesResponse.next_page_token}.
|
101
115
|
# @!attribute [rw] filter
|
102
116
|
# @return [::String]
|
103
117
|
# Optional. Filter to apply when listing
|
@@ -113,6 +127,11 @@ module Google
|
|
113
127
|
# @!attribute [rw] key_handles
|
114
128
|
# @return [::Array<::Google::Cloud::Kms::V1::KeyHandle>]
|
115
129
|
# Resulting {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}.
|
130
|
+
# @!attribute [rw] next_page_token
|
131
|
+
# @return [::String]
|
132
|
+
# A token to retrieve next page of results. Pass this value in
|
133
|
+
# {::Google::Cloud::Kms::V1::ListKeyHandlesRequest#page_token ListKeyHandlesRequest.page_token}
|
134
|
+
# to retrieve the next page of results.
|
116
135
|
class ListKeyHandlesResponse
|
117
136
|
include ::Google::Protobuf::MessageExts
|
118
137
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -66,9 +66,29 @@ module Google
|
|
66
66
|
# Cloud KMS Service Agent for this key project must be granted the
|
67
67
|
# `cloudkms.admin` role (or pertinent permissions). A request with an empty
|
68
68
|
# key project field will clear the configuration.
|
69
|
+
# @!attribute [r] state
|
70
|
+
# @return [::Google::Cloud::Kms::V1::AutokeyConfig::State]
|
71
|
+
# Output only. The state for the AutokeyConfig.
|
69
72
|
class AutokeyConfig
|
70
73
|
include ::Google::Protobuf::MessageExts
|
71
74
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
|
76
|
+
# The states AutokeyConfig can be in.
|
77
|
+
module State
|
78
|
+
# The state of the AutokeyConfig is unspecified.
|
79
|
+
STATE_UNSPECIFIED = 0
|
80
|
+
|
81
|
+
# The AutokeyConfig is currently active.
|
82
|
+
ACTIVE = 1
|
83
|
+
|
84
|
+
# A previously configured key project has been deleted and the current
|
85
|
+
# AutokeyConfig is unusable.
|
86
|
+
KEY_PROJECT_DELETED = 2
|
87
|
+
|
88
|
+
# The AutokeyConfig is not yet initialized or has been reset to its default
|
89
|
+
# uninitialized state.
|
90
|
+
UNINITIALIZED = 3
|
91
|
+
end
|
72
92
|
end
|
73
93
|
|
74
94
|
# Request message for
|
@@ -206,7 +206,7 @@ module Google
|
|
206
206
|
# {::Google::Cloud::Kms::V1::EkmConnection EkmConnection} was created.
|
207
207
|
# @!attribute [rw] service_resolvers
|
208
208
|
# @return [::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>]
|
209
|
-
# A list of
|
209
|
+
# Optional. A list of
|
210
210
|
# {::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver ServiceResolvers} where
|
211
211
|
# the EKM can be reached. There should be one ServiceResolver per EKM
|
212
212
|
# replica. Currently, only a single
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::DESTROY_SCHEDULED DESTROY_SCHEDULED}
|
125
125
|
# state before transitioning to
|
126
126
|
# {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState::DESTROYED DESTROYED}.
|
127
|
-
# If not specified at creation time, the default duration is
|
127
|
+
# If not specified at creation time, the default duration is 30 days.
|
128
128
|
# @!attribute [rw] crypto_key_backend
|
129
129
|
# @return [::String]
|
130
130
|
# Immutable. The resource name of the backend environment where the key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.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: 2024-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.5.
|
186
|
+
rubygems_version: 3.5.22
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Manages keys and performs cryptographic operations in a central cloud service,
|