google-cloud-kms-v1 0.25.0 → 0.26.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +3 -3
  4. data/lib/google/cloud/kms/v1/autokey/client.rb +713 -0
  5. data/lib/google/cloud/kms/v1/autokey/credentials.rb +52 -0
  6. data/lib/google/cloud/kms/v1/autokey/operations.rb +809 -0
  7. data/lib/google/cloud/kms/v1/autokey/paths.rb +90 -0
  8. data/lib/google/cloud/kms/v1/autokey/rest/client.rb +675 -0
  9. data/lib/google/cloud/kms/v1/autokey/rest/operations.rb +902 -0
  10. data/lib/google/cloud/kms/v1/autokey/rest/service_stub.rb +247 -0
  11. data/lib/google/cloud/kms/v1/autokey/rest.rb +70 -0
  12. data/lib/google/cloud/kms/v1/autokey.rb +72 -0
  13. data/lib/google/cloud/kms/v1/autokey_admin/client.rb +677 -0
  14. data/lib/google/cloud/kms/v1/autokey_admin/credentials.rb +52 -0
  15. data/lib/google/cloud/kms/v1/autokey_admin/paths.rb +61 -0
  16. data/lib/google/cloud/kms/v1/autokey_admin/rest/client.rb +639 -0
  17. data/lib/google/cloud/kms/v1/autokey_admin/rest/service_stub.rb +247 -0
  18. data/lib/google/cloud/kms/v1/autokey_admin/rest.rb +59 -0
  19. data/lib/google/cloud/kms/v1/autokey_admin.rb +61 -0
  20. data/lib/google/cloud/kms/v1/autokey_admin_pb.rb +53 -0
  21. data/lib/google/cloud/kms/v1/autokey_admin_services_pb.rb +62 -0
  22. data/lib/google/cloud/kms/v1/autokey_pb.rb +53 -0
  23. data/lib/google/cloud/kms/v1/autokey_services_pb.rb +71 -0
  24. data/lib/google/cloud/kms/v1/bindings_override.rb +1 -1
  25. data/lib/google/cloud/kms/v1/ekm_service/client.rb +17 -7
  26. data/lib/google/cloud/kms/v1/ekm_service/rest/client.rb +17 -7
  27. data/lib/google/cloud/kms/v1/key_management_service/client.rb +59 -28
  28. data/lib/google/cloud/kms/v1/key_management_service/rest/client.rb +59 -28
  29. data/lib/google/cloud/kms/v1/resources_pb.rb +1 -1
  30. data/lib/google/cloud/kms/v1/rest.rb +3 -1
  31. data/lib/google/cloud/kms/v1/version.rb +1 -1
  32. data/lib/google/cloud/kms/v1.rb +4 -2
  33. data/proto_docs/google/api/client.rb +4 -0
  34. data/proto_docs/google/cloud/kms/v1/autokey.rb +123 -0
  35. data/proto_docs/google/cloud/kms/v1/autokey_admin.rb +99 -0
  36. data/proto_docs/google/cloud/kms/v1/resources.rb +9 -10
  37. data/proto_docs/google/longrunning/operations.rb +164 -0
  38. data/proto_docs/google/protobuf/empty.rb +34 -0
  39. data/proto_docs/google/rpc/status.rb +48 -0
  40. metadata +27 -2
@@ -0,0 +1,123 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Kms
23
+ module V1
24
+ # Request message for
25
+ # {::Google::Cloud::Kms::V1::Autokey::Client#create_key_handle Autokey.CreateKeyHandle}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. Name of the resource project and location to create the
29
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} in, e.g.
30
+ # `projects/{PROJECT_ID}/locations/{LOCATION}`.
31
+ # @!attribute [rw] key_handle_id
32
+ # @return [::String]
33
+ # Optional. Id of the {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}. Must be
34
+ # unique to the resource project and location. If not provided by the caller,
35
+ # a new UUID is used.
36
+ # @!attribute [rw] key_handle
37
+ # @return [::Google::Cloud::Kms::V1::KeyHandle]
38
+ # Required. {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} to create.
39
+ class CreateKeyHandleRequest
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Request message for {::Google::Cloud::Kms::V1::Autokey::Client#get_key_handle GetKeyHandle}.
45
+ # @!attribute [rw] name
46
+ # @return [::String]
47
+ # Required. Name of the {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} resource,
48
+ # e.g.
49
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.
50
+ class GetKeyHandleRequest
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Resource-oriented representation of a request to Cloud KMS Autokey and the
56
+ # resulting provisioning of a {::Google::Cloud::Kms::V1::CryptoKey CryptoKey}.
57
+ # @!attribute [rw] name
58
+ # @return [::String]
59
+ # Identifier. Name of the {::Google::Cloud::Kms::V1::KeyHandle KeyHandle}
60
+ # resource, e.g.
61
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.
62
+ # @!attribute [r] kms_key
63
+ # @return [::String]
64
+ # Output only. Name of a {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} that has
65
+ # been provisioned for Customer Managed Encryption Key (CMEK) use in the
66
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} project and location for the
67
+ # requested resource type. The {::Google::Cloud::Kms::V1::CryptoKey CryptoKey}
68
+ # project will reflect the value configured in the
69
+ # {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig} on the resource
70
+ # project's ancestor folder at the time of the
71
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} creation. If more than one
72
+ # ancestor folder has a configured
73
+ # {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig}, the nearest of these
74
+ # configurations is used.
75
+ # @!attribute [rw] resource_type_selector
76
+ # @return [::String]
77
+ # Required. Indicates the resource type that the resulting
78
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} is meant to protect, e.g.
79
+ # `{SERVICE}.googleapis.com/{TYPE}`. See documentation for supported resource
80
+ # types.
81
+ class KeyHandle
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Metadata message for
87
+ # {::Google::Cloud::Kms::V1::Autokey::Client#create_key_handle CreateKeyHandle} long-running
88
+ # operation response.
89
+ class CreateKeyHandleMetadata
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+ end
93
+
94
+ # Request message for
95
+ # {::Google::Cloud::Kms::V1::Autokey::Client#list_key_handles Autokey.ListKeyHandles}.
96
+ # @!attribute [rw] parent
97
+ # @return [::String]
98
+ # Required. Name of the resource project and location from which to list
99
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
100
+ # `projects/{PROJECT_ID}/locations/{LOCATION}`.
101
+ # @!attribute [rw] filter
102
+ # @return [::String]
103
+ # Optional. Filter to apply when listing
104
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}, e.g.
105
+ # `resource_type_selector="{SERVICE}.googleapis.com/{TYPE}"`.
106
+ class ListKeyHandlesRequest
107
+ include ::Google::Protobuf::MessageExts
108
+ extend ::Google::Protobuf::MessageExts::ClassMethods
109
+ end
110
+
111
+ # Response message for
112
+ # {::Google::Cloud::Kms::V1::Autokey::Client#list_key_handles Autokey.ListKeyHandles}.
113
+ # @!attribute [rw] key_handles
114
+ # @return [::Array<::Google::Cloud::Kms::V1::KeyHandle>]
115
+ # Resulting {::Google::Cloud::Kms::V1::KeyHandle KeyHandles}.
116
+ class ListKeyHandlesResponse
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Kms
23
+ module V1
24
+ # Request message for
25
+ # {::Google::Cloud::Kms::V1::AutokeyAdmin::Client#update_autokey_config UpdateAutokeyConfig}.
26
+ # @!attribute [rw] autokey_config
27
+ # @return [::Google::Cloud::Kms::V1::AutokeyConfig]
28
+ # Required. {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig} with values to
29
+ # update.
30
+ # @!attribute [rw] update_mask
31
+ # @return [::Google::Protobuf::FieldMask]
32
+ # Required. Masks which fields of the
33
+ # {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig} to update, e.g.
34
+ # `keyProject`.
35
+ class UpdateAutokeyConfigRequest
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+ end
39
+
40
+ # Request message for
41
+ # {::Google::Cloud::Kms::V1::AutokeyAdmin::Client#get_autokey_config GetAutokeyConfig}.
42
+ # @!attribute [rw] name
43
+ # @return [::String]
44
+ # Required. Name of the {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig}
45
+ # resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
46
+ class GetAutokeyConfigRequest
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+ end
50
+
51
+ # Cloud KMS Autokey configuration for a folder.
52
+ # @!attribute [rw] name
53
+ # @return [::String]
54
+ # Identifier. Name of the {::Google::Cloud::Kms::V1::AutokeyConfig AutokeyConfig}
55
+ # resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
56
+ # @!attribute [rw] key_project
57
+ # @return [::String]
58
+ # Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or
59
+ # `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new
60
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} when a
61
+ # {::Google::Cloud::Kms::V1::KeyHandle KeyHandle} is created. On
62
+ # {::Google::Cloud::Kms::V1::AutokeyAdmin::Client#update_autokey_config UpdateAutokeyConfig},
63
+ # the caller will require `cloudkms.cryptoKeys.setIamPolicy` permission on
64
+ # this key project. Once configured, for Cloud KMS Autokey to function
65
+ # properly, this key project must have the Cloud KMS API activated and the
66
+ # Cloud KMS Service Agent for this key project must be granted the
67
+ # `cloudkms.admin` role (or pertinent permissions). A request with an empty
68
+ # key project field will clear the configuration.
69
+ class AutokeyConfig
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+ end
73
+
74
+ # Request message for
75
+ # {::Google::Cloud::Kms::V1::AutokeyAdmin::Client#show_effective_autokey_config ShowEffectiveAutokeyConfig}.
76
+ # @!attribute [rw] parent
77
+ # @return [::String]
78
+ # Required. Name of the resource project to the show effective Cloud KMS
79
+ # Autokey configuration for. This may be helpful for interrogating the effect
80
+ # of nested folder configurations on a given resource project.
81
+ class ShowEffectiveAutokeyConfigRequest
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Response message for
87
+ # {::Google::Cloud::Kms::V1::AutokeyAdmin::Client#show_effective_autokey_config ShowEffectiveAutokeyConfig}.
88
+ # @!attribute [rw] key_project
89
+ # @return [::String]
90
+ # Name of the key project configured in the resource project's folder
91
+ # ancestry.
92
+ class ShowEffectiveAutokeyConfigResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
@@ -516,6 +516,9 @@ module Google
516
516
  # https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms
517
517
  EC_SIGN_SECP256K1_SHA256 = 31
518
518
 
519
+ # EdDSA on the Curve25519 in pure mode (taking data as input).
520
+ EC_SIGN_ED25519 = 40
521
+
519
522
  # HMAC-SHA256 signing with a 256 bit key.
520
523
  HMAC_SHA256 = 32
521
524
 
@@ -630,12 +633,10 @@ module Google
630
633
  # {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}.
631
634
  # @!attribute [rw] pem
632
635
  # @return [::String]
633
- # A public key encoded in PEM format, populated only when
634
- # {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}
635
- # returns one key. For more information, see the [RFC
636
- # 7468](https://tools.ietf.org/html/rfc7468) sections for [General
637
- # Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual
638
- # Encoding of Subject Public Key Info]
636
+ # The public key, encoded in PEM format. For more information, see the
637
+ # [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
638
+ # [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
639
+ # [Textual Encoding of Subject Public Key Info]
639
640
  # (https://tools.ietf.org/html/rfc7468#section-13).
640
641
  # @!attribute [rw] algorithm
641
642
  # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm]
@@ -644,10 +645,8 @@ module Google
644
645
  # associated with this key.
645
646
  # @!attribute [rw] pem_crc32c
646
647
  # @return [::Google::Protobuf::Int64Value]
647
- # Integrity verification field: A CRC32C checksum of the returned
648
- # {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem}. It is only populated
649
- # when {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key GetPublicKey}
650
- # returns one key. An integrity check of
648
+ # Integrity verification field. A CRC32C checksum of the returned
649
+ # {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem}. An integrity check of
651
650
  # {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} can be performed by
652
651
  # computing the CRC32C checksum of
653
652
  # {::Google::Cloud::Kms::V1::PublicKey#pem PublicKey.pem} and comparing your
@@ -0,0 +1,164 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Longrunning
22
+ # This resource represents a long-running operation that is the result of a
23
+ # network API call.
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # The server-assigned name, which is only unique within the same service that
27
+ # originally returns it. If you use the default HTTP mapping, the
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
+ # @!attribute [rw] metadata
30
+ # @return [::Google::Protobuf::Any]
31
+ # Service-specific metadata associated with the operation. It typically
32
+ # contains progress information and common metadata such as create time.
33
+ # Some services might not provide such metadata. Any method that returns a
34
+ # long-running operation should document the metadata type, if any.
35
+ # @!attribute [rw] done
36
+ # @return [::Boolean]
37
+ # If the value is `false`, it means the operation is still in progress.
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
+ # available.
40
+ # @!attribute [rw] error
41
+ # @return [::Google::Rpc::Status]
42
+ # The error result of the operation in case of failure or cancellation.
43
+ # @!attribute [rw] response
44
+ # @return [::Google::Protobuf::Any]
45
+ # The normal response of the operation in case of success. If the original
46
+ # method returns no data on success, such as `Delete`, the response is
47
+ # `google.protobuf.Empty`. If the original method is standard
48
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
49
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
50
+ # is the original method name. For example, if the original method name
51
+ # is `TakeSnapshot()`, the inferred response type is
52
+ # `TakeSnapshotResponse`.
53
+ class Operation
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # The request message for Operations.GetOperation.
59
+ # @!attribute [rw] name
60
+ # @return [::String]
61
+ # The name of the operation resource.
62
+ class GetOperationRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # The request message for Operations.ListOperations.
68
+ # @!attribute [rw] name
69
+ # @return [::String]
70
+ # The name of the operation's parent resource.
71
+ # @!attribute [rw] filter
72
+ # @return [::String]
73
+ # The standard list filter.
74
+ # @!attribute [rw] page_size
75
+ # @return [::Integer]
76
+ # The standard list page size.
77
+ # @!attribute [rw] page_token
78
+ # @return [::String]
79
+ # The standard list page token.
80
+ class ListOperationsRequest
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # The response message for Operations.ListOperations.
86
+ # @!attribute [rw] operations
87
+ # @return [::Array<::Google::Longrunning::Operation>]
88
+ # A list of operations that matches the specified filter in the request.
89
+ # @!attribute [rw] next_page_token
90
+ # @return [::String]
91
+ # The standard List next-page token.
92
+ class ListOperationsResponse
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+
97
+ # The request message for Operations.CancelOperation.
98
+ # @!attribute [rw] name
99
+ # @return [::String]
100
+ # The name of the operation resource to be cancelled.
101
+ class CancelOperationRequest
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # The request message for Operations.DeleteOperation.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # The name of the operation resource to be deleted.
110
+ class DeleteOperationRequest
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # The request message for Operations.WaitOperation.
116
+ # @!attribute [rw] name
117
+ # @return [::String]
118
+ # The name of the operation resource to wait on.
119
+ # @!attribute [rw] timeout
120
+ # @return [::Google::Protobuf::Duration]
121
+ # The maximum duration to wait before timing out. If left blank, the wait
122
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
123
+ # If RPC context deadline is also specified, the shorter one will be used.
124
+ class WaitOperationRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
129
+ # A message representing the message types used by a long-running operation.
130
+ #
131
+ # Example:
132
+ #
133
+ # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
+ # returns (google.longrunning.Operation) {
135
+ # option (google.longrunning.operation_info) = {
136
+ # response_type: "LongRunningRecognizeResponse"
137
+ # metadata_type: "LongRunningRecognizeMetadata"
138
+ # };
139
+ # }
140
+ # @!attribute [rw] response_type
141
+ # @return [::String]
142
+ # Required. The message name of the primary return type for this
143
+ # long-running operation.
144
+ # This type will be used to deserialize the LRO's response.
145
+ #
146
+ # If the response is in a different package from the rpc, a fully-qualified
147
+ # message name must be used (e.g. `google.protobuf.Struct`).
148
+ #
149
+ # Note: Altering this value constitutes a breaking change.
150
+ # @!attribute [rw] metadata_type
151
+ # @return [::String]
152
+ # Required. The message name of the metadata type for this long-running
153
+ # operation.
154
+ #
155
+ # If the response is in a different package from the rpc, a fully-qualified
156
+ # message name must be used (e.g. `google.protobuf.Struct`).
157
+ #
158
+ # Note: Altering this value constitutes a breaking change.
159
+ class OperationInfo
160
+ include ::Google::Protobuf::MessageExts
161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # A generic empty message that you can re-use to avoid defining duplicated
23
+ # empty messages in your APIs. A typical example is to use it as the request
24
+ # or the response type of an API method. For instance:
25
+ #
26
+ # service Foo {
27
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
+ # }
29
+ class Empty
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Rpc
22
+ # The `Status` type defines a logical error model that is suitable for
23
+ # different programming environments, including REST APIs and RPC APIs. It is
24
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
25
+ # three pieces of data: error code, error message, and error details.
26
+ #
27
+ # You can find out more about this error model and how to work with it in the
28
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
+ # @!attribute [rw] code
30
+ # @return [::Integer]
31
+ # The status code, which should be an enum value of
32
+ # [google.rpc.Code][google.rpc.Code].
33
+ # @!attribute [rw] message
34
+ # @return [::String]
35
+ # A developer-facing error message, which should be in English. Any
36
+ # user-facing error message should be localized and sent in the
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
39
+ # @!attribute [rw] details
40
+ # @return [::Array<::Google::Protobuf::Any>]
41
+ # A list of messages that carry the error details. There is a common set of
42
+ # message types for APIs to use.
43
+ class Status
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+ end
48
+ end
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: 0.25.0
4
+ version: 0.26.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -100,6 +100,26 @@ files:
100
100
  - lib/google-cloud-kms-v1.rb
101
101
  - lib/google/cloud/kms/v1.rb
102
102
  - lib/google/cloud/kms/v1/_helpers.rb
103
+ - lib/google/cloud/kms/v1/autokey.rb
104
+ - lib/google/cloud/kms/v1/autokey/client.rb
105
+ - lib/google/cloud/kms/v1/autokey/credentials.rb
106
+ - lib/google/cloud/kms/v1/autokey/operations.rb
107
+ - lib/google/cloud/kms/v1/autokey/paths.rb
108
+ - lib/google/cloud/kms/v1/autokey/rest.rb
109
+ - lib/google/cloud/kms/v1/autokey/rest/client.rb
110
+ - lib/google/cloud/kms/v1/autokey/rest/operations.rb
111
+ - lib/google/cloud/kms/v1/autokey/rest/service_stub.rb
112
+ - lib/google/cloud/kms/v1/autokey_admin.rb
113
+ - lib/google/cloud/kms/v1/autokey_admin/client.rb
114
+ - lib/google/cloud/kms/v1/autokey_admin/credentials.rb
115
+ - lib/google/cloud/kms/v1/autokey_admin/paths.rb
116
+ - lib/google/cloud/kms/v1/autokey_admin/rest.rb
117
+ - lib/google/cloud/kms/v1/autokey_admin/rest/client.rb
118
+ - lib/google/cloud/kms/v1/autokey_admin/rest/service_stub.rb
119
+ - lib/google/cloud/kms/v1/autokey_admin_pb.rb
120
+ - lib/google/cloud/kms/v1/autokey_admin_services_pb.rb
121
+ - lib/google/cloud/kms/v1/autokey_pb.rb
122
+ - lib/google/cloud/kms/v1/autokey_services_pb.rb
103
123
  - lib/google/cloud/kms/v1/bindings_override.rb
104
124
  - lib/google/cloud/kms/v1/ekm_service.rb
105
125
  - lib/google/cloud/kms/v1/ekm_service/client.rb
@@ -130,14 +150,19 @@ files:
130
150
  - proto_docs/google/api/field_behavior.rb
131
151
  - proto_docs/google/api/launch_stage.rb
132
152
  - proto_docs/google/api/resource.rb
153
+ - proto_docs/google/cloud/kms/v1/autokey.rb
154
+ - proto_docs/google/cloud/kms/v1/autokey_admin.rb
133
155
  - proto_docs/google/cloud/kms/v1/ekm_service.rb
134
156
  - proto_docs/google/cloud/kms/v1/resources.rb
135
157
  - proto_docs/google/cloud/kms/v1/service.rb
158
+ - proto_docs/google/longrunning/operations.rb
136
159
  - proto_docs/google/protobuf/any.rb
137
160
  - proto_docs/google/protobuf/duration.rb
161
+ - proto_docs/google/protobuf/empty.rb
138
162
  - proto_docs/google/protobuf/field_mask.rb
139
163
  - proto_docs/google/protobuf/timestamp.rb
140
164
  - proto_docs/google/protobuf/wrappers.rb
165
+ - proto_docs/google/rpc/status.rb
141
166
  - proto_docs/google/type/expr.rb
142
167
  homepage: https://github.com/googleapis/google-cloud-ruby
143
168
  licenses: