google-cloud-security-private_ca-v1 0.1.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 (30) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google-cloud-security-private_ca-v1.rb +21 -0
  7. data/lib/google/cloud/security/private_ca/v1.rb +40 -0
  8. data/lib/google/cloud/security/private_ca/v1/certificate_authority_service.rb +53 -0
  9. data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +2891 -0
  10. data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/credentials.rb +53 -0
  11. data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +657 -0
  12. data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/paths.rb +155 -0
  13. data/lib/google/cloud/security/private_ca/v1/version.rb +30 -0
  14. data/lib/google/cloud/security/privateca/v1/resources_pb.rb +368 -0
  15. data/lib/google/cloud/security/privateca/v1/service_pb.rb +254 -0
  16. data/lib/google/cloud/security/privateca/v1/service_services_pb.rb +119 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/field_behavior.rb +65 -0
  19. data/proto_docs/google/api/resource.rb +283 -0
  20. data/proto_docs/google/cloud/security/privateca/v1/resources.rb +1188 -0
  21. data/proto_docs/google/cloud/security/privateca/v1/service.rb +934 -0
  22. data/proto_docs/google/longrunning/operations.rb +164 -0
  23. data/proto_docs/google/protobuf/any.rb +141 -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 +129 -0
  28. data/proto_docs/google/rpc/status.rb +46 -0
  29. data/proto_docs/google/type/expr.rb +75 -0
  30. metadata +221 -0
@@ -0,0 +1,934 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 V1
25
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#create_certificate CertificateAuthorityService.CreateCertificate}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The resource name of the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} associated with the {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate},
29
+ # in the format `projects/*/locations/*/caPools/*`.
30
+ # @!attribute [rw] certificate_id
31
+ # @return [::String]
32
+ # Optional. It must be unique within a location and match the regular
33
+ # expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a
34
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the Enterprise [CertificateAuthority.Tier][],
35
+ # but is optional and its value is ignored otherwise.
36
+ # @!attribute [rw] certificate
37
+ # @return [::Google::Cloud::Security::PrivateCA::V1::Certificate]
38
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} with initial field values.
39
+ # @!attribute [rw] request_id
40
+ # @return [::String]
41
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
42
+ # retry your request, the server will know to ignore the request if it has
43
+ # already been completed. The server will guarantee that for at least 60
44
+ # minutes since the first request.
45
+ #
46
+ # For example, consider a situation where you make an initial request and t
47
+ # he request times out. If you make the request again with the same request
48
+ # ID, the server can check if original operation with the same request ID
49
+ # was received, and if so, will ignore the second request. This prevents
50
+ # clients from accidentally creating duplicate commitments.
51
+ #
52
+ # The request ID must be a valid UUID with the exception that zero UUID is
53
+ # not supported (00000000-0000-0000-0000-000000000000).
54
+ # @!attribute [rw] validate_only
55
+ # @return [::Boolean]
56
+ # Optional. If this is true, no {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} resource will be persisted regardless
57
+ # of the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}'s {::Google::Cloud::Security::PrivateCA::V1::CaPool#tier tier}, and the returned {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate}
58
+ # will not contain the {::Google::Cloud::Security::PrivateCA::V1::Certificate#pem_certificate pem_certificate} field.
59
+ # @!attribute [rw] issuing_certificate_authority_id
60
+ # @return [::String]
61
+ # Optional. The resource ID of the {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} that should issue the
62
+ # certificate. This optional field will ignore the load-balancing scheme of
63
+ # the Pool and directly issue the certificate from the CA with the specified
64
+ # ID, contained in the same {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} referenced by `parent`. Per-CA quota
65
+ # rules apply. If left empty, a {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} will be chosen from
66
+ # the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} by the service. For example, to issue a {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} from
67
+ # a Certificate Authority with resource name
68
+ # "projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca",
69
+ # you can set the {::Google::Cloud::Security::PrivateCA::V1::CreateCertificateRequest#parent parent} to
70
+ # "projects/my-project/locations/us-central1/caPools/my-pool" and the
71
+ # {::Google::Cloud::Security::PrivateCA::V1::CreateCertificateRequest#issuing_certificate_authority_id issuing_certificate_authority_id} to "my-ca".
72
+ class CreateCertificateRequest
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Request message for
78
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#get_certificate CertificateAuthorityService.GetCertificate}.
79
+ # @!attribute [rw] name
80
+ # @return [::String]
81
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::Certificate#name name} of the {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} to get.
82
+ class GetCertificateRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificates CertificateAuthorityService.ListCertificates}.
88
+ # @!attribute [rw] parent
89
+ # @return [::String]
90
+ # Required. The resource name of the location associated with the
91
+ # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates}, in the format
92
+ # `projects/*/locations/*/caPools/*`.
93
+ # @!attribute [rw] page_size
94
+ # @return [::Integer]
95
+ # Optional. Limit on the number of
96
+ # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates} to include in the
97
+ # response. Further {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates} can subsequently be obtained
98
+ # by including the
99
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse#next_page_token ListCertificatesResponse.next_page_token} in a subsequent
100
+ # request. If unspecified, the server will pick an appropriate default.
101
+ # @!attribute [rw] page_token
102
+ # @return [::String]
103
+ # Optional. Pagination token, returned earlier via
104
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse#next_page_token ListCertificatesResponse.next_page_token}.
105
+ # @!attribute [rw] filter
106
+ # @return [::String]
107
+ # Optional. Only include resources that match the filter in the response. For details
108
+ # on supported filters and syntax, see [Certificates Filtering
109
+ # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support).
110
+ # @!attribute [rw] order_by
111
+ # @return [::String]
112
+ # Optional. Specify how the results should be sorted. For details on supported fields
113
+ # and syntax, see [Certificates Sorting
114
+ # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
115
+ class ListCertificatesRequest
116
+ include ::Google::Protobuf::MessageExts
117
+ extend ::Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+
120
+ # Response message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificates CertificateAuthorityService.ListCertificates}.
121
+ # @!attribute [rw] certificates
122
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::Certificate>]
123
+ # The list of {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificates}.
124
+ # @!attribute [rw] next_page_token
125
+ # @return [::String]
126
+ # A token to retrieve next page of results. Pass this value in
127
+ # [ListCertificatesRequest.next_page_token][] to retrieve the
128
+ # next page of results.
129
+ # @!attribute [rw] unreachable
130
+ # @return [::Array<::String>]
131
+ # A list of locations (e.g. "us-west1") that could not be reached.
132
+ class ListCertificatesResponse
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
136
+
137
+ # Request message for
138
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#revoke_certificate CertificateAuthorityService.RevokeCertificate}.
139
+ # @!attribute [rw] name
140
+ # @return [::String]
141
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} in the
142
+ # format
143
+ # `projects/*/locations/*/caPools/*/certificates/*`.
144
+ # @!attribute [rw] reason
145
+ # @return [::Google::Cloud::Security::PrivateCA::V1::RevocationReason]
146
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::RevocationReason RevocationReason} for revoking this certificate.
147
+ # @!attribute [rw] request_id
148
+ # @return [::String]
149
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
150
+ # retry your request, the server will know to ignore the request if it has
151
+ # already been completed. The server will guarantee that for at least 60
152
+ # minutes since the first request.
153
+ #
154
+ # For example, consider a situation where you make an initial request and t
155
+ # he request times out. If you make the request again with the same request
156
+ # ID, the server can check if original operation with the same request ID
157
+ # was received, and if so, will ignore the second request. This prevents
158
+ # clients from accidentally creating duplicate commitments.
159
+ #
160
+ # The request ID must be a valid UUID with the exception that zero UUID is
161
+ # not supported (00000000-0000-0000-0000-000000000000).
162
+ class RevokeCertificateRequest
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#update_certificate CertificateAuthorityService.UpdateCertificate}.
168
+ # @!attribute [rw] certificate
169
+ # @return [::Google::Cloud::Security::PrivateCA::V1::Certificate]
170
+ # Required. {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate} with updated values.
171
+ # @!attribute [rw] update_mask
172
+ # @return [::Google::Protobuf::FieldMask]
173
+ # Required. A list of fields to be updated in this request.
174
+ # @!attribute [rw] request_id
175
+ # @return [::String]
176
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
177
+ # retry your request, the server will know to ignore the request if it has
178
+ # already been completed. The server will guarantee that for at least 60
179
+ # minutes since the first request.
180
+ #
181
+ # For example, consider a situation where you make an initial request and t
182
+ # he request times out. If you make the request again with the same request
183
+ # ID, the server can check if original operation with the same request ID
184
+ # was received, and if so, will ignore the second request. This prevents
185
+ # clients from accidentally creating duplicate commitments.
186
+ #
187
+ # The request ID must be a valid UUID with the exception that zero UUID is
188
+ # not supported (00000000-0000-0000-0000-000000000000).
189
+ class UpdateCertificateRequest
190
+ include ::Google::Protobuf::MessageExts
191
+ extend ::Google::Protobuf::MessageExts::ClassMethods
192
+ end
193
+
194
+ # Request message for
195
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#activate_certificate_authority CertificateAuthorityService.ActivateCertificateAuthority}.
196
+ # @!attribute [rw] name
197
+ # @return [::String]
198
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
199
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
200
+ # @!attribute [rw] pem_ca_certificate
201
+ # @return [::String]
202
+ # Required. The signed CA certificate issued from
203
+ # {::Google::Cloud::Security::PrivateCA::V1::FetchCertificateAuthorityCsrResponse#pem_csr FetchCertificateAuthorityCsrResponse.pem_csr}.
204
+ # @!attribute [rw] subordinate_config
205
+ # @return [::Google::Cloud::Security::PrivateCA::V1::SubordinateConfig]
206
+ # Required. Must include information about the issuer of 'pem_ca_certificate', and any
207
+ # further issuers until the self-signed CA.
208
+ # @!attribute [rw] request_id
209
+ # @return [::String]
210
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
211
+ # retry your request, the server will know to ignore the request if it has
212
+ # already been completed. The server will guarantee that for at least 60
213
+ # minutes since the first request.
214
+ #
215
+ # For example, consider a situation where you make an initial request and t
216
+ # he request times out. If you make the request again with the same request
217
+ # ID, the server can check if original operation with the same request ID
218
+ # was received, and if so, will ignore the second request. This prevents
219
+ # clients from accidentally creating duplicate commitments.
220
+ #
221
+ # The request ID must be a valid UUID with the exception that zero UUID is
222
+ # not supported (00000000-0000-0000-0000-000000000000).
223
+ class ActivateCertificateAuthorityRequest
224
+ include ::Google::Protobuf::MessageExts
225
+ extend ::Google::Protobuf::MessageExts::ClassMethods
226
+ end
227
+
228
+ # Request message for
229
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#create_certificate_authority CertificateAuthorityService.CreateCertificateAuthority}.
230
+ # @!attribute [rw] parent
231
+ # @return [::String]
232
+ # Required. The resource name of the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} associated with the
233
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthorities}, in the format
234
+ # `projects/*/locations/*/caPools/*`.
235
+ # @!attribute [rw] certificate_authority_id
236
+ # @return [::String]
237
+ # Required. It must be unique within a location and match the regular
238
+ # expression `[a-zA-Z0-9_-]{1,63}`
239
+ # @!attribute [rw] certificate_authority
240
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority]
241
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} with initial field values.
242
+ # @!attribute [rw] request_id
243
+ # @return [::String]
244
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
245
+ # retry your request, the server will know to ignore the request if it has
246
+ # already been completed. The server will guarantee that for at least 60
247
+ # minutes since the first request.
248
+ #
249
+ # For example, consider a situation where you make an initial request and t
250
+ # he request times out. If you make the request again with the same request
251
+ # ID, the server can check if original operation with the same request ID
252
+ # was received, and if so, will ignore the second request. This prevents
253
+ # clients from accidentally creating duplicate commitments.
254
+ #
255
+ # The request ID must be a valid UUID with the exception that zero UUID is
256
+ # not supported (00000000-0000-0000-0000-000000000000).
257
+ class CreateCertificateAuthorityRequest
258
+ include ::Google::Protobuf::MessageExts
259
+ extend ::Google::Protobuf::MessageExts::ClassMethods
260
+ end
261
+
262
+ # Request message for
263
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#disable_certificate_authority CertificateAuthorityService.DisableCertificateAuthority}.
264
+ # @!attribute [rw] name
265
+ # @return [::String]
266
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
267
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
268
+ # @!attribute [rw] request_id
269
+ # @return [::String]
270
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
271
+ # retry your request, the server will know to ignore the request if it has
272
+ # already been completed. The server will guarantee that for at least 60
273
+ # minutes since the first request.
274
+ #
275
+ # For example, consider a situation where you make an initial request and t
276
+ # he request times out. If you make the request again with the same request
277
+ # ID, the server can check if original operation with the same request ID
278
+ # was received, and if so, will ignore the second request. This prevents
279
+ # clients from accidentally creating duplicate commitments.
280
+ #
281
+ # The request ID must be a valid UUID with the exception that zero UUID is
282
+ # not supported (00000000-0000-0000-0000-000000000000).
283
+ class DisableCertificateAuthorityRequest
284
+ include ::Google::Protobuf::MessageExts
285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
286
+ end
287
+
288
+ # Request message for
289
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#enable_certificate_authority CertificateAuthorityService.EnableCertificateAuthority}.
290
+ # @!attribute [rw] name
291
+ # @return [::String]
292
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
293
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
294
+ # @!attribute [rw] request_id
295
+ # @return [::String]
296
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
297
+ # retry your request, the server will know to ignore the request if it has
298
+ # already been completed. The server will guarantee that for at least 60
299
+ # minutes since the first request.
300
+ #
301
+ # For example, consider a situation where you make an initial request and t
302
+ # he request times out. If you make the request again with the same request
303
+ # ID, the server can check if original operation with the same request ID
304
+ # was received, and if so, will ignore the second request. This prevents
305
+ # clients from accidentally creating duplicate commitments.
306
+ #
307
+ # The request ID must be a valid UUID with the exception that zero UUID is
308
+ # not supported (00000000-0000-0000-0000-000000000000).
309
+ class EnableCertificateAuthorityRequest
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+ end
313
+
314
+ # Request message for
315
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#fetch_certificate_authority_csr CertificateAuthorityService.FetchCertificateAuthorityCsr}.
316
+ # @!attribute [rw] name
317
+ # @return [::String]
318
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
319
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
320
+ class FetchCertificateAuthorityCsrRequest
321
+ include ::Google::Protobuf::MessageExts
322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
323
+ end
324
+
325
+ # Response message for
326
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#fetch_certificate_authority_csr CertificateAuthorityService.FetchCertificateAuthorityCsr}.
327
+ # @!attribute [r] pem_csr
328
+ # @return [::String]
329
+ # Output only. The PEM-encoded signed certificate signing request (CSR).
330
+ class FetchCertificateAuthorityCsrResponse
331
+ include ::Google::Protobuf::MessageExts
332
+ extend ::Google::Protobuf::MessageExts::ClassMethods
333
+ end
334
+
335
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#get_certificate_authority CertificateAuthorityService.GetCertificateAuthority}.
336
+ # @!attribute [rw] name
337
+ # @return [::String]
338
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority#name name} of the {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} to
339
+ # get.
340
+ class GetCertificateAuthorityRequest
341
+ include ::Google::Protobuf::MessageExts
342
+ extend ::Google::Protobuf::MessageExts::ClassMethods
343
+ end
344
+
345
+ # Request message for
346
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_authorities CertificateAuthorityService.ListCertificateAuthorities}.
347
+ # @!attribute [rw] parent
348
+ # @return [::String]
349
+ # Required. The resource name of the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} associated with the
350
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthorities}, in the format
351
+ # `projects/*/locations/*/caPools/*`.
352
+ # @!attribute [rw] page_size
353
+ # @return [::Integer]
354
+ # Optional. Limit on the number of {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthorities} to
355
+ # include in the response.
356
+ # Further {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthorities} can subsequently be
357
+ # obtained by including the
358
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse#next_page_token ListCertificateAuthoritiesResponse.next_page_token} in a subsequent
359
+ # request. If unspecified, the server will pick an appropriate default.
360
+ # @!attribute [rw] page_token
361
+ # @return [::String]
362
+ # Optional. Pagination token, returned earlier via
363
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse#next_page_token ListCertificateAuthoritiesResponse.next_page_token}.
364
+ # @!attribute [rw] filter
365
+ # @return [::String]
366
+ # Optional. Only include resources that match the filter in the response.
367
+ # @!attribute [rw] order_by
368
+ # @return [::String]
369
+ # Optional. Specify how the results should be sorted.
370
+ class ListCertificateAuthoritiesRequest
371
+ include ::Google::Protobuf::MessageExts
372
+ extend ::Google::Protobuf::MessageExts::ClassMethods
373
+ end
374
+
375
+ # Response message for
376
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_authorities CertificateAuthorityService.ListCertificateAuthorities}.
377
+ # @!attribute [rw] certificate_authorities
378
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority>]
379
+ # The list of {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthorities}.
380
+ # @!attribute [rw] next_page_token
381
+ # @return [::String]
382
+ # A token to retrieve next page of results. Pass this value in
383
+ # [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next
384
+ # page of results.
385
+ # @!attribute [rw] unreachable
386
+ # @return [::Array<::String>]
387
+ # A list of locations (e.g. "us-west1") that could not be reached.
388
+ class ListCertificateAuthoritiesResponse
389
+ include ::Google::Protobuf::MessageExts
390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
391
+ end
392
+
393
+ # Request message for
394
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#undelete_certificate_authority CertificateAuthorityService.UndeleteCertificateAuthority}.
395
+ # @!attribute [rw] name
396
+ # @return [::String]
397
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
398
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
399
+ # @!attribute [rw] request_id
400
+ # @return [::String]
401
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
402
+ # retry your request, the server will know to ignore the request if it has
403
+ # already been completed. The server will guarantee that for at least 60
404
+ # minutes since the first request.
405
+ #
406
+ # For example, consider a situation where you make an initial request and t
407
+ # he request times out. If you make the request again with the same request
408
+ # ID, the server can check if original operation with the same request ID
409
+ # was received, and if so, will ignore the second request. This prevents
410
+ # clients from accidentally creating duplicate commitments.
411
+ #
412
+ # The request ID must be a valid UUID with the exception that zero UUID is
413
+ # not supported (00000000-0000-0000-0000-000000000000).
414
+ class UndeleteCertificateAuthorityRequest
415
+ include ::Google::Protobuf::MessageExts
416
+ extend ::Google::Protobuf::MessageExts::ClassMethods
417
+ end
418
+
419
+ # Request message for
420
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#delete_certificate_authority CertificateAuthorityService.DeleteCertificateAuthority}.
421
+ # @!attribute [rw] name
422
+ # @return [::String]
423
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} in the
424
+ # format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
425
+ # @!attribute [rw] request_id
426
+ # @return [::String]
427
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
428
+ # retry your request, the server will know to ignore the request if it has
429
+ # already been completed. The server will guarantee that for at least 60
430
+ # minutes since the first request.
431
+ #
432
+ # For example, consider a situation where you make an initial request and t
433
+ # he request times out. If you make the request again with the same request
434
+ # ID, the server can check if original operation with the same request ID
435
+ # was received, and if so, will ignore the second request. This prevents
436
+ # clients from accidentally creating duplicate commitments.
437
+ #
438
+ # The request ID must be a valid UUID with the exception that zero UUID is
439
+ # not supported (00000000-0000-0000-0000-000000000000).
440
+ # @!attribute [rw] ignore_active_certificates
441
+ # @return [::Boolean]
442
+ # Optional. This field allows the CA to be deleted even if the CA has
443
+ # active certs. Active certs include both unrevoked and unexpired certs.
444
+ class DeleteCertificateAuthorityRequest
445
+ include ::Google::Protobuf::MessageExts
446
+ extend ::Google::Protobuf::MessageExts::ClassMethods
447
+ end
448
+
449
+ # Request message for
450
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#update_certificate_authority CertificateAuthorityService.UpdateCertificateAuthority}.
451
+ # @!attribute [rw] certificate_authority
452
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority]
453
+ # Required. {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} with updated values.
454
+ # @!attribute [rw] update_mask
455
+ # @return [::Google::Protobuf::FieldMask]
456
+ # Required. A list of fields to be updated in this request.
457
+ # @!attribute [rw] request_id
458
+ # @return [::String]
459
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
460
+ # retry your request, the server will know to ignore the request if it has
461
+ # already been completed. The server will guarantee that for at least 60
462
+ # minutes since the first request.
463
+ #
464
+ # For example, consider a situation where you make an initial request and t
465
+ # he request times out. If you make the request again with the same request
466
+ # ID, the server can check if original operation with the same request ID
467
+ # was received, and if so, will ignore the second request. This prevents
468
+ # clients from accidentally creating duplicate commitments.
469
+ #
470
+ # The request ID must be a valid UUID with the exception that zero UUID is
471
+ # not supported (00000000-0000-0000-0000-000000000000).
472
+ class UpdateCertificateAuthorityRequest
473
+ include ::Google::Protobuf::MessageExts
474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
475
+ end
476
+
477
+ # Request message for
478
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#create_ca_pool CertificateAuthorityService.CreateCaPool}.
479
+ # @!attribute [rw] parent
480
+ # @return [::String]
481
+ # Required. The resource name of the location associated with the
482
+ # {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}, in the format `projects/*/locations/*`.
483
+ # @!attribute [rw] ca_pool_id
484
+ # @return [::String]
485
+ # Required. It must be unique within a location and match the regular
486
+ # expression `[a-zA-Z0-9_-]{1,63}`
487
+ # @!attribute [rw] ca_pool
488
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CaPool]
489
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} with initial field values.
490
+ # @!attribute [rw] request_id
491
+ # @return [::String]
492
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
493
+ # retry your request, the server will know to ignore the request if it has
494
+ # already been completed. The server will guarantee that for at least 60
495
+ # minutes since the first request.
496
+ #
497
+ # For example, consider a situation where you make an initial request and t
498
+ # he request times out. If you make the request again with the same request
499
+ # ID, the server can check if original operation with the same request ID
500
+ # was received, and if so, will ignore the second request. This prevents
501
+ # clients from accidentally creating duplicate commitments.
502
+ #
503
+ # The request ID must be a valid UUID with the exception that zero UUID is
504
+ # not supported (00000000-0000-0000-0000-000000000000).
505
+ class CreateCaPoolRequest
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # Request message for
511
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#update_ca_pool CertificateAuthorityService.UpdateCaPool}.
512
+ # @!attribute [rw] ca_pool
513
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CaPool]
514
+ # Required. {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} with updated values.
515
+ # @!attribute [rw] update_mask
516
+ # @return [::Google::Protobuf::FieldMask]
517
+ # Required. A list of fields to be updated in this request.
518
+ # @!attribute [rw] request_id
519
+ # @return [::String]
520
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
521
+ # retry your request, the server will know to ignore the request if it has
522
+ # already been completed. The server will guarantee that for at least 60
523
+ # minutes since the first request.
524
+ #
525
+ # For example, consider a situation where you make an initial request and t
526
+ # he request times out. If you make the request again with the same request
527
+ # ID, the server can check if original operation with the same request ID
528
+ # was received, and if so, will ignore the second request. This prevents
529
+ # clients from accidentally creating duplicate commitments.
530
+ #
531
+ # The request ID must be a valid UUID with the exception that zero UUID is
532
+ # not supported (00000000-0000-0000-0000-000000000000).
533
+ class UpdateCaPoolRequest
534
+ include ::Google::Protobuf::MessageExts
535
+ extend ::Google::Protobuf::MessageExts::ClassMethods
536
+ end
537
+
538
+ # Request message for
539
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#delete_ca_pool CertificateAuthorityService.DeleteCaPool}.
540
+ # @!attribute [rw] name
541
+ # @return [::String]
542
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} in the
543
+ # format `projects/*/locations/*/caPools/*`.
544
+ # @!attribute [rw] request_id
545
+ # @return [::String]
546
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
547
+ # retry your request, the server will know to ignore the request if it has
548
+ # already been completed. The server will guarantee that for at least 60
549
+ # minutes since the first request.
550
+ #
551
+ # For example, consider a situation where you make an initial request and t
552
+ # he request times out. If you make the request again with the same request
553
+ # ID, the server can check if original operation with the same request ID
554
+ # was received, and if so, will ignore the second request. This prevents
555
+ # clients from accidentally creating duplicate commitments.
556
+ #
557
+ # The request ID must be a valid UUID with the exception that zero UUID is
558
+ # not supported (00000000-0000-0000-0000-000000000000).
559
+ class DeleteCaPoolRequest
560
+ include ::Google::Protobuf::MessageExts
561
+ extend ::Google::Protobuf::MessageExts::ClassMethods
562
+ end
563
+
564
+ # Request message for
565
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#fetch_ca_certs CertificateAuthorityService.FetchCaCerts}.
566
+ # @!attribute [rw] ca_pool
567
+ # @return [::String]
568
+ # Required. The resource name for the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} in the
569
+ # format `projects/*/locations/*/caPools/*`.
570
+ # @!attribute [rw] request_id
571
+ # @return [::String]
572
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
573
+ # retry your request, the server will know to ignore the request if it has
574
+ # already been completed. The server will guarantee that for at least 60
575
+ # minutes since the first request.
576
+ #
577
+ # For example, consider a situation where you make an initial request and t
578
+ # he request times out. If you make the request again with the same request
579
+ # ID, the server can check if original operation with the same request ID
580
+ # was received, and if so, will ignore the second request. This prevents
581
+ # clients from accidentally creating duplicate commitments.
582
+ #
583
+ # The request ID must be a valid UUID with the exception that zero UUID is
584
+ # not supported (00000000-0000-0000-0000-000000000000).
585
+ class FetchCaCertsRequest
586
+ include ::Google::Protobuf::MessageExts
587
+ extend ::Google::Protobuf::MessageExts::ClassMethods
588
+ end
589
+
590
+ # Response message for
591
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#fetch_ca_certs CertificateAuthorityService.FetchCaCerts}.
592
+ # @!attribute [rw] ca_certs
593
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::FetchCaCertsResponse::CertChain>]
594
+ # The PEM encoded CA certificate chains of all
595
+ # [ACTIVE][CertificateAuthority.State.ACTIVE] {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}
596
+ # resources in this {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}.
597
+ class FetchCaCertsResponse
598
+ include ::Google::Protobuf::MessageExts
599
+ extend ::Google::Protobuf::MessageExts::ClassMethods
600
+
601
+ # @!attribute [rw] certificates
602
+ # @return [::Array<::String>]
603
+ # The certificates that form the CA chain, from leaf to root order.
604
+ class CertChain
605
+ include ::Google::Protobuf::MessageExts
606
+ extend ::Google::Protobuf::MessageExts::ClassMethods
607
+ end
608
+ end
609
+
610
+ # Request message for {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#get_ca_pool CertificateAuthorityService.GetCaPool}.
611
+ # @!attribute [rw] name
612
+ # @return [::String]
613
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::CaPool#name name} of the {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool} to get.
614
+ class GetCaPoolRequest
615
+ include ::Google::Protobuf::MessageExts
616
+ extend ::Google::Protobuf::MessageExts::ClassMethods
617
+ end
618
+
619
+ # Request message for
620
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_ca_pools CertificateAuthorityService.ListCaPools}.
621
+ # @!attribute [rw] parent
622
+ # @return [::String]
623
+ # Required. The resource name of the location associated with the
624
+ # {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPools}, in the format
625
+ # `projects/*/locations/*`.
626
+ # @!attribute [rw] page_size
627
+ # @return [::Integer]
628
+ # Optional. Limit on the number of {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPools} to
629
+ # include in the response.
630
+ # Further {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPools} can subsequently be
631
+ # obtained by including the
632
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse#next_page_token ListCaPoolsResponse.next_page_token} in a subsequent
633
+ # request. If unspecified, the server will pick an appropriate default.
634
+ # @!attribute [rw] page_token
635
+ # @return [::String]
636
+ # Optional. Pagination token, returned earlier via
637
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse#next_page_token ListCaPoolsResponse.next_page_token}.
638
+ # @!attribute [rw] filter
639
+ # @return [::String]
640
+ # Optional. Only include resources that match the filter in the response.
641
+ # @!attribute [rw] order_by
642
+ # @return [::String]
643
+ # Optional. Specify how the results should be sorted.
644
+ class ListCaPoolsRequest
645
+ include ::Google::Protobuf::MessageExts
646
+ extend ::Google::Protobuf::MessageExts::ClassMethods
647
+ end
648
+
649
+ # Response message for
650
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_ca_pools CertificateAuthorityService.ListCaPools}.
651
+ # @!attribute [rw] ca_pools
652
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::CaPool>]
653
+ # The list of {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPools}.
654
+ # @!attribute [rw] next_page_token
655
+ # @return [::String]
656
+ # A token to retrieve next page of results. Pass this value in
657
+ # [ListCertificateAuthoritiesRequest.next_page_token][] to retrieve the next
658
+ # page of results.
659
+ # @!attribute [rw] unreachable
660
+ # @return [::Array<::String>]
661
+ # A list of locations (e.g. "us-west1") that could not be reached.
662
+ class ListCaPoolsResponse
663
+ include ::Google::Protobuf::MessageExts
664
+ extend ::Google::Protobuf::MessageExts::ClassMethods
665
+ end
666
+
667
+ # Request message for
668
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#get_certificate_revocation_list CertificateAuthorityService.GetCertificateRevocationList}.
669
+ # @!attribute [rw] name
670
+ # @return [::String]
671
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList#name name} of the
672
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationList} to get.
673
+ class GetCertificateRevocationListRequest
674
+ include ::Google::Protobuf::MessageExts
675
+ extend ::Google::Protobuf::MessageExts::ClassMethods
676
+ end
677
+
678
+ # Request message for
679
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_revocation_lists CertificateAuthorityService.ListCertificateRevocationLists}.
680
+ # @!attribute [rw] parent
681
+ # @return [::String]
682
+ # Required. The resource name of the location associated with the
683
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationLists}, in the format
684
+ # `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
685
+ # @!attribute [rw] page_size
686
+ # @return [::Integer]
687
+ # Optional. Limit on the number of
688
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationLists} to include in the
689
+ # response. Further {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationLists}
690
+ # can subsequently be obtained by including the
691
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse#next_page_token ListCertificateRevocationListsResponse.next_page_token} in a subsequent
692
+ # request. If unspecified, the server will pick an appropriate default.
693
+ # @!attribute [rw] page_token
694
+ # @return [::String]
695
+ # Optional. Pagination token, returned earlier via
696
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse#next_page_token ListCertificateRevocationListsResponse.next_page_token}.
697
+ # @!attribute [rw] filter
698
+ # @return [::String]
699
+ # Optional. Only include resources that match the filter in the response.
700
+ # @!attribute [rw] order_by
701
+ # @return [::String]
702
+ # Optional. Specify how the results should be sorted.
703
+ class ListCertificateRevocationListsRequest
704
+ include ::Google::Protobuf::MessageExts
705
+ extend ::Google::Protobuf::MessageExts::ClassMethods
706
+ end
707
+
708
+ # Response message for
709
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_revocation_lists CertificateAuthorityService.ListCertificateRevocationLists}.
710
+ # @!attribute [rw] certificate_revocation_lists
711
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList>]
712
+ # The list of {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationLists}.
713
+ # @!attribute [rw] next_page_token
714
+ # @return [::String]
715
+ # A token to retrieve next page of results. Pass this value in
716
+ # [ListCertificateRevocationListsRequest.next_page_token][] to retrieve the
717
+ # next page of results.
718
+ # @!attribute [rw] unreachable
719
+ # @return [::Array<::String>]
720
+ # A list of locations (e.g. "us-west1") that could not be reached.
721
+ class ListCertificateRevocationListsResponse
722
+ include ::Google::Protobuf::MessageExts
723
+ extend ::Google::Protobuf::MessageExts::ClassMethods
724
+ end
725
+
726
+ # Request message for
727
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#update_certificate_revocation_list CertificateAuthorityService.UpdateCertificateRevocationList}.
728
+ # @!attribute [rw] certificate_revocation_list
729
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList]
730
+ # Required. {::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList CertificateRevocationList} with updated values.
731
+ # @!attribute [rw] update_mask
732
+ # @return [::Google::Protobuf::FieldMask]
733
+ # Required. A list of fields to be updated in this request.
734
+ # @!attribute [rw] request_id
735
+ # @return [::String]
736
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
737
+ # retry your request, the server will know to ignore the request if it has
738
+ # already been completed. The server will guarantee that for at least 60
739
+ # minutes since the first request.
740
+ #
741
+ # For example, consider a situation where you make an initial request and t
742
+ # he request times out. If you make the request again with the same request
743
+ # ID, the server can check if original operation with the same request ID
744
+ # was received, and if so, will ignore the second request. This prevents
745
+ # clients from accidentally creating duplicate commitments.
746
+ #
747
+ # The request ID must be a valid UUID with the exception that zero UUID is
748
+ # not supported (00000000-0000-0000-0000-000000000000).
749
+ class UpdateCertificateRevocationListRequest
750
+ include ::Google::Protobuf::MessageExts
751
+ extend ::Google::Protobuf::MessageExts::ClassMethods
752
+ end
753
+
754
+ # Request message for
755
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#create_certificate_template CertificateAuthorityService.CreateCertificateTemplate}.
756
+ # @!attribute [rw] parent
757
+ # @return [::String]
758
+ # Required. The resource name of the location associated with the
759
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplate}, in the format
760
+ # `projects/*/locations/*`.
761
+ # @!attribute [rw] certificate_template_id
762
+ # @return [::String]
763
+ # Required. It must be unique within a location and match the regular
764
+ # expression `[a-zA-Z0-9_-]{1,63}`
765
+ # @!attribute [rw] certificate_template
766
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate]
767
+ # Required. A {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplate} with initial field values.
768
+ # @!attribute [rw] request_id
769
+ # @return [::String]
770
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
771
+ # retry your request, the server will know to ignore the request if it has
772
+ # already been completed. The server will guarantee that for at least 60
773
+ # minutes since the first request.
774
+ #
775
+ # For example, consider a situation where you make an initial request and t
776
+ # he request times out. If you make the request again with the same request
777
+ # ID, the server can check if original operation with the same request ID
778
+ # was received, and if so, will ignore the second request. This prevents
779
+ # clients from accidentally creating duplicate commitments.
780
+ #
781
+ # The request ID must be a valid UUID with the exception that zero UUID is
782
+ # not supported (00000000-0000-0000-0000-000000000000).
783
+ class CreateCertificateTemplateRequest
784
+ include ::Google::Protobuf::MessageExts
785
+ extend ::Google::Protobuf::MessageExts::ClassMethods
786
+ end
787
+
788
+ # Request message for
789
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#delete_certificate_template CertificateAuthorityService.DeleteCertificateTemplate}.
790
+ # @!attribute [rw] name
791
+ # @return [::String]
792
+ # Required. The resource name for this {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplate} in the format
793
+ # `projects/*/locations/*/certificateTemplates/*`.
794
+ # @!attribute [rw] request_id
795
+ # @return [::String]
796
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
797
+ # retry your request, the server will know to ignore the request if it has
798
+ # already been completed. The server will guarantee that for at least 60
799
+ # minutes since the first request.
800
+ #
801
+ # For example, consider a situation where you make an initial request and t
802
+ # he request times out. If you make the request again with the same request
803
+ # ID, the server can check if original operation with the same request ID
804
+ # was received, and if so, will ignore the second request. This prevents
805
+ # clients from accidentally creating duplicate commitments.
806
+ #
807
+ # The request ID must be a valid UUID with the exception that zero UUID is
808
+ # not supported (00000000-0000-0000-0000-000000000000).
809
+ class DeleteCertificateTemplateRequest
810
+ include ::Google::Protobuf::MessageExts
811
+ extend ::Google::Protobuf::MessageExts::ClassMethods
812
+ end
813
+
814
+ # Request message for
815
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#get_certificate_template CertificateAuthorityService.GetCertificateTemplate}.
816
+ # @!attribute [rw] name
817
+ # @return [::String]
818
+ # Required. The {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate#name name} of the {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplate} to
819
+ # get.
820
+ class GetCertificateTemplateRequest
821
+ include ::Google::Protobuf::MessageExts
822
+ extend ::Google::Protobuf::MessageExts::ClassMethods
823
+ end
824
+
825
+ # Request message for
826
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_templates CertificateAuthorityService.ListCertificateTemplates}.
827
+ # @!attribute [rw] parent
828
+ # @return [::String]
829
+ # Required. The resource name of the location associated with the
830
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplates}, in the format
831
+ # `projects/*/locations/*`.
832
+ # @!attribute [rw] page_size
833
+ # @return [::Integer]
834
+ # Optional. Limit on the number of
835
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplates} to include in the response.
836
+ # Further {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplates} can subsequently be
837
+ # obtained by including the
838
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token ListCertificateTemplatesResponse.next_page_token} in a subsequent
839
+ # request. If unspecified, the server will pick an appropriate default.
840
+ # @!attribute [rw] page_token
841
+ # @return [::String]
842
+ # Optional. Pagination token, returned earlier via
843
+ # {::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse#next_page_token ListCertificateTemplatesResponse.next_page_token}.
844
+ # @!attribute [rw] filter
845
+ # @return [::String]
846
+ # Optional. Only include resources that match the filter in the response.
847
+ # @!attribute [rw] order_by
848
+ # @return [::String]
849
+ # Optional. Specify how the results should be sorted.
850
+ class ListCertificateTemplatesRequest
851
+ include ::Google::Protobuf::MessageExts
852
+ extend ::Google::Protobuf::MessageExts::ClassMethods
853
+ end
854
+
855
+ # Response message for
856
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#list_certificate_templates CertificateAuthorityService.ListCertificateTemplates}.
857
+ # @!attribute [rw] certificate_templates
858
+ # @return [::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate>]
859
+ # The list of {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplates}.
860
+ # @!attribute [rw] next_page_token
861
+ # @return [::String]
862
+ # A token to retrieve next page of results. Pass this value in
863
+ # [ListCertificateTemplatesRequest.next_page_token][] to retrieve
864
+ # the next page of results.
865
+ # @!attribute [rw] unreachable
866
+ # @return [::Array<::String>]
867
+ # A list of locations (e.g. "us-west1") that could not be reached.
868
+ class ListCertificateTemplatesResponse
869
+ include ::Google::Protobuf::MessageExts
870
+ extend ::Google::Protobuf::MessageExts::ClassMethods
871
+ end
872
+
873
+ # Request message for
874
+ # {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client#update_certificate_template CertificateAuthorityService.UpdateCertificateTemplate}.
875
+ # @!attribute [rw] certificate_template
876
+ # @return [::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate]
877
+ # Required. {::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate CertificateTemplate} with updated values.
878
+ # @!attribute [rw] update_mask
879
+ # @return [::Google::Protobuf::FieldMask]
880
+ # Required. A list of fields to be updated in this request.
881
+ # @!attribute [rw] request_id
882
+ # @return [::String]
883
+ # Optional. An ID to identify requests. Specify a unique request ID so that if you must
884
+ # retry your request, the server will know to ignore the request if it has
885
+ # already been completed. The server will guarantee that for at least 60
886
+ # minutes since the first request.
887
+ #
888
+ # For example, consider a situation where you make an initial request and t
889
+ # he request times out. If you make the request again with the same request
890
+ # ID, the server can check if original operation with the same request ID
891
+ # was received, and if so, will ignore the second request. This prevents
892
+ # clients from accidentally creating duplicate commitments.
893
+ #
894
+ # The request ID must be a valid UUID with the exception that zero UUID is
895
+ # not supported (00000000-0000-0000-0000-000000000000).
896
+ class UpdateCertificateTemplateRequest
897
+ include ::Google::Protobuf::MessageExts
898
+ extend ::Google::Protobuf::MessageExts::ClassMethods
899
+ end
900
+
901
+ # Represents the metadata of the long-running operation.
902
+ # @!attribute [r] create_time
903
+ # @return [::Google::Protobuf::Timestamp]
904
+ # Output only. The time the operation was created.
905
+ # @!attribute [r] end_time
906
+ # @return [::Google::Protobuf::Timestamp]
907
+ # Output only. The time the operation finished running.
908
+ # @!attribute [r] target
909
+ # @return [::String]
910
+ # Output only. Server-defined resource path for the target of the operation.
911
+ # @!attribute [r] verb
912
+ # @return [::String]
913
+ # Output only. Name of the verb executed by the operation.
914
+ # @!attribute [r] status_message
915
+ # @return [::String]
916
+ # Output only. Human-readable status of the operation, if any.
917
+ # @!attribute [r] requested_cancellation
918
+ # @return [::Boolean]
919
+ # Output only. Identifies whether the user has requested cancellation
920
+ # of the operation. Operations that have successfully been cancelled
921
+ # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
922
+ # corresponding to `Code.CANCELLED`.
923
+ # @!attribute [r] api_version
924
+ # @return [::String]
925
+ # Output only. API version used to start the operation.
926
+ class OperationMetadata
927
+ include ::Google::Protobuf::MessageExts
928
+ extend ::Google::Protobuf::MessageExts::ClassMethods
929
+ end
930
+ end
931
+ end
932
+ end
933
+ end
934
+ end