google-cloud-security-private_ca-v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-security-private_ca-v1beta1.rb +21 -0
  7. data/lib/google/cloud/security/private_ca/v1beta1.rb +37 -0
  8. data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service.rb +53 -0
  9. data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/client.rb +2065 -0
  10. data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/credentials.rb +53 -0
  11. data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/operations.rb +572 -0
  12. data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/paths.rb +132 -0
  13. data/lib/google/cloud/security/private_ca/v1beta1/version.rb +30 -0
  14. data/lib/google/cloud/security/privateca/v1beta1/resources_pb.rb +330 -0
  15. data/lib/google/cloud/security/privateca/v1beta1/service_pb.rb +184 -0
  16. data/lib/google/cloud/security/privateca/v1beta1/service_services_pb.rb +99 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/field_behavior.rb +59 -0
  19. data/proto_docs/google/api/resource.rb +283 -0
  20. data/proto_docs/google/cloud/security/privateca/v1beta1/resources.rb +981 -0
  21. data/proto_docs/google/cloud/security/privateca/v1beta1/service.rb +633 -0
  22. data/proto_docs/google/longrunning/operations.rb +150 -0
  23. data/proto_docs/google/protobuf/any.rb +138 -0
  24. data/proto_docs/google/protobuf/duration.rb +98 -0
  25. data/proto_docs/google/protobuf/empty.rb +36 -0
  26. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  27. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  28. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  29. data/proto_docs/google/rpc/status.rb +46 -0
  30. metadata +212 -0
@@ -0,0 +1,633 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 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 Security
23
+ module PrivateCA
24
+ module V1beta1
25
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#create_certificate CertificateAuthorityService.CreateCertificate}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The resource name of the location and {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority}
29
+ # associated with the {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificate}, in the format
30
+ # `projects/*/locations/*/certificateAuthorities/*`.
31
+ # @!attribute [rw] certificate_id
32
+ # @return [::String]
33
+ # Optional. It must be unique within a location and match the regular
34
+ # expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a
35
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the Enterprise {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::Tier CertificateAuthority.Tier},
36
+ # but is optional and its value is ignored otherwise.
37
+ # @!attribute [rw] certificate
38
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::Certificate]
39
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificate} with initial field values.
40
+ # @!attribute [rw] request_id
41
+ # @return [::String]
42
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
43
+ # retry your request, the server will know to ignore the request if it has
44
+ # already been completed. The server will guarantee that for at least 60
45
+ # minutes since the first request.
46
+ #
47
+ # For example, consider a situation where you make an initial request and t
48
+ # he request times out. If you make the request again with the same request
49
+ # ID, the server can check if original operation with the same request ID
50
+ # was received, and if so, will ignore the second request. This prevents
51
+ # clients from accidentally creating duplicate commitments.
52
+ #
53
+ # The request ID must be a valid UUID with the exception that zero UUID is
54
+ # not supported (00000000-0000-0000-0000-000000000000).
55
+ class CreateCertificateRequest
56
+ include ::Google::Protobuf::MessageExts
57
+ extend ::Google::Protobuf::MessageExts::ClassMethods
58
+ end
59
+
60
+ # Request message for
61
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#get_certificate CertificateAuthorityService.GetCertificate}.
62
+ # @!attribute [rw] name
63
+ # @return [::String]
64
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate#name name} of the {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificate} to get.
65
+ class GetCertificateRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificates CertificateAuthorityService.ListCertificates}.
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. The resource name of the location associated with the
74
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificates}, in the format
75
+ # `projects/*/locations/*/certificateauthorities/*`.
76
+ # @!attribute [rw] page_size
77
+ # @return [::Integer]
78
+ # Optional. Limit on the number of
79
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificates} to include in the
80
+ # response. Further {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificates} can subsequently be obtained
81
+ # by including the
82
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificatesResponse#next_page_token ListCertificatesResponse.next_page_token} in a subsequent
83
+ # request. If unspecified, the server will pick an appropriate default.
84
+ # @!attribute [rw] page_token
85
+ # @return [::String]
86
+ # Optional. Pagination token, returned earlier via
87
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificatesResponse#next_page_token ListCertificatesResponse.next_page_token}.
88
+ # @!attribute [rw] filter
89
+ # @return [::String]
90
+ # Optional. Only include resources that match the filter in the response. For details
91
+ # on supported filters and syntax, see [Certificates Filtering
92
+ # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support).
93
+ # @!attribute [rw] order_by
94
+ # @return [::String]
95
+ # Optional. Specify how the results should be sorted. For details on supported fields
96
+ # and syntax, see [Certificates Sorting
97
+ # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
98
+ class ListCertificatesRequest
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # Response message for {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificates CertificateAuthorityService.ListCertificates}.
104
+ # @!attribute [rw] certificates
105
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1beta1::Certificate>]
106
+ # The list of {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificates}.
107
+ # @!attribute [rw] next_page_token
108
+ # @return [::String]
109
+ # A token to retrieve next page of results. Pass this value in
110
+ # [ListCertificatesRequest.next_page_token][] to retrieve the
111
+ # next page of results.
112
+ # @!attribute [rw] unreachable
113
+ # @return [::Array<::String>]
114
+ # A list of locations (e.g. "us-west1") that could not be reached.
115
+ class ListCertificatesResponse
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+
120
+ # Request message for
121
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#revoke_certificate CertificateAuthorityService.RevokeCertificate}.
122
+ # @!attribute [rw] name
123
+ # @return [::String]
124
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificate} in the
125
+ # format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
126
+ # @!attribute [rw] reason
127
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::RevocationReason]
128
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1beta1::RevocationReason RevocationReason} for revoking this certificate.
129
+ # @!attribute [rw] request_id
130
+ # @return [::String]
131
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
132
+ # retry your request, the server will know to ignore the request if it has
133
+ # already been completed. The server will guarantee that for at least 60
134
+ # minutes since the first request.
135
+ #
136
+ # For example, consider a situation where you make an initial request and t
137
+ # he request times out. If you make the request again with the same request
138
+ # ID, the server can check if original operation with the same request ID
139
+ # was received, and if so, will ignore the second request. This prevents
140
+ # clients from accidentally creating duplicate commitments.
141
+ #
142
+ # The request ID must be a valid UUID with the exception that zero UUID is
143
+ # not supported (00000000-0000-0000-0000-000000000000).
144
+ class RevokeCertificateRequest
145
+ include ::Google::Protobuf::MessageExts
146
+ extend ::Google::Protobuf::MessageExts::ClassMethods
147
+ end
148
+
149
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#update_certificate CertificateAuthorityService.UpdateCertificate}.
150
+ # @!attribute [rw] certificate
151
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::Certificate]
152
+ # Required. {::Google::Cloud::Security::PrivateCA::V1beta1::Certificate Certificate} with updated values.
153
+ # @!attribute [rw] update_mask
154
+ # @return [::Google::Protobuf::FieldMask]
155
+ # Required. A list of fields to be updated in this request.
156
+ # @!attribute [rw] request_id
157
+ # @return [::String]
158
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
159
+ # retry your request, the server will know to ignore the request if it has
160
+ # already been completed. The server will guarantee that for at least 60
161
+ # minutes since the first request.
162
+ #
163
+ # For example, consider a situation where you make an initial request and t
164
+ # he request times out. If you make the request again with the same request
165
+ # ID, the server can check if original operation with the same request ID
166
+ # was received, and if so, will ignore the second request. This prevents
167
+ # clients from accidentally creating duplicate commitments.
168
+ #
169
+ # The request ID must be a valid UUID with the exception that zero UUID is
170
+ # not supported (00000000-0000-0000-0000-000000000000).
171
+ class UpdateCertificateRequest
172
+ include ::Google::Protobuf::MessageExts
173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
174
+ end
175
+
176
+ # Request message for
177
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#activate_certificate_authority CertificateAuthorityService.ActivateCertificateAuthority}.
178
+ # @!attribute [rw] name
179
+ # @return [::String]
180
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
181
+ # format `projects/*/locations/*/certificateAuthorities/*`.
182
+ # @!attribute [rw] pem_ca_certificate
183
+ # @return [::String]
184
+ # Required. The signed CA certificate issued from
185
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::FetchCertificateAuthorityCsrResponse#pem_csr FetchCertificateAuthorityCsrResponse.pem_csr}.
186
+ # @!attribute [rw] subordinate_config
187
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::SubordinateConfig]
188
+ # Required. Must include information about the issuer of 'pem_ca_certificate', and any
189
+ # further issuers until the self-signed CA.
190
+ # @!attribute [rw] request_id
191
+ # @return [::String]
192
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
193
+ # retry your request, the server will know to ignore the request if it has
194
+ # already been completed. The server will guarantee that for at least 60
195
+ # minutes since the first request.
196
+ #
197
+ # For example, consider a situation where you make an initial request and t
198
+ # he request times out. If you make the request again with the same request
199
+ # ID, the server can check if original operation with the same request ID
200
+ # was received, and if so, will ignore the second request. This prevents
201
+ # clients from accidentally creating duplicate commitments.
202
+ #
203
+ # The request ID must be a valid UUID with the exception that zero UUID is
204
+ # not supported (00000000-0000-0000-0000-000000000000).
205
+ class ActivateCertificateAuthorityRequest
206
+ include ::Google::Protobuf::MessageExts
207
+ extend ::Google::Protobuf::MessageExts::ClassMethods
208
+ end
209
+
210
+ # Request message for
211
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#create_certificate_authority CertificateAuthorityService.CreateCertificateAuthority}.
212
+ # @!attribute [rw] parent
213
+ # @return [::String]
214
+ # Required. The resource name of the location associated with the
215
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthorities}, in the format
216
+ # `projects/*/locations/*`.
217
+ # @!attribute [rw] certificate_authority_id
218
+ # @return [::String]
219
+ # Required. It must be unique within a location and match the regular
220
+ # expression `[a-zA-Z0-9_-]{1,63}`
221
+ # @!attribute [rw] certificate_authority
222
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority]
223
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} with initial field values.
224
+ # @!attribute [rw] request_id
225
+ # @return [::String]
226
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
227
+ # retry your request, the server will know to ignore the request if it has
228
+ # already been completed. The server will guarantee that for at least 60
229
+ # minutes since the first request.
230
+ #
231
+ # For example, consider a situation where you make an initial request and t
232
+ # he request times out. If you make the request again with the same request
233
+ # ID, the server can check if original operation with the same request ID
234
+ # was received, and if so, will ignore the second request. This prevents
235
+ # clients from accidentally creating duplicate commitments.
236
+ #
237
+ # The request ID must be a valid UUID with the exception that zero UUID is
238
+ # not supported (00000000-0000-0000-0000-000000000000).
239
+ class CreateCertificateAuthorityRequest
240
+ include ::Google::Protobuf::MessageExts
241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
242
+ end
243
+
244
+ # Request message for
245
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#disable_certificate_authority CertificateAuthorityService.DisableCertificateAuthority}.
246
+ # @!attribute [rw] name
247
+ # @return [::String]
248
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
249
+ # format `projects/*/locations/*/certificateAuthorities/*`.
250
+ # @!attribute [rw] request_id
251
+ # @return [::String]
252
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
253
+ # retry your request, the server will know to ignore the request if it has
254
+ # already been completed. The server will guarantee that for at least 60
255
+ # minutes since the first request.
256
+ #
257
+ # For example, consider a situation where you make an initial request and t
258
+ # he request times out. If you make the request again with the same request
259
+ # ID, the server can check if original operation with the same request ID
260
+ # was received, and if so, will ignore the second request. This prevents
261
+ # clients from accidentally creating duplicate commitments.
262
+ #
263
+ # The request ID must be a valid UUID with the exception that zero UUID is
264
+ # not supported (00000000-0000-0000-0000-000000000000).
265
+ class DisableCertificateAuthorityRequest
266
+ include ::Google::Protobuf::MessageExts
267
+ extend ::Google::Protobuf::MessageExts::ClassMethods
268
+ end
269
+
270
+ # Request message for
271
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#enable_certificate_authority CertificateAuthorityService.EnableCertificateAuthority}.
272
+ # @!attribute [rw] name
273
+ # @return [::String]
274
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
275
+ # format `projects/*/locations/*/certificateAuthorities/*`.
276
+ # @!attribute [rw] request_id
277
+ # @return [::String]
278
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
279
+ # retry your request, the server will know to ignore the request if it has
280
+ # already been completed. The server will guarantee that for at least 60
281
+ # minutes since the first request.
282
+ #
283
+ # For example, consider a situation where you make an initial request and t
284
+ # he request times out. If you make the request again with the same request
285
+ # ID, the server can check if original operation with the same request ID
286
+ # was received, and if so, will ignore the second request. This prevents
287
+ # clients from accidentally creating duplicate commitments.
288
+ #
289
+ # The request ID must be a valid UUID with the exception that zero UUID is
290
+ # not supported (00000000-0000-0000-0000-000000000000).
291
+ class EnableCertificateAuthorityRequest
292
+ include ::Google::Protobuf::MessageExts
293
+ extend ::Google::Protobuf::MessageExts::ClassMethods
294
+ end
295
+
296
+ # Request message for
297
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#fetch_certificate_authority_csr CertificateAuthorityService.FetchCertificateAuthorityCsr}.
298
+ # @!attribute [rw] name
299
+ # @return [::String]
300
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
301
+ # format `projects/*/locations/*/certificateAuthorities/*`.
302
+ class FetchCertificateAuthorityCsrRequest
303
+ include ::Google::Protobuf::MessageExts
304
+ extend ::Google::Protobuf::MessageExts::ClassMethods
305
+ end
306
+
307
+ # Response message for
308
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#fetch_certificate_authority_csr CertificateAuthorityService.FetchCertificateAuthorityCsr}.
309
+ # @!attribute [r] pem_csr
310
+ # @return [::String]
311
+ # Output only. The PEM-encoded signed certificate signing request (CSR).
312
+ class FetchCertificateAuthorityCsrResponse
313
+ include ::Google::Protobuf::MessageExts
314
+ extend ::Google::Protobuf::MessageExts::ClassMethods
315
+ end
316
+
317
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#get_certificate_authority CertificateAuthorityService.GetCertificateAuthority}.
318
+ # @!attribute [rw] name
319
+ # @return [::String]
320
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority#name name} of the {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} to
321
+ # get.
322
+ class GetCertificateAuthorityRequest
323
+ include ::Google::Protobuf::MessageExts
324
+ extend ::Google::Protobuf::MessageExts::ClassMethods
325
+ end
326
+
327
+ # Request message for
328
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificate_authorities CertificateAuthorityService.ListCertificateAuthorities}.
329
+ # @!attribute [rw] parent
330
+ # @return [::String]
331
+ # Required. The resource name of the location associated with the
332
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthorities}, in the format
333
+ # `projects/*/locations/*`.
334
+ # @!attribute [rw] page_size
335
+ # @return [::Integer]
336
+ # Optional. Limit on the number of {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthorities} to
337
+ # include in the response.
338
+ # Further {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthorities} can subsequently be
339
+ # obtained by including the
340
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateAuthoritiesResponse#next_page_token ListCertificateAuthoritiesResponse.next_page_token} in a subsequent
341
+ # request. If unspecified, the server will pick an appropriate default.
342
+ # @!attribute [rw] page_token
343
+ # @return [::String]
344
+ # Optional. Pagination token, returned earlier via
345
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateAuthoritiesResponse#next_page_token ListCertificateAuthoritiesResponse.next_page_token}.
346
+ # @!attribute [rw] filter
347
+ # @return [::String]
348
+ # Optional. Only include resources that match the filter in the response.
349
+ # @!attribute [rw] order_by
350
+ # @return [::String]
351
+ # Optional. Specify how the results should be sorted.
352
+ class ListCertificateAuthoritiesRequest
353
+ include ::Google::Protobuf::MessageExts
354
+ extend ::Google::Protobuf::MessageExts::ClassMethods
355
+ end
356
+
357
+ # Response message for
358
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificate_authorities CertificateAuthorityService.ListCertificateAuthorities}.
359
+ # @!attribute [rw] certificate_authorities
360
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority>]
361
+ # The list of {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthorities}.
362
+ # @!attribute [rw] next_page_token
363
+ # @return [::String]
364
+ # A token to retrieve next page of results. Pass this value in
365
+ # [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next
366
+ # page of results.
367
+ # @!attribute [rw] unreachable
368
+ # @return [::Array<::String>]
369
+ # A list of locations (e.g. "us-west1") that could not be reached.
370
+ class ListCertificateAuthoritiesResponse
371
+ include ::Google::Protobuf::MessageExts
372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
373
+ end
374
+
375
+ # Request message for
376
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#restore_certificate_authority CertificateAuthorityService.RestoreCertificateAuthority}.
377
+ # @!attribute [rw] name
378
+ # @return [::String]
379
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
380
+ # format `projects/*/locations/*/certificateAuthorities/*`.
381
+ # @!attribute [rw] request_id
382
+ # @return [::String]
383
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
384
+ # retry your request, the server will know to ignore the request if it has
385
+ # already been completed. The server will guarantee that for at least 60
386
+ # minutes since the first request.
387
+ #
388
+ # For example, consider a situation where you make an initial request and t
389
+ # he request times out. If you make the request again with the same request
390
+ # ID, the server can check if original operation with the same request ID
391
+ # was received, and if so, will ignore the second request. This prevents
392
+ # clients from accidentally creating duplicate commitments.
393
+ #
394
+ # The request ID must be a valid UUID with the exception that zero UUID is
395
+ # not supported (00000000-0000-0000-0000-000000000000).
396
+ class RestoreCertificateAuthorityRequest
397
+ include ::Google::Protobuf::MessageExts
398
+ extend ::Google::Protobuf::MessageExts::ClassMethods
399
+ end
400
+
401
+ # Request message for
402
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#schedule_delete_certificate_authority CertificateAuthorityService.ScheduleDeleteCertificateAuthority}.
403
+ # @!attribute [rw] name
404
+ # @return [::String]
405
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} in the
406
+ # format `projects/*/locations/*/certificateAuthorities/*`.
407
+ # @!attribute [rw] request_id
408
+ # @return [::String]
409
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
410
+ # retry your request, the server will know to ignore the request if it has
411
+ # already been completed. The server will guarantee that for at least 60
412
+ # minutes since the first request.
413
+ #
414
+ # For example, consider a situation where you make an initial request and t
415
+ # he request times out. If you make the request again with the same request
416
+ # ID, the server can check if original operation with the same request ID
417
+ # was received, and if so, will ignore the second request. This prevents
418
+ # clients from accidentally creating duplicate commitments.
419
+ #
420
+ # The request ID must be a valid UUID with the exception that zero UUID is
421
+ # not supported (00000000-0000-0000-0000-000000000000).
422
+ class ScheduleDeleteCertificateAuthorityRequest
423
+ include ::Google::Protobuf::MessageExts
424
+ extend ::Google::Protobuf::MessageExts::ClassMethods
425
+ end
426
+
427
+ # Request message for
428
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#update_certificate_authority CertificateAuthorityService.UpdateCertificateAuthority}.
429
+ # @!attribute [rw] certificate_authority
430
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority]
431
+ # Required. {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority CertificateAuthority} with updated values.
432
+ # @!attribute [rw] update_mask
433
+ # @return [::Google::Protobuf::FieldMask]
434
+ # Required. A list of fields to be updated in this request.
435
+ # @!attribute [rw] request_id
436
+ # @return [::String]
437
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
438
+ # retry your request, the server will know to ignore the request if it has
439
+ # already been completed. The server will guarantee that for at least 60
440
+ # minutes since the first request.
441
+ #
442
+ # For example, consider a situation where you make an initial request and t
443
+ # he request times out. If you make the request again with the same request
444
+ # ID, the server can check if original operation with the same request ID
445
+ # was received, and if so, will ignore the second request. This prevents
446
+ # clients from accidentally creating duplicate commitments.
447
+ #
448
+ # The request ID must be a valid UUID with the exception that zero UUID is
449
+ # not supported (00000000-0000-0000-0000-000000000000).
450
+ class UpdateCertificateAuthorityRequest
451
+ include ::Google::Protobuf::MessageExts
452
+ extend ::Google::Protobuf::MessageExts::ClassMethods
453
+ end
454
+
455
+ # Request message for
456
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#get_certificate_revocation_list CertificateAuthorityService.GetCertificateRevocationList}.
457
+ # @!attribute [rw] name
458
+ # @return [::String]
459
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList#name name} of the
460
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationList} to get.
461
+ class GetCertificateRevocationListRequest
462
+ include ::Google::Protobuf::MessageExts
463
+ extend ::Google::Protobuf::MessageExts::ClassMethods
464
+ end
465
+
466
+ # Request message for
467
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificate_revocation_lists CertificateAuthorityService.ListCertificateRevocationLists}.
468
+ # @!attribute [rw] parent
469
+ # @return [::String]
470
+ # Required. The resource name of the location associated with the
471
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationLists}, in the format
472
+ # `projects/*/locations/*/certificateauthorities/*`.
473
+ # @!attribute [rw] page_size
474
+ # @return [::Integer]
475
+ # Optional. Limit on the number of
476
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationLists} to include in the
477
+ # response. Further {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationLists}
478
+ # can subsequently be obtained by including the
479
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateRevocationListsResponse#next_page_token ListCertificateRevocationListsResponse.next_page_token} in a subsequent
480
+ # request. If unspecified, the server will pick an appropriate default.
481
+ # @!attribute [rw] page_token
482
+ # @return [::String]
483
+ # Optional. Pagination token, returned earlier via
484
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateRevocationListsResponse#next_page_token ListCertificateRevocationListsResponse.next_page_token}.
485
+ # @!attribute [rw] filter
486
+ # @return [::String]
487
+ # Optional. Only include resources that match the filter in the response.
488
+ # @!attribute [rw] order_by
489
+ # @return [::String]
490
+ # Optional. Specify how the results should be sorted.
491
+ class ListCertificateRevocationListsRequest
492
+ include ::Google::Protobuf::MessageExts
493
+ extend ::Google::Protobuf::MessageExts::ClassMethods
494
+ end
495
+
496
+ # Response message for
497
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_certificate_revocation_lists CertificateAuthorityService.ListCertificateRevocationLists}.
498
+ # @!attribute [rw] certificate_revocation_lists
499
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList>]
500
+ # The list of {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationLists}.
501
+ # @!attribute [rw] next_page_token
502
+ # @return [::String]
503
+ # A token to retrieve next page of results. Pass this value in
504
+ # [ListCertificateRevocationListsRequest.next_page_token][] to retrieve the
505
+ # next page of results.
506
+ # @!attribute [rw] unreachable
507
+ # @return [::Array<::String>]
508
+ # A list of locations (e.g. "us-west1") that could not be reached.
509
+ class ListCertificateRevocationListsResponse
510
+ include ::Google::Protobuf::MessageExts
511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
512
+ end
513
+
514
+ # Request message for
515
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#update_certificate_revocation_list CertificateAuthorityService.UpdateCertificateRevocationList}.
516
+ # @!attribute [rw] certificate_revocation_list
517
+ # @return [::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList]
518
+ # Required. {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList CertificateRevocationList} with updated values.
519
+ # @!attribute [rw] update_mask
520
+ # @return [::Google::Protobuf::FieldMask]
521
+ # Required. A list of fields to be updated in this request.
522
+ # @!attribute [rw] request_id
523
+ # @return [::String]
524
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
525
+ # retry your request, the server will know to ignore the request if it has
526
+ # already been completed. The server will guarantee that for at least 60
527
+ # minutes since the first request.
528
+ #
529
+ # For example, consider a situation where you make an initial request and t
530
+ # he request times out. If you make the request again with the same request
531
+ # ID, the server can check if original operation with the same request ID
532
+ # was received, and if so, will ignore the second request. This prevents
533
+ # clients from accidentally creating duplicate commitments.
534
+ #
535
+ # The request ID must be a valid UUID with the exception that zero UUID is
536
+ # not supported (00000000-0000-0000-0000-000000000000).
537
+ class UpdateCertificateRevocationListRequest
538
+ include ::Google::Protobuf::MessageExts
539
+ extend ::Google::Protobuf::MessageExts::ClassMethods
540
+ end
541
+
542
+ # Request message for
543
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#get_reusable_config CertificateAuthorityService.GetReusableConfig}.
544
+ # @!attribute [rw] name
545
+ # @return [::String]
546
+ # Required. The [name][ReusableConfigs.name] of the [ReusableConfigs][] to get.
547
+ class GetReusableConfigRequest
548
+ include ::Google::Protobuf::MessageExts
549
+ extend ::Google::Protobuf::MessageExts::ClassMethods
550
+ end
551
+
552
+ # Request message for
553
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_reusable_configs CertificateAuthorityService.ListReusableConfigs}.
554
+ # @!attribute [rw] parent
555
+ # @return [::String]
556
+ # Required. The resource name of the location associated with the
557
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig ReusableConfigs}, in the format
558
+ # `projects/*/locations/*`.
559
+ # @!attribute [rw] page_size
560
+ # @return [::Integer]
561
+ # Optional. Limit on the number of
562
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig ReusableConfigs} to include in the response.
563
+ # Further {::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig ReusableConfigs} can subsequently be
564
+ # obtained by including the
565
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse#next_page_token ListReusableConfigsResponse.next_page_token} in a subsequent request. If
566
+ # unspecified, the server will pick an appropriate default.
567
+ # @!attribute [rw] page_token
568
+ # @return [::String]
569
+ # Optional. Pagination token, returned earlier via
570
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse#next_page_token ListReusableConfigsResponse.next_page_token}.
571
+ # @!attribute [rw] filter
572
+ # @return [::String]
573
+ # Optional. Only include resources that match the filter in the response.
574
+ # @!attribute [rw] order_by
575
+ # @return [::String]
576
+ # Optional. Specify how the results should be sorted.
577
+ class ListReusableConfigsRequest
578
+ include ::Google::Protobuf::MessageExts
579
+ extend ::Google::Protobuf::MessageExts::ClassMethods
580
+ end
581
+
582
+ # Response message for
583
+ # {::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client#list_reusable_configs CertificateAuthorityService.ListReusableConfigs}.
584
+ # @!attribute [rw] reusable_configs
585
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig>]
586
+ # The list of {::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig ReusableConfigs}.
587
+ # @!attribute [rw] next_page_token
588
+ # @return [::String]
589
+ # A token to retrieve next page of results. Pass this value in
590
+ # [ListReusableConfigsRequest.next_page_token][] to retrieve
591
+ # the next page of results.
592
+ # @!attribute [rw] unreachable
593
+ # @return [::Array<::String>]
594
+ # A list of locations (e.g. "us-west1") that could not be reached.
595
+ class ListReusableConfigsResponse
596
+ include ::Google::Protobuf::MessageExts
597
+ extend ::Google::Protobuf::MessageExts::ClassMethods
598
+ end
599
+
600
+ # Represents the metadata of the long-running operation.
601
+ # @!attribute [r] create_time
602
+ # @return [::Google::Protobuf::Timestamp]
603
+ # Output only. The time the operation was created.
604
+ # @!attribute [r] end_time
605
+ # @return [::Google::Protobuf::Timestamp]
606
+ # Output only. The time the operation finished running.
607
+ # @!attribute [r] target
608
+ # @return [::String]
609
+ # Output only. Server-defined resource path for the target of the operation.
610
+ # @!attribute [r] verb
611
+ # @return [::String]
612
+ # Output only. Name of the verb executed by the operation.
613
+ # @!attribute [r] status_message
614
+ # @return [::String]
615
+ # Output only. Human-readable status of the operation, if any.
616
+ # @!attribute [r] requested_cancellation
617
+ # @return [::Boolean]
618
+ # Output only. Identifies whether the user has requested cancellation
619
+ # of the operation. Operations that have successfully been cancelled
620
+ # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
621
+ # corresponding to `Code.CANCELLED`.
622
+ # @!attribute [r] api_version
623
+ # @return [::String]
624
+ # Output only. API version used to start the operation.
625
+ class OperationMetadata
626
+ include ::Google::Protobuf::MessageExts
627
+ extend ::Google::Protobuf::MessageExts::ClassMethods
628
+ end
629
+ end
630
+ end
631
+ end
632
+ end
633
+ end