google-cloud-kms-v1 0.1.0 → 0.1.1

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.
@@ -21,333 +21,333 @@ module Google
21
21
  module Cloud
22
22
  module Kms
23
23
  module V1
24
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_key_rings KeyManagementService.ListKeyRings}.
24
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_key_rings KeyManagementService.ListKeyRings}.
25
25
  # @!attribute [rw] parent
26
- # @return [String]
26
+ # @return [::String]
27
27
  # Required. The resource name of the location associated with the
28
- # {Google::Cloud::Kms::V1::KeyRing KeyRings}, in the format `projects/*/locations/*`.
28
+ # {::Google::Cloud::Kms::V1::KeyRing KeyRings}, in the format `projects/*/locations/*`.
29
29
  # @!attribute [rw] page_size
30
- # @return [Integer]
31
- # Optional. Optional limit on the number of {Google::Cloud::Kms::V1::KeyRing KeyRings} to include in the
32
- # response. Further {Google::Cloud::Kms::V1::KeyRing KeyRings} can subsequently be obtained by
33
- # including the {Google::Cloud::Kms::V1::ListKeyRingsResponse#next_page_token ListKeyRingsResponse.next_page_token} in a subsequent
30
+ # @return [::Integer]
31
+ # Optional. Optional limit on the number of {::Google::Cloud::Kms::V1::KeyRing KeyRings} to include in the
32
+ # response. Further {::Google::Cloud::Kms::V1::KeyRing KeyRings} can subsequently be obtained by
33
+ # including the {::Google::Cloud::Kms::V1::ListKeyRingsResponse#next_page_token ListKeyRingsResponse.next_page_token} in a subsequent
34
34
  # request. If unspecified, the server will pick an appropriate default.
35
35
  # @!attribute [rw] page_token
36
- # @return [String]
36
+ # @return [::String]
37
37
  # Optional. Optional pagination token, returned earlier via
38
- # {Google::Cloud::Kms::V1::ListKeyRingsResponse#next_page_token ListKeyRingsResponse.next_page_token}.
38
+ # {::Google::Cloud::Kms::V1::ListKeyRingsResponse#next_page_token ListKeyRingsResponse.next_page_token}.
39
39
  # @!attribute [rw] filter
40
- # @return [String]
40
+ # @return [::String]
41
41
  # Optional. Only include resources that match the filter in the response. For
42
42
  # more information, see
43
43
  # [Sorting and filtering list
44
44
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
45
45
  # @!attribute [rw] order_by
46
- # @return [String]
46
+ # @return [::String]
47
47
  # Optional. Specify how the results should be sorted. If not specified, the
48
48
  # results will be sorted in the default order. For more information, see
49
49
  # [Sorting and filtering list
50
50
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
51
51
  class ListKeyRingsRequest
52
- include Google::Protobuf::MessageExts
53
- extend Google::Protobuf::MessageExts::ClassMethods
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
54
  end
55
55
 
56
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_keys KeyManagementService.ListCryptoKeys}.
56
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_keys KeyManagementService.ListCryptoKeys}.
57
57
  # @!attribute [rw] parent
58
- # @return [String]
59
- # Required. The resource name of the {Google::Cloud::Kms::V1::KeyRing KeyRing} to list, in the format
58
+ # @return [::String]
59
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::KeyRing KeyRing} to list, in the format
60
60
  # `projects/*/locations/*/keyRings/*`.
61
61
  # @!attribute [rw] page_size
62
- # @return [Integer]
63
- # Optional. Optional limit on the number of {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} to include in the
64
- # response. Further {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} can subsequently be obtained by
65
- # including the {Google::Cloud::Kms::V1::ListCryptoKeysResponse#next_page_token ListCryptoKeysResponse.next_page_token} in a subsequent
62
+ # @return [::Integer]
63
+ # Optional. Optional limit on the number of {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} to include in the
64
+ # response. Further {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} can subsequently be obtained by
65
+ # including the {::Google::Cloud::Kms::V1::ListCryptoKeysResponse#next_page_token ListCryptoKeysResponse.next_page_token} in a subsequent
66
66
  # request. If unspecified, the server will pick an appropriate default.
67
67
  # @!attribute [rw] page_token
68
- # @return [String]
68
+ # @return [::String]
69
69
  # Optional. Optional pagination token, returned earlier via
70
- # {Google::Cloud::Kms::V1::ListCryptoKeysResponse#next_page_token ListCryptoKeysResponse.next_page_token}.
70
+ # {::Google::Cloud::Kms::V1::ListCryptoKeysResponse#next_page_token ListCryptoKeysResponse.next_page_token}.
71
71
  # @!attribute [rw] version_view
72
- # @return [Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionView]
72
+ # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionView]
73
73
  # The fields of the primary version to include in the response.
74
74
  # @!attribute [rw] filter
75
- # @return [String]
75
+ # @return [::String]
76
76
  # Optional. Only include resources that match the filter in the response. For
77
77
  # more information, see
78
78
  # [Sorting and filtering list
79
79
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
80
80
  # @!attribute [rw] order_by
81
- # @return [String]
81
+ # @return [::String]
82
82
  # Optional. Specify how the results should be sorted. If not specified, the
83
83
  # results will be sorted in the default order. For more information, see
84
84
  # [Sorting and filtering list
85
85
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
86
86
  class ListCryptoKeysRequest
87
- include Google::Protobuf::MessageExts
88
- extend Google::Protobuf::MessageExts::ClassMethods
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
89
  end
90
90
 
91
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_key_versions KeyManagementService.ListCryptoKeyVersions}.
91
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_key_versions KeyManagementService.ListCryptoKeyVersions}.
92
92
  # @!attribute [rw] parent
93
- # @return [String]
94
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} to list, in the format
93
+ # @return [::String]
94
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} to list, in the format
95
95
  # `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
96
96
  # @!attribute [rw] page_size
97
- # @return [Integer]
98
- # Optional. Optional limit on the number of {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} to
99
- # include in the response. Further {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} can
97
+ # @return [::Integer]
98
+ # Optional. Optional limit on the number of {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} to
99
+ # include in the response. Further {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} can
100
100
  # subsequently be obtained by including the
101
- # {Google::Cloud::Kms::V1::ListCryptoKeyVersionsResponse#next_page_token ListCryptoKeyVersionsResponse.next_page_token} in a subsequent request.
101
+ # {::Google::Cloud::Kms::V1::ListCryptoKeyVersionsResponse#next_page_token ListCryptoKeyVersionsResponse.next_page_token} in a subsequent request.
102
102
  # If unspecified, the server will pick an appropriate default.
103
103
  # @!attribute [rw] page_token
104
- # @return [String]
104
+ # @return [::String]
105
105
  # Optional. Optional pagination token, returned earlier via
106
- # {Google::Cloud::Kms::V1::ListCryptoKeyVersionsResponse#next_page_token ListCryptoKeyVersionsResponse.next_page_token}.
106
+ # {::Google::Cloud::Kms::V1::ListCryptoKeyVersionsResponse#next_page_token ListCryptoKeyVersionsResponse.next_page_token}.
107
107
  # @!attribute [rw] view
108
- # @return [Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionView]
108
+ # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionView]
109
109
  # The fields to include in the response.
110
110
  # @!attribute [rw] filter
111
- # @return [String]
111
+ # @return [::String]
112
112
  # Optional. Only include resources that match the filter in the response. For
113
113
  # more information, see
114
114
  # [Sorting and filtering list
115
115
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
116
116
  # @!attribute [rw] order_by
117
- # @return [String]
117
+ # @return [::String]
118
118
  # Optional. Specify how the results should be sorted. If not specified, the
119
119
  # results will be sorted in the default order. For more information, see
120
120
  # [Sorting and filtering list
121
121
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
122
122
  class ListCryptoKeyVersionsRequest
123
- include Google::Protobuf::MessageExts
124
- extend Google::Protobuf::MessageExts::ClassMethods
123
+ include ::Google::Protobuf::MessageExts
124
+ extend ::Google::Protobuf::MessageExts::ClassMethods
125
125
  end
126
126
 
127
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_import_jobs KeyManagementService.ListImportJobs}.
127
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_import_jobs KeyManagementService.ListImportJobs}.
128
128
  # @!attribute [rw] parent
129
- # @return [String]
130
- # Required. The resource name of the {Google::Cloud::Kms::V1::KeyRing KeyRing} to list, in the format
129
+ # @return [::String]
130
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::KeyRing KeyRing} to list, in the format
131
131
  # `projects/*/locations/*/keyRings/*`.
132
132
  # @!attribute [rw] page_size
133
- # @return [Integer]
134
- # Optional. Optional limit on the number of {Google::Cloud::Kms::V1::ImportJob ImportJobs} to include in the
135
- # response. Further {Google::Cloud::Kms::V1::ImportJob ImportJobs} can subsequently be obtained by
136
- # including the {Google::Cloud::Kms::V1::ListImportJobsResponse#next_page_token ListImportJobsResponse.next_page_token} in a subsequent
133
+ # @return [::Integer]
134
+ # Optional. Optional limit on the number of {::Google::Cloud::Kms::V1::ImportJob ImportJobs} to include in the
135
+ # response. Further {::Google::Cloud::Kms::V1::ImportJob ImportJobs} can subsequently be obtained by
136
+ # including the {::Google::Cloud::Kms::V1::ListImportJobsResponse#next_page_token ListImportJobsResponse.next_page_token} in a subsequent
137
137
  # request. If unspecified, the server will pick an appropriate default.
138
138
  # @!attribute [rw] page_token
139
- # @return [String]
139
+ # @return [::String]
140
140
  # Optional. Optional pagination token, returned earlier via
141
- # {Google::Cloud::Kms::V1::ListImportJobsResponse#next_page_token ListImportJobsResponse.next_page_token}.
141
+ # {::Google::Cloud::Kms::V1::ListImportJobsResponse#next_page_token ListImportJobsResponse.next_page_token}.
142
142
  # @!attribute [rw] filter
143
- # @return [String]
143
+ # @return [::String]
144
144
  # Optional. Only include resources that match the filter in the response. For
145
145
  # more information, see
146
146
  # [Sorting and filtering list
147
147
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
148
148
  # @!attribute [rw] order_by
149
- # @return [String]
149
+ # @return [::String]
150
150
  # Optional. Specify how the results should be sorted. If not specified, the
151
151
  # results will be sorted in the default order. For more information, see
152
152
  # [Sorting and filtering list
153
153
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
154
154
  class ListImportJobsRequest
155
- include Google::Protobuf::MessageExts
156
- extend Google::Protobuf::MessageExts::ClassMethods
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
157
  end
158
158
 
159
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_key_rings KeyManagementService.ListKeyRings}.
159
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_key_rings KeyManagementService.ListKeyRings}.
160
160
  # @!attribute [rw] key_rings
161
- # @return [Array<Google::Cloud::Kms::V1::KeyRing>]
162
- # The list of {Google::Cloud::Kms::V1::KeyRing KeyRings}.
161
+ # @return [::Array<::Google::Cloud::Kms::V1::KeyRing>]
162
+ # The list of {::Google::Cloud::Kms::V1::KeyRing KeyRings}.
163
163
  # @!attribute [rw] next_page_token
164
- # @return [String]
164
+ # @return [::String]
165
165
  # A token to retrieve next page of results. Pass this value in
166
- # {Google::Cloud::Kms::V1::ListKeyRingsRequest#page_token ListKeyRingsRequest.page_token} to retrieve the next page of results.
166
+ # {::Google::Cloud::Kms::V1::ListKeyRingsRequest#page_token ListKeyRingsRequest.page_token} to retrieve the next page of results.
167
167
  # @!attribute [rw] total_size
168
- # @return [Integer]
169
- # The total number of {Google::Cloud::Kms::V1::KeyRing KeyRings} that matched the query.
168
+ # @return [::Integer]
169
+ # The total number of {::Google::Cloud::Kms::V1::KeyRing KeyRings} that matched the query.
170
170
  class ListKeyRingsResponse
171
- include Google::Protobuf::MessageExts
172
- extend Google::Protobuf::MessageExts::ClassMethods
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
173
  end
174
174
 
175
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_keys KeyManagementService.ListCryptoKeys}.
175
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_keys KeyManagementService.ListCryptoKeys}.
176
176
  # @!attribute [rw] crypto_keys
177
- # @return [Array<Google::Cloud::Kms::V1::CryptoKey>]
178
- # The list of {Google::Cloud::Kms::V1::CryptoKey CryptoKeys}.
177
+ # @return [::Array<::Google::Cloud::Kms::V1::CryptoKey>]
178
+ # The list of {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}.
179
179
  # @!attribute [rw] next_page_token
180
- # @return [String]
180
+ # @return [::String]
181
181
  # A token to retrieve next page of results. Pass this value in
182
- # {Google::Cloud::Kms::V1::ListCryptoKeysRequest#page_token ListCryptoKeysRequest.page_token} to retrieve the next page of results.
182
+ # {::Google::Cloud::Kms::V1::ListCryptoKeysRequest#page_token ListCryptoKeysRequest.page_token} to retrieve the next page of results.
183
183
  # @!attribute [rw] total_size
184
- # @return [Integer]
185
- # The total number of {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} that matched the query.
184
+ # @return [::Integer]
185
+ # The total number of {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} that matched the query.
186
186
  class ListCryptoKeysResponse
187
- include Google::Protobuf::MessageExts
188
- extend Google::Protobuf::MessageExts::ClassMethods
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
189
  end
190
190
 
191
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_key_versions KeyManagementService.ListCryptoKeyVersions}.
191
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_crypto_key_versions KeyManagementService.ListCryptoKeyVersions}.
192
192
  # @!attribute [rw] crypto_key_versions
193
- # @return [Array<Google::Cloud::Kms::V1::CryptoKeyVersion>]
194
- # The list of {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}.
193
+ # @return [::Array<::Google::Cloud::Kms::V1::CryptoKeyVersion>]
194
+ # The list of {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}.
195
195
  # @!attribute [rw] next_page_token
196
- # @return [String]
196
+ # @return [::String]
197
197
  # A token to retrieve next page of results. Pass this value in
198
- # {Google::Cloud::Kms::V1::ListCryptoKeyVersionsRequest#page_token ListCryptoKeyVersionsRequest.page_token} to retrieve the next page of
198
+ # {::Google::Cloud::Kms::V1::ListCryptoKeyVersionsRequest#page_token ListCryptoKeyVersionsRequest.page_token} to retrieve the next page of
199
199
  # results.
200
200
  # @!attribute [rw] total_size
201
- # @return [Integer]
202
- # The total number of {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} that matched the
201
+ # @return [::Integer]
202
+ # The total number of {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions} that matched the
203
203
  # query.
204
204
  class ListCryptoKeyVersionsResponse
205
- include Google::Protobuf::MessageExts
206
- extend Google::Protobuf::MessageExts::ClassMethods
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
207
  end
208
208
 
209
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#list_import_jobs KeyManagementService.ListImportJobs}.
209
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#list_import_jobs KeyManagementService.ListImportJobs}.
210
210
  # @!attribute [rw] import_jobs
211
- # @return [Array<Google::Cloud::Kms::V1::ImportJob>]
212
- # The list of {Google::Cloud::Kms::V1::ImportJob ImportJobs}.
211
+ # @return [::Array<::Google::Cloud::Kms::V1::ImportJob>]
212
+ # The list of {::Google::Cloud::Kms::V1::ImportJob ImportJobs}.
213
213
  # @!attribute [rw] next_page_token
214
- # @return [String]
214
+ # @return [::String]
215
215
  # A token to retrieve next page of results. Pass this value in
216
- # {Google::Cloud::Kms::V1::ListImportJobsRequest#page_token ListImportJobsRequest.page_token} to retrieve the next page of results.
216
+ # {::Google::Cloud::Kms::V1::ListImportJobsRequest#page_token ListImportJobsRequest.page_token} to retrieve the next page of results.
217
217
  # @!attribute [rw] total_size
218
- # @return [Integer]
219
- # The total number of {Google::Cloud::Kms::V1::ImportJob ImportJobs} that matched the query.
218
+ # @return [::Integer]
219
+ # The total number of {::Google::Cloud::Kms::V1::ImportJob ImportJobs} that matched the query.
220
220
  class ListImportJobsResponse
221
- include Google::Protobuf::MessageExts
222
- extend Google::Protobuf::MessageExts::ClassMethods
221
+ include ::Google::Protobuf::MessageExts
222
+ extend ::Google::Protobuf::MessageExts::ClassMethods
223
223
  end
224
224
 
225
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#get_key_ring KeyManagementService.GetKeyRing}.
225
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_key_ring KeyManagementService.GetKeyRing}.
226
226
  # @!attribute [rw] name
227
- # @return [String]
228
- # Required. The {Google::Cloud::Kms::V1::KeyRing#name name} of the {Google::Cloud::Kms::V1::KeyRing KeyRing} to get.
227
+ # @return [::String]
228
+ # Required. The {::Google::Cloud::Kms::V1::KeyRing#name name} of the {::Google::Cloud::Kms::V1::KeyRing KeyRing} to get.
229
229
  class GetKeyRingRequest
230
- include Google::Protobuf::MessageExts
231
- extend Google::Protobuf::MessageExts::ClassMethods
230
+ include ::Google::Protobuf::MessageExts
231
+ extend ::Google::Protobuf::MessageExts::ClassMethods
232
232
  end
233
233
 
234
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#get_crypto_key KeyManagementService.GetCryptoKey}.
234
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_crypto_key KeyManagementService.GetCryptoKey}.
235
235
  # @!attribute [rw] name
236
- # @return [String]
237
- # Required. The {Google::Cloud::Kms::V1::CryptoKey#name name} of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} to get.
236
+ # @return [::String]
237
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKey#name name} of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} to get.
238
238
  class GetCryptoKeyRequest
239
- include Google::Protobuf::MessageExts
240
- extend Google::Protobuf::MessageExts::ClassMethods
239
+ include ::Google::Protobuf::MessageExts
240
+ extend ::Google::Protobuf::MessageExts::ClassMethods
241
241
  end
242
242
 
243
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#get_crypto_key_version KeyManagementService.GetCryptoKeyVersion}.
243
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_crypto_key_version KeyManagementService.GetCryptoKeyVersion}.
244
244
  # @!attribute [rw] name
245
- # @return [String]
246
- # Required. The {Google::Cloud::Kms::V1::CryptoKeyVersion#name name} of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to get.
245
+ # @return [::String]
246
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKeyVersion#name name} of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to get.
247
247
  class GetCryptoKeyVersionRequest
248
- include Google::Protobuf::MessageExts
249
- extend Google::Protobuf::MessageExts::ClassMethods
248
+ include ::Google::Protobuf::MessageExts
249
+ extend ::Google::Protobuf::MessageExts::ClassMethods
250
250
  end
251
251
 
252
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key KeyManagementService.GetPublicKey}.
252
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_public_key KeyManagementService.GetPublicKey}.
253
253
  # @!attribute [rw] name
254
- # @return [String]
255
- # Required. The {Google::Cloud::Kms::V1::CryptoKeyVersion#name name} of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} public key to
254
+ # @return [::String]
255
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKeyVersion#name name} of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} public key to
256
256
  # get.
257
257
  class GetPublicKeyRequest
258
- include Google::Protobuf::MessageExts
259
- extend Google::Protobuf::MessageExts::ClassMethods
258
+ include ::Google::Protobuf::MessageExts
259
+ extend ::Google::Protobuf::MessageExts::ClassMethods
260
260
  end
261
261
 
262
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#get_import_job KeyManagementService.GetImportJob}.
262
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#get_import_job KeyManagementService.GetImportJob}.
263
263
  # @!attribute [rw] name
264
- # @return [String]
265
- # Required. The {Google::Cloud::Kms::V1::ImportJob#name name} of the {Google::Cloud::Kms::V1::ImportJob ImportJob} to get.
264
+ # @return [::String]
265
+ # Required. The {::Google::Cloud::Kms::V1::ImportJob#name name} of the {::Google::Cloud::Kms::V1::ImportJob ImportJob} to get.
266
266
  class GetImportJobRequest
267
- include Google::Protobuf::MessageExts
268
- extend Google::Protobuf::MessageExts::ClassMethods
267
+ include ::Google::Protobuf::MessageExts
268
+ extend ::Google::Protobuf::MessageExts::ClassMethods
269
269
  end
270
270
 
271
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#create_key_ring KeyManagementService.CreateKeyRing}.
271
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#create_key_ring KeyManagementService.CreateKeyRing}.
272
272
  # @!attribute [rw] parent
273
- # @return [String]
273
+ # @return [::String]
274
274
  # Required. The resource name of the location associated with the
275
- # {Google::Cloud::Kms::V1::KeyRing KeyRings}, in the format `projects/*/locations/*`.
275
+ # {::Google::Cloud::Kms::V1::KeyRing KeyRings}, in the format `projects/*/locations/*`.
276
276
  # @!attribute [rw] key_ring_id
277
- # @return [String]
277
+ # @return [::String]
278
278
  # Required. It must be unique within a location and match the regular
279
279
  # expression `[a-zA-Z0-9_-]{1,63}`
280
280
  # @!attribute [rw] key_ring
281
- # @return [Google::Cloud::Kms::V1::KeyRing]
282
- # Required. A {Google::Cloud::Kms::V1::KeyRing KeyRing} with initial field values.
281
+ # @return [::Google::Cloud::Kms::V1::KeyRing]
282
+ # Required. A {::Google::Cloud::Kms::V1::KeyRing KeyRing} with initial field values.
283
283
  class CreateKeyRingRequest
284
- include Google::Protobuf::MessageExts
285
- extend Google::Protobuf::MessageExts::ClassMethods
284
+ include ::Google::Protobuf::MessageExts
285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
286
286
  end
287
287
 
288
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key KeyManagementService.CreateCryptoKey}.
288
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key KeyManagementService.CreateCryptoKey}.
289
289
  # @!attribute [rw] parent
290
- # @return [String]
291
- # Required. The {Google::Cloud::Kms::V1::KeyRing#name name} of the KeyRing associated with the
292
- # {Google::Cloud::Kms::V1::CryptoKey CryptoKeys}.
290
+ # @return [::String]
291
+ # Required. The {::Google::Cloud::Kms::V1::KeyRing#name name} of the KeyRing associated with the
292
+ # {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys}.
293
293
  # @!attribute [rw] crypto_key_id
294
- # @return [String]
294
+ # @return [::String]
295
295
  # Required. It must be unique within a KeyRing and match the regular
296
296
  # expression `[a-zA-Z0-9_-]{1,63}`
297
297
  # @!attribute [rw] crypto_key
298
- # @return [Google::Cloud::Kms::V1::CryptoKey]
299
- # Required. A {Google::Cloud::Kms::V1::CryptoKey CryptoKey} with initial field values.
298
+ # @return [::Google::Cloud::Kms::V1::CryptoKey]
299
+ # Required. A {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} with initial field values.
300
300
  # @!attribute [rw] skip_initial_version_creation
301
- # @return [Boolean]
302
- # If set to true, the request will create a {Google::Cloud::Kms::V1::CryptoKey CryptoKey} without any
303
- # {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}. You must manually call
304
- # {Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key_version CreateCryptoKeyVersion} or
305
- # {Google::Cloud::Kms::V1::KeyManagementService::Client#import_crypto_key_version ImportCryptoKeyVersion}
306
- # before you can use this {Google::Cloud::Kms::V1::CryptoKey CryptoKey}.
301
+ # @return [::Boolean]
302
+ # If set to true, the request will create a {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} without any
303
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}. You must manually call
304
+ # {::Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key_version CreateCryptoKeyVersion} or
305
+ # {::Google::Cloud::Kms::V1::KeyManagementService::Client#import_crypto_key_version ImportCryptoKeyVersion}
306
+ # before you can use this {::Google::Cloud::Kms::V1::CryptoKey CryptoKey}.
307
307
  class CreateCryptoKeyRequest
308
- include Google::Protobuf::MessageExts
309
- extend Google::Protobuf::MessageExts::ClassMethods
308
+ include ::Google::Protobuf::MessageExts
309
+ extend ::Google::Protobuf::MessageExts::ClassMethods
310
310
  end
311
311
 
312
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key_version KeyManagementService.CreateCryptoKeyVersion}.
312
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#create_crypto_key_version KeyManagementService.CreateCryptoKeyVersion}.
313
313
  # @!attribute [rw] parent
314
- # @return [String]
315
- # Required. The {Google::Cloud::Kms::V1::CryptoKey#name name} of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} associated with
316
- # the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}.
314
+ # @return [::String]
315
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKey#name name} of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} associated with
316
+ # the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersions}.
317
317
  # @!attribute [rw] crypto_key_version
318
- # @return [Google::Cloud::Kms::V1::CryptoKeyVersion]
319
- # Required. A {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} with initial field values.
318
+ # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion]
319
+ # Required. A {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} with initial field values.
320
320
  class CreateCryptoKeyVersionRequest
321
- include Google::Protobuf::MessageExts
322
- extend Google::Protobuf::MessageExts::ClassMethods
321
+ include ::Google::Protobuf::MessageExts
322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
323
323
  end
324
324
 
325
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#import_crypto_key_version KeyManagementService.ImportCryptoKeyVersion}.
325
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#import_crypto_key_version KeyManagementService.ImportCryptoKeyVersion}.
326
326
  # @!attribute [rw] parent
327
- # @return [String]
328
- # Required. The {Google::Cloud::Kms::V1::CryptoKey#name name} of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} to
327
+ # @return [::String]
328
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKey#name name} of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} to
329
329
  # be imported into.
330
330
  # @!attribute [rw] algorithm
331
- # @return [Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm]
332
- # Required. The {Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm algorithm} of
331
+ # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm]
332
+ # Required. The {::Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm algorithm} of
333
333
  # the key being imported. This does not need to match the
334
- # {Google::Cloud::Kms::V1::CryptoKey#version_template version_template} of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} this
334
+ # {::Google::Cloud::Kms::V1::CryptoKey#version_template version_template} of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} this
335
335
  # version imports into.
336
336
  # @!attribute [rw] import_job
337
- # @return [String]
338
- # Required. The {Google::Cloud::Kms::V1::ImportJob#name name} of the {Google::Cloud::Kms::V1::ImportJob ImportJob} that was used to
337
+ # @return [::String]
338
+ # Required. The {::Google::Cloud::Kms::V1::ImportJob#name name} of the {::Google::Cloud::Kms::V1::ImportJob ImportJob} that was used to
339
339
  # wrap this key material.
340
340
  # @!attribute [rw] rsa_aes_wrapped_key
341
- # @return [String]
341
+ # @return [::String]
342
342
  # Wrapped key material produced with
343
- # {Google::Cloud::Kms::V1::ImportJob::ImportMethod::RSA_OAEP_3072_SHA1_AES_256 RSA_OAEP_3072_SHA1_AES_256}
343
+ # {::Google::Cloud::Kms::V1::ImportJob::ImportMethod::RSA_OAEP_3072_SHA1_AES_256 RSA_OAEP_3072_SHA1_AES_256}
344
344
  # or
345
- # {Google::Cloud::Kms::V1::ImportJob::ImportMethod::RSA_OAEP_4096_SHA1_AES_256 RSA_OAEP_4096_SHA1_AES_256}.
345
+ # {::Google::Cloud::Kms::V1::ImportJob::ImportMethod::RSA_OAEP_4096_SHA1_AES_256 RSA_OAEP_4096_SHA1_AES_256}.
346
346
  #
347
347
  # This field contains the concatenation of two wrapped keys:
348
348
  # <ol>
349
349
  # <li>An ephemeral AES-256 wrapping key wrapped with the
350
- # {Google::Cloud::Kms::V1::ImportJob#public_key public_key} using RSAES-OAEP with SHA-1,
350
+ # {::Google::Cloud::Kms::V1::ImportJob#public_key public_key} using RSAES-OAEP with SHA-1,
351
351
  # MGF1 with SHA-1, and an empty label.
352
352
  # </li>
353
353
  # <li>The key to be imported, wrapped with the ephemeral AES-256 key
@@ -363,230 +363,230 @@ module Google
363
363
  # This format is the same as the format produced by PKCS#11 mechanism
364
364
  # CKM_RSA_AES_KEY_WRAP.
365
365
  class ImportCryptoKeyVersionRequest
366
- include Google::Protobuf::MessageExts
367
- extend Google::Protobuf::MessageExts::ClassMethods
366
+ include ::Google::Protobuf::MessageExts
367
+ extend ::Google::Protobuf::MessageExts::ClassMethods
368
368
  end
369
369
 
370
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#create_import_job KeyManagementService.CreateImportJob}.
370
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#create_import_job KeyManagementService.CreateImportJob}.
371
371
  # @!attribute [rw] parent
372
- # @return [String]
373
- # Required. The {Google::Cloud::Kms::V1::KeyRing#name name} of the {Google::Cloud::Kms::V1::KeyRing KeyRing} associated with the
374
- # {Google::Cloud::Kms::V1::ImportJob ImportJobs}.
372
+ # @return [::String]
373
+ # Required. The {::Google::Cloud::Kms::V1::KeyRing#name name} of the {::Google::Cloud::Kms::V1::KeyRing KeyRing} associated with the
374
+ # {::Google::Cloud::Kms::V1::ImportJob ImportJobs}.
375
375
  # @!attribute [rw] import_job_id
376
- # @return [String]
376
+ # @return [::String]
377
377
  # Required. It must be unique within a KeyRing and match the regular
378
378
  # expression `[a-zA-Z0-9_-]{1,63}`
379
379
  # @!attribute [rw] import_job
380
- # @return [Google::Cloud::Kms::V1::ImportJob]
381
- # Required. An {Google::Cloud::Kms::V1::ImportJob ImportJob} with initial field values.
380
+ # @return [::Google::Cloud::Kms::V1::ImportJob]
381
+ # Required. An {::Google::Cloud::Kms::V1::ImportJob ImportJob} with initial field values.
382
382
  class CreateImportJobRequest
383
- include Google::Protobuf::MessageExts
384
- extend Google::Protobuf::MessageExts::ClassMethods
383
+ include ::Google::Protobuf::MessageExts
384
+ extend ::Google::Protobuf::MessageExts::ClassMethods
385
385
  end
386
386
 
387
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key KeyManagementService.UpdateCryptoKey}.
387
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key KeyManagementService.UpdateCryptoKey}.
388
388
  # @!attribute [rw] crypto_key
389
- # @return [Google::Cloud::Kms::V1::CryptoKey]
390
- # Required. {Google::Cloud::Kms::V1::CryptoKey CryptoKey} with updated values.
389
+ # @return [::Google::Cloud::Kms::V1::CryptoKey]
390
+ # Required. {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} with updated values.
391
391
  # @!attribute [rw] update_mask
392
- # @return [Google::Protobuf::FieldMask]
392
+ # @return [::Google::Protobuf::FieldMask]
393
393
  # Required. List of fields to be updated in this request.
394
394
  class UpdateCryptoKeyRequest
395
- include Google::Protobuf::MessageExts
396
- extend Google::Protobuf::MessageExts::ClassMethods
395
+ include ::Google::Protobuf::MessageExts
396
+ extend ::Google::Protobuf::MessageExts::ClassMethods
397
397
  end
398
398
 
399
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key_version KeyManagementService.UpdateCryptoKeyVersion}.
399
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key_version KeyManagementService.UpdateCryptoKeyVersion}.
400
400
  # @!attribute [rw] crypto_key_version
401
- # @return [Google::Cloud::Kms::V1::CryptoKeyVersion]
402
- # Required. {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} with updated values.
401
+ # @return [::Google::Cloud::Kms::V1::CryptoKeyVersion]
402
+ # Required. {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} with updated values.
403
403
  # @!attribute [rw] update_mask
404
- # @return [Google::Protobuf::FieldMask]
404
+ # @return [::Google::Protobuf::FieldMask]
405
405
  # Required. List of fields to be updated in this request.
406
406
  class UpdateCryptoKeyVersionRequest
407
- include Google::Protobuf::MessageExts
408
- extend Google::Protobuf::MessageExts::ClassMethods
407
+ include ::Google::Protobuf::MessageExts
408
+ extend ::Google::Protobuf::MessageExts::ClassMethods
409
409
  end
410
410
 
411
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#encrypt KeyManagementService.Encrypt}.
411
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#encrypt KeyManagementService.Encrypt}.
412
412
  # @!attribute [rw] name
413
- # @return [String]
414
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} or {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}
413
+ # @return [::String]
414
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} or {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}
415
415
  # to use for encryption.
416
416
  #
417
- # If a {Google::Cloud::Kms::V1::CryptoKey CryptoKey} is specified, the server will use its
418
- # {Google::Cloud::Kms::V1::CryptoKey#primary primary version}.
417
+ # If a {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} is specified, the server will use its
418
+ # {::Google::Cloud::Kms::V1::CryptoKey#primary primary version}.
419
419
  # @!attribute [rw] plaintext
420
- # @return [String]
420
+ # @return [::String]
421
421
  # Required. The data to encrypt. Must be no larger than 64KiB.
422
422
  #
423
423
  # The maximum size depends on the key version's
424
- # {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}. For
425
- # {Google::Cloud::Kms::V1::ProtectionLevel::SOFTWARE SOFTWARE} keys, the plaintext must be no larger
426
- # than 64KiB. For {Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
424
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}. For
425
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::SOFTWARE SOFTWARE} keys, the plaintext must be no larger
426
+ # than 64KiB. For {::Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
427
427
  # plaintext and additional_authenticated_data fields must be no larger than
428
428
  # 8KiB.
429
429
  # @!attribute [rw] additional_authenticated_data
430
- # @return [String]
430
+ # @return [::String]
431
431
  # Optional. Optional data that, if specified, must also be provided during decryption
432
- # through {Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}.
432
+ # through {::Google::Cloud::Kms::V1::DecryptRequest#additional_authenticated_data DecryptRequest.additional_authenticated_data}.
433
433
  #
434
434
  # The maximum size depends on the key version's
435
- # {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}. For
436
- # {Google::Cloud::Kms::V1::ProtectionLevel::SOFTWARE SOFTWARE} keys, the AAD must be no larger than
437
- # 64KiB. For {Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
435
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}. For
436
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::SOFTWARE SOFTWARE} keys, the AAD must be no larger than
437
+ # 64KiB. For {::Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} keys, the combined length of the
438
438
  # plaintext and additional_authenticated_data fields must be no larger than
439
439
  # 8KiB.
440
440
  class EncryptRequest
441
- include Google::Protobuf::MessageExts
442
- extend Google::Protobuf::MessageExts::ClassMethods
441
+ include ::Google::Protobuf::MessageExts
442
+ extend ::Google::Protobuf::MessageExts::ClassMethods
443
443
  end
444
444
 
445
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#decrypt KeyManagementService.Decrypt}.
445
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#decrypt KeyManagementService.Decrypt}.
446
446
  # @!attribute [rw] name
447
- # @return [String]
448
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} to use for decryption.
447
+ # @return [::String]
448
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} to use for decryption.
449
449
  # The server will choose the appropriate version.
450
450
  # @!attribute [rw] ciphertext
451
- # @return [String]
451
+ # @return [::String]
452
452
  # Required. The encrypted data originally returned in
453
- # {Google::Cloud::Kms::V1::EncryptResponse#ciphertext EncryptResponse.ciphertext}.
453
+ # {::Google::Cloud::Kms::V1::EncryptResponse#ciphertext EncryptResponse.ciphertext}.
454
454
  # @!attribute [rw] additional_authenticated_data
455
- # @return [String]
455
+ # @return [::String]
456
456
  # Optional. Optional data that must match the data originally supplied in
457
- # {Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}.
457
+ # {::Google::Cloud::Kms::V1::EncryptRequest#additional_authenticated_data EncryptRequest.additional_authenticated_data}.
458
458
  class DecryptRequest
459
- include Google::Protobuf::MessageExts
460
- extend Google::Protobuf::MessageExts::ClassMethods
459
+ include ::Google::Protobuf::MessageExts
460
+ extend ::Google::Protobuf::MessageExts::ClassMethods
461
461
  end
462
462
 
463
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_sign KeyManagementService.AsymmetricSign}.
463
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_sign KeyManagementService.AsymmetricSign}.
464
464
  # @!attribute [rw] name
465
- # @return [String]
466
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use for signing.
465
+ # @return [::String]
466
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use for signing.
467
467
  # @!attribute [rw] digest
468
- # @return [Google::Cloud::Kms::V1::Digest]
468
+ # @return [::Google::Cloud::Kms::V1::Digest]
469
469
  # Required. The digest of the data to sign. The digest must be produced with
470
470
  # the same digest algorithm as specified by the key version's
471
- # {Google::Cloud::Kms::V1::CryptoKeyVersion#algorithm algorithm}.
471
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersion#algorithm algorithm}.
472
472
  class AsymmetricSignRequest
473
- include Google::Protobuf::MessageExts
474
- extend Google::Protobuf::MessageExts::ClassMethods
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
475
  end
476
476
 
477
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_decrypt KeyManagementService.AsymmetricDecrypt}.
477
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_decrypt KeyManagementService.AsymmetricDecrypt}.
478
478
  # @!attribute [rw] name
479
- # @return [String]
480
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use for
479
+ # @return [::String]
480
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use for
481
481
  # decryption.
482
482
  # @!attribute [rw] ciphertext
483
- # @return [String]
484
- # Required. The data encrypted with the named {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}'s public
483
+ # @return [::String]
484
+ # Required. The data encrypted with the named {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion}'s public
485
485
  # key using OAEP.
486
486
  class AsymmetricDecryptRequest
487
- include Google::Protobuf::MessageExts
488
- extend Google::Protobuf::MessageExts::ClassMethods
487
+ include ::Google::Protobuf::MessageExts
488
+ extend ::Google::Protobuf::MessageExts::ClassMethods
489
489
  end
490
490
 
491
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#decrypt KeyManagementService.Decrypt}.
491
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#decrypt KeyManagementService.Decrypt}.
492
492
  # @!attribute [rw] plaintext
493
- # @return [String]
494
- # The decrypted data originally supplied in {Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}.
493
+ # @return [::String]
494
+ # The decrypted data originally supplied in {::Google::Cloud::Kms::V1::EncryptRequest#plaintext EncryptRequest.plaintext}.
495
495
  class DecryptResponse
496
- include Google::Protobuf::MessageExts
497
- extend Google::Protobuf::MessageExts::ClassMethods
496
+ include ::Google::Protobuf::MessageExts
497
+ extend ::Google::Protobuf::MessageExts::ClassMethods
498
498
  end
499
499
 
500
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#encrypt KeyManagementService.Encrypt}.
500
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#encrypt KeyManagementService.Encrypt}.
501
501
  # @!attribute [rw] name
502
- # @return [String]
503
- # The resource name of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} used in encryption. Check
502
+ # @return [::String]
503
+ # The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} used in encryption. Check
504
504
  # this field to verify that the intended resource was used for encryption.
505
505
  # @!attribute [rw] ciphertext
506
- # @return [String]
506
+ # @return [::String]
507
507
  # The encrypted data.
508
508
  class EncryptResponse
509
- include Google::Protobuf::MessageExts
510
- extend Google::Protobuf::MessageExts::ClassMethods
509
+ include ::Google::Protobuf::MessageExts
510
+ extend ::Google::Protobuf::MessageExts::ClassMethods
511
511
  end
512
512
 
513
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_sign KeyManagementService.AsymmetricSign}.
513
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_sign KeyManagementService.AsymmetricSign}.
514
514
  # @!attribute [rw] signature
515
- # @return [String]
515
+ # @return [::String]
516
516
  # The created signature.
517
517
  class AsymmetricSignResponse
518
- include Google::Protobuf::MessageExts
519
- extend Google::Protobuf::MessageExts::ClassMethods
518
+ include ::Google::Protobuf::MessageExts
519
+ extend ::Google::Protobuf::MessageExts::ClassMethods
520
520
  end
521
521
 
522
- # Response message for {Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_decrypt KeyManagementService.AsymmetricDecrypt}.
522
+ # Response message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#asymmetric_decrypt KeyManagementService.AsymmetricDecrypt}.
523
523
  # @!attribute [rw] plaintext
524
- # @return [String]
524
+ # @return [::String]
525
525
  # The decrypted data originally encrypted with the matching public key.
526
526
  class AsymmetricDecryptResponse
527
- include Google::Protobuf::MessageExts
528
- extend Google::Protobuf::MessageExts::ClassMethods
527
+ include ::Google::Protobuf::MessageExts
528
+ extend ::Google::Protobuf::MessageExts::ClassMethods
529
529
  end
530
530
 
531
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key_primary_version KeyManagementService.UpdateCryptoKeyPrimaryVersion}.
531
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#update_crypto_key_primary_version KeyManagementService.UpdateCryptoKeyPrimaryVersion}.
532
532
  # @!attribute [rw] name
533
- # @return [String]
534
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKey CryptoKey} to update.
533
+ # @return [::String]
534
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKey CryptoKey} to update.
535
535
  # @!attribute [rw] crypto_key_version_id
536
- # @return [String]
537
- # Required. The id of the child {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use as primary.
536
+ # @return [::String]
537
+ # Required. The id of the child {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to use as primary.
538
538
  class UpdateCryptoKeyPrimaryVersionRequest
539
- include Google::Protobuf::MessageExts
540
- extend Google::Protobuf::MessageExts::ClassMethods
539
+ include ::Google::Protobuf::MessageExts
540
+ extend ::Google::Protobuf::MessageExts::ClassMethods
541
541
  end
542
542
 
543
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#destroy_crypto_key_version KeyManagementService.DestroyCryptoKeyVersion}.
543
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#destroy_crypto_key_version KeyManagementService.DestroyCryptoKeyVersion}.
544
544
  # @!attribute [rw] name
545
- # @return [String]
546
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to destroy.
545
+ # @return [::String]
546
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to destroy.
547
547
  class DestroyCryptoKeyVersionRequest
548
- include Google::Protobuf::MessageExts
549
- extend Google::Protobuf::MessageExts::ClassMethods
548
+ include ::Google::Protobuf::MessageExts
549
+ extend ::Google::Protobuf::MessageExts::ClassMethods
550
550
  end
551
551
 
552
- # Request message for {Google::Cloud::Kms::V1::KeyManagementService::Client#restore_crypto_key_version KeyManagementService.RestoreCryptoKeyVersion}.
552
+ # Request message for {::Google::Cloud::Kms::V1::KeyManagementService::Client#restore_crypto_key_version KeyManagementService.RestoreCryptoKeyVersion}.
553
553
  # @!attribute [rw] name
554
- # @return [String]
555
- # Required. The resource name of the {Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to restore.
554
+ # @return [::String]
555
+ # Required. The resource name of the {::Google::Cloud::Kms::V1::CryptoKeyVersion CryptoKeyVersion} to restore.
556
556
  class RestoreCryptoKeyVersionRequest
557
- include Google::Protobuf::MessageExts
558
- extend Google::Protobuf::MessageExts::ClassMethods
557
+ include ::Google::Protobuf::MessageExts
558
+ extend ::Google::Protobuf::MessageExts::ClassMethods
559
559
  end
560
560
 
561
- # A {Google::Cloud::Kms::V1::Digest Digest} holds a cryptographic message digest.
561
+ # A {::Google::Cloud::Kms::V1::Digest Digest} holds a cryptographic message digest.
562
562
  # @!attribute [rw] sha256
563
- # @return [String]
563
+ # @return [::String]
564
564
  # A message digest produced with the SHA-256 algorithm.
565
565
  # @!attribute [rw] sha384
566
- # @return [String]
566
+ # @return [::String]
567
567
  # A message digest produced with the SHA-384 algorithm.
568
568
  # @!attribute [rw] sha512
569
- # @return [String]
569
+ # @return [::String]
570
570
  # A message digest produced with the SHA-512 algorithm.
571
571
  class Digest
572
- include Google::Protobuf::MessageExts
573
- extend Google::Protobuf::MessageExts::ClassMethods
572
+ include ::Google::Protobuf::MessageExts
573
+ extend ::Google::Protobuf::MessageExts::ClassMethods
574
574
  end
575
575
 
576
576
  # Cloud KMS metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
577
577
  # @!attribute [rw] hsm_available
578
- # @return [Boolean]
579
- # Indicates whether {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
580
- # {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
581
- # {Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} can be created in this location.
578
+ # @return [::Boolean]
579
+ # Indicates whether {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
580
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
581
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::HSM HSM} can be created in this location.
582
582
  # @!attribute [rw] ekm_available
583
- # @return [Boolean]
584
- # Indicates whether {Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
585
- # {Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
586
- # {Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL EXTERNAL} can be created in this location.
583
+ # @return [::Boolean]
584
+ # Indicates whether {::Google::Cloud::Kms::V1::CryptoKey CryptoKeys} with
585
+ # {::Google::Cloud::Kms::V1::CryptoKeyVersionTemplate#protection_level protection_level}
586
+ # {::Google::Cloud::Kms::V1::ProtectionLevel::EXTERNAL EXTERNAL} can be created in this location.
587
587
  class LocationMetadata
588
- include Google::Protobuf::MessageExts
589
- extend Google::Protobuf::MessageExts::ClassMethods
588
+ include ::Google::Protobuf::MessageExts
589
+ extend ::Google::Protobuf::MessageExts::ClassMethods
590
590
  end
591
591
  end
592
592
  end