google-apis-privateca_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module PrivatecaV1
18
+ # Version of the google-apis-privateca_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.3.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210601"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1102 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PrivatecaV1
24
+
25
+ class AccessUrls
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ActivateCertificateAuthorityRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AllowedKeyType
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AuditConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AuditLogConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CaOptions
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CaPool
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CancelOperationRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CertChain
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Certificate
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CertificateAuthority
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CertificateConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CertificateDescription
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CertificateExtensionConstraints
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CertificateFingerprint
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CertificateIdentityConstraints
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CertificateRevocationList
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class CertificateTemplate
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class DisableCertificateAuthorityRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class EcKeyType
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Empty
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class EnableCertificateAuthorityRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Expr
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ExtendedKeyUsageOptions
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class FetchCaCertsRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class FetchCaCertsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class FetchCertificateAuthorityCsrResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class IssuanceModes
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class IssuancePolicy
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class KeyId
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class KeyUsage
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class KeyUsageOptions
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class KeyVersionSpec
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListCaPoolsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListCertificateAuthoritiesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ListCertificateRevocationListsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListCertificateTemplatesResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListCertificatesResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListLocationsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListOperationsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Location
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ObjectIdProp
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Operation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class OperationMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Policy
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PublicKey
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class PublishingOptions
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ReconciliationOperationMetadata
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class RevocationDetails
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class RevokeCertificateRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class RevokedCertificate
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class RsaKeyType
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SetIamPolicyRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Status
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class Subject
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class SubjectAltNames
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class SubjectConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class SubjectDescription
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class SubordinateConfig
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class SubordinateConfigChain
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class TestIamPermissionsRequest
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class TestIamPermissionsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class UndeleteCertificateAuthorityRequest
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class X509Extension
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class X509Parameters
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class AccessUrls
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :ca_certificate_access_url, as: 'caCertificateAccessUrl'
425
+ collection :crl_access_urls, as: 'crlAccessUrls'
426
+ end
427
+ end
428
+
429
+ class ActivateCertificateAuthorityRequest
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :pem_ca_certificate, as: 'pemCaCertificate'
433
+ property :request_id, as: 'requestId'
434
+ property :subordinate_config, as: 'subordinateConfig', class: Google::Apis::PrivatecaV1::SubordinateConfig, decorator: Google::Apis::PrivatecaV1::SubordinateConfig::Representation
435
+
436
+ end
437
+ end
438
+
439
+ class AllowedKeyType
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :elliptic_curve, as: 'ellipticCurve', class: Google::Apis::PrivatecaV1::EcKeyType, decorator: Google::Apis::PrivatecaV1::EcKeyType::Representation
443
+
444
+ property :rsa, as: 'rsa', class: Google::Apis::PrivatecaV1::RsaKeyType, decorator: Google::Apis::PrivatecaV1::RsaKeyType::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class AuditConfig
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::PrivatecaV1::AuditLogConfig, decorator: Google::Apis::PrivatecaV1::AuditLogConfig::Representation
453
+
454
+ property :service, as: 'service'
455
+ end
456
+ end
457
+
458
+ class AuditLogConfig
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ collection :exempted_members, as: 'exemptedMembers'
462
+ property :log_type, as: 'logType'
463
+ end
464
+ end
465
+
466
+ class Binding
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :condition, as: 'condition', class: Google::Apis::PrivatecaV1::Expr, decorator: Google::Apis::PrivatecaV1::Expr::Representation
470
+
471
+ collection :members, as: 'members'
472
+ property :role, as: 'role'
473
+ end
474
+ end
475
+
476
+ class CaOptions
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :is_ca, as: 'isCa'
480
+ property :max_issuer_path_length, as: 'maxIssuerPathLength'
481
+ end
482
+ end
483
+
484
+ class CaPool
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :issuance_policy, as: 'issuancePolicy', class: Google::Apis::PrivatecaV1::IssuancePolicy, decorator: Google::Apis::PrivatecaV1::IssuancePolicy::Representation
488
+
489
+ hash :labels, as: 'labels'
490
+ property :name, as: 'name'
491
+ property :publishing_options, as: 'publishingOptions', class: Google::Apis::PrivatecaV1::PublishingOptions, decorator: Google::Apis::PrivatecaV1::PublishingOptions::Representation
492
+
493
+ property :tier, as: 'tier'
494
+ end
495
+ end
496
+
497
+ class CancelOperationRequest
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ end
501
+ end
502
+
503
+ class CertChain
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ collection :certificates, as: 'certificates'
507
+ end
508
+ end
509
+
510
+ class Certificate
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :certificate_description, as: 'certificateDescription', class: Google::Apis::PrivatecaV1::CertificateDescription, decorator: Google::Apis::PrivatecaV1::CertificateDescription::Representation
514
+
515
+ property :certificate_template, as: 'certificateTemplate'
516
+ property :config, as: 'config', class: Google::Apis::PrivatecaV1::CertificateConfig, decorator: Google::Apis::PrivatecaV1::CertificateConfig::Representation
517
+
518
+ property :create_time, as: 'createTime'
519
+ property :issuer_certificate_authority, as: 'issuerCertificateAuthority'
520
+ hash :labels, as: 'labels'
521
+ property :lifetime, as: 'lifetime'
522
+ property :name, as: 'name'
523
+ property :pem_certificate, as: 'pemCertificate'
524
+ collection :pem_certificate_chain, as: 'pemCertificateChain'
525
+ property :pem_csr, as: 'pemCsr'
526
+ property :revocation_details, as: 'revocationDetails', class: Google::Apis::PrivatecaV1::RevocationDetails, decorator: Google::Apis::PrivatecaV1::RevocationDetails::Representation
527
+
528
+ property :subject_mode, as: 'subjectMode'
529
+ property :update_time, as: 'updateTime'
530
+ end
531
+ end
532
+
533
+ class CertificateAuthority
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :access_urls, as: 'accessUrls', class: Google::Apis::PrivatecaV1::AccessUrls, decorator: Google::Apis::PrivatecaV1::AccessUrls::Representation
537
+
538
+ collection :ca_certificate_descriptions, as: 'caCertificateDescriptions', class: Google::Apis::PrivatecaV1::CertificateDescription, decorator: Google::Apis::PrivatecaV1::CertificateDescription::Representation
539
+
540
+ property :config, as: 'config', class: Google::Apis::PrivatecaV1::CertificateConfig, decorator: Google::Apis::PrivatecaV1::CertificateConfig::Representation
541
+
542
+ property :create_time, as: 'createTime'
543
+ property :delete_time, as: 'deleteTime'
544
+ property :expire_time, as: 'expireTime'
545
+ property :gcs_bucket, as: 'gcsBucket'
546
+ property :key_spec, as: 'keySpec', class: Google::Apis::PrivatecaV1::KeyVersionSpec, decorator: Google::Apis::PrivatecaV1::KeyVersionSpec::Representation
547
+
548
+ hash :labels, as: 'labels'
549
+ property :lifetime, as: 'lifetime'
550
+ property :name, as: 'name'
551
+ collection :pem_ca_certificates, as: 'pemCaCertificates'
552
+ property :state, as: 'state'
553
+ property :subordinate_config, as: 'subordinateConfig', class: Google::Apis::PrivatecaV1::SubordinateConfig, decorator: Google::Apis::PrivatecaV1::SubordinateConfig::Representation
554
+
555
+ property :tier, as: 'tier'
556
+ property :type, as: 'type'
557
+ property :update_time, as: 'updateTime'
558
+ end
559
+ end
560
+
561
+ class CertificateConfig
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :public_key, as: 'publicKey', class: Google::Apis::PrivatecaV1::PublicKey, decorator: Google::Apis::PrivatecaV1::PublicKey::Representation
565
+
566
+ property :subject_config, as: 'subjectConfig', class: Google::Apis::PrivatecaV1::SubjectConfig, decorator: Google::Apis::PrivatecaV1::SubjectConfig::Representation
567
+
568
+ property :x509_config, as: 'x509Config', class: Google::Apis::PrivatecaV1::X509Parameters, decorator: Google::Apis::PrivatecaV1::X509Parameters::Representation
569
+
570
+ end
571
+ end
572
+
573
+ class CertificateDescription
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ collection :aia_issuing_certificate_urls, as: 'aiaIssuingCertificateUrls'
577
+ property :authority_key_id, as: 'authorityKeyId', class: Google::Apis::PrivatecaV1::KeyId, decorator: Google::Apis::PrivatecaV1::KeyId::Representation
578
+
579
+ property :cert_fingerprint, as: 'certFingerprint', class: Google::Apis::PrivatecaV1::CertificateFingerprint, decorator: Google::Apis::PrivatecaV1::CertificateFingerprint::Representation
580
+
581
+ collection :crl_distribution_points, as: 'crlDistributionPoints'
582
+ property :public_key, as: 'publicKey', class: Google::Apis::PrivatecaV1::PublicKey, decorator: Google::Apis::PrivatecaV1::PublicKey::Representation
583
+
584
+ property :subject_description, as: 'subjectDescription', class: Google::Apis::PrivatecaV1::SubjectDescription, decorator: Google::Apis::PrivatecaV1::SubjectDescription::Representation
585
+
586
+ property :subject_key_id, as: 'subjectKeyId', class: Google::Apis::PrivatecaV1::KeyId, decorator: Google::Apis::PrivatecaV1::KeyId::Representation
587
+
588
+ property :x509_description, as: 'x509Description', class: Google::Apis::PrivatecaV1::X509Parameters, decorator: Google::Apis::PrivatecaV1::X509Parameters::Representation
589
+
590
+ end
591
+ end
592
+
593
+ class CertificateExtensionConstraints
594
+ # @private
595
+ class Representation < Google::Apis::Core::JsonRepresentation
596
+ collection :additional_extensions, as: 'additionalExtensions', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
597
+
598
+ collection :known_extensions, as: 'knownExtensions'
599
+ end
600
+ end
601
+
602
+ class CertificateFingerprint
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ property :sha256_hash, as: 'sha256Hash'
606
+ end
607
+ end
608
+
609
+ class CertificateIdentityConstraints
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :allow_subject_alt_names_passthrough, as: 'allowSubjectAltNamesPassthrough'
613
+ property :allow_subject_passthrough, as: 'allowSubjectPassthrough'
614
+ property :cel_expression, as: 'celExpression', class: Google::Apis::PrivatecaV1::Expr, decorator: Google::Apis::PrivatecaV1::Expr::Representation
615
+
616
+ end
617
+ end
618
+
619
+ class CertificateRevocationList
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :access_url, as: 'accessUrl'
623
+ property :create_time, as: 'createTime'
624
+ hash :labels, as: 'labels'
625
+ property :name, as: 'name'
626
+ property :pem_crl, as: 'pemCrl'
627
+ property :revision_id, as: 'revisionId'
628
+ collection :revoked_certificates, as: 'revokedCertificates', class: Google::Apis::PrivatecaV1::RevokedCertificate, decorator: Google::Apis::PrivatecaV1::RevokedCertificate::Representation
629
+
630
+ property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
631
+ property :state, as: 'state'
632
+ property :update_time, as: 'updateTime'
633
+ end
634
+ end
635
+
636
+ class CertificateTemplate
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ property :create_time, as: 'createTime'
640
+ property :description, as: 'description'
641
+ property :identity_constraints, as: 'identityConstraints', class: Google::Apis::PrivatecaV1::CertificateIdentityConstraints, decorator: Google::Apis::PrivatecaV1::CertificateIdentityConstraints::Representation
642
+
643
+ hash :labels, as: 'labels'
644
+ property :name, as: 'name'
645
+ property :passthrough_extensions, as: 'passthroughExtensions', class: Google::Apis::PrivatecaV1::CertificateExtensionConstraints, decorator: Google::Apis::PrivatecaV1::CertificateExtensionConstraints::Representation
646
+
647
+ property :predefined_values, as: 'predefinedValues', class: Google::Apis::PrivatecaV1::X509Parameters, decorator: Google::Apis::PrivatecaV1::X509Parameters::Representation
648
+
649
+ property :update_time, as: 'updateTime'
650
+ end
651
+ end
652
+
653
+ class DisableCertificateAuthorityRequest
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :request_id, as: 'requestId'
657
+ end
658
+ end
659
+
660
+ class EcKeyType
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :signature_algorithm, as: 'signatureAlgorithm'
664
+ end
665
+ end
666
+
667
+ class Empty
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ end
671
+ end
672
+
673
+ class EnableCertificateAuthorityRequest
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ property :request_id, as: 'requestId'
677
+ end
678
+ end
679
+
680
+ class Expr
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :description, as: 'description'
684
+ property :expression, as: 'expression'
685
+ property :location, as: 'location'
686
+ property :title, as: 'title'
687
+ end
688
+ end
689
+
690
+ class ExtendedKeyUsageOptions
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :client_auth, as: 'clientAuth'
694
+ property :code_signing, as: 'codeSigning'
695
+ property :email_protection, as: 'emailProtection'
696
+ property :ocsp_signing, as: 'ocspSigning'
697
+ property :server_auth, as: 'serverAuth'
698
+ property :time_stamping, as: 'timeStamping'
699
+ end
700
+ end
701
+
702
+ class FetchCaCertsRequest
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ property :request_id, as: 'requestId'
706
+ end
707
+ end
708
+
709
+ class FetchCaCertsResponse
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ collection :ca_certs, as: 'caCerts', class: Google::Apis::PrivatecaV1::CertChain, decorator: Google::Apis::PrivatecaV1::CertChain::Representation
713
+
714
+ end
715
+ end
716
+
717
+ class FetchCertificateAuthorityCsrResponse
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :pem_csr, as: 'pemCsr'
721
+ end
722
+ end
723
+
724
+ class IssuanceModes
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :allow_config_based_issuance, as: 'allowConfigBasedIssuance'
728
+ property :allow_csr_based_issuance, as: 'allowCsrBasedIssuance'
729
+ end
730
+ end
731
+
732
+ class IssuancePolicy
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :allowed_issuance_modes, as: 'allowedIssuanceModes', class: Google::Apis::PrivatecaV1::IssuanceModes, decorator: Google::Apis::PrivatecaV1::IssuanceModes::Representation
736
+
737
+ collection :allowed_key_types, as: 'allowedKeyTypes', class: Google::Apis::PrivatecaV1::AllowedKeyType, decorator: Google::Apis::PrivatecaV1::AllowedKeyType::Representation
738
+
739
+ property :baseline_values, as: 'baselineValues', class: Google::Apis::PrivatecaV1::X509Parameters, decorator: Google::Apis::PrivatecaV1::X509Parameters::Representation
740
+
741
+ property :identity_constraints, as: 'identityConstraints', class: Google::Apis::PrivatecaV1::CertificateIdentityConstraints, decorator: Google::Apis::PrivatecaV1::CertificateIdentityConstraints::Representation
742
+
743
+ property :maximum_lifetime, as: 'maximumLifetime'
744
+ property :passthrough_extensions, as: 'passthroughExtensions', class: Google::Apis::PrivatecaV1::CertificateExtensionConstraints, decorator: Google::Apis::PrivatecaV1::CertificateExtensionConstraints::Representation
745
+
746
+ end
747
+ end
748
+
749
+ class KeyId
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :key_id, as: 'keyId'
753
+ end
754
+ end
755
+
756
+ class KeyUsage
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :base_key_usage, as: 'baseKeyUsage', class: Google::Apis::PrivatecaV1::KeyUsageOptions, decorator: Google::Apis::PrivatecaV1::KeyUsageOptions::Representation
760
+
761
+ property :extended_key_usage, as: 'extendedKeyUsage', class: Google::Apis::PrivatecaV1::ExtendedKeyUsageOptions, decorator: Google::Apis::PrivatecaV1::ExtendedKeyUsageOptions::Representation
762
+
763
+ collection :unknown_extended_key_usages, as: 'unknownExtendedKeyUsages', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
764
+
765
+ end
766
+ end
767
+
768
+ class KeyUsageOptions
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :cert_sign, as: 'certSign'
772
+ property :content_commitment, as: 'contentCommitment'
773
+ property :crl_sign, as: 'crlSign'
774
+ property :data_encipherment, as: 'dataEncipherment'
775
+ property :decipher_only, as: 'decipherOnly'
776
+ property :digital_signature, as: 'digitalSignature'
777
+ property :encipher_only, as: 'encipherOnly'
778
+ property :key_agreement, as: 'keyAgreement'
779
+ property :key_encipherment, as: 'keyEncipherment'
780
+ end
781
+ end
782
+
783
+ class KeyVersionSpec
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ property :algorithm, as: 'algorithm'
787
+ property :cloud_kms_key_version, as: 'cloudKmsKeyVersion'
788
+ end
789
+ end
790
+
791
+ class ListCaPoolsResponse
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ collection :ca_pools, as: 'caPools', class: Google::Apis::PrivatecaV1::CaPool, decorator: Google::Apis::PrivatecaV1::CaPool::Representation
795
+
796
+ property :next_page_token, as: 'nextPageToken'
797
+ collection :unreachable, as: 'unreachable'
798
+ end
799
+ end
800
+
801
+ class ListCertificateAuthoritiesResponse
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ collection :certificate_authorities, as: 'certificateAuthorities', class: Google::Apis::PrivatecaV1::CertificateAuthority, decorator: Google::Apis::PrivatecaV1::CertificateAuthority::Representation
805
+
806
+ property :next_page_token, as: 'nextPageToken'
807
+ collection :unreachable, as: 'unreachable'
808
+ end
809
+ end
810
+
811
+ class ListCertificateRevocationListsResponse
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ collection :certificate_revocation_lists, as: 'certificateRevocationLists', class: Google::Apis::PrivatecaV1::CertificateRevocationList, decorator: Google::Apis::PrivatecaV1::CertificateRevocationList::Representation
815
+
816
+ property :next_page_token, as: 'nextPageToken'
817
+ collection :unreachable, as: 'unreachable'
818
+ end
819
+ end
820
+
821
+ class ListCertificateTemplatesResponse
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ collection :certificate_templates, as: 'certificateTemplates', class: Google::Apis::PrivatecaV1::CertificateTemplate, decorator: Google::Apis::PrivatecaV1::CertificateTemplate::Representation
825
+
826
+ property :next_page_token, as: 'nextPageToken'
827
+ collection :unreachable, as: 'unreachable'
828
+ end
829
+ end
830
+
831
+ class ListCertificatesResponse
832
+ # @private
833
+ class Representation < Google::Apis::Core::JsonRepresentation
834
+ collection :certificates, as: 'certificates', class: Google::Apis::PrivatecaV1::Certificate, decorator: Google::Apis::PrivatecaV1::Certificate::Representation
835
+
836
+ property :next_page_token, as: 'nextPageToken'
837
+ collection :unreachable, as: 'unreachable'
838
+ end
839
+ end
840
+
841
+ class ListLocationsResponse
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ collection :locations, as: 'locations', class: Google::Apis::PrivatecaV1::Location, decorator: Google::Apis::PrivatecaV1::Location::Representation
845
+
846
+ property :next_page_token, as: 'nextPageToken'
847
+ end
848
+ end
849
+
850
+ class ListOperationsResponse
851
+ # @private
852
+ class Representation < Google::Apis::Core::JsonRepresentation
853
+ property :next_page_token, as: 'nextPageToken'
854
+ collection :operations, as: 'operations', class: Google::Apis::PrivatecaV1::Operation, decorator: Google::Apis::PrivatecaV1::Operation::Representation
855
+
856
+ end
857
+ end
858
+
859
+ class Location
860
+ # @private
861
+ class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :display_name, as: 'displayName'
863
+ hash :labels, as: 'labels'
864
+ property :location_id, as: 'locationId'
865
+ hash :metadata, as: 'metadata'
866
+ property :name, as: 'name'
867
+ end
868
+ end
869
+
870
+ class ObjectIdProp
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ collection :object_id_path, as: 'objectIdPath'
874
+ end
875
+ end
876
+
877
+ class Operation
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :done, as: 'done'
881
+ property :error, as: 'error', class: Google::Apis::PrivatecaV1::Status, decorator: Google::Apis::PrivatecaV1::Status::Representation
882
+
883
+ hash :metadata, as: 'metadata'
884
+ property :name, as: 'name'
885
+ hash :response, as: 'response'
886
+ end
887
+ end
888
+
889
+ class OperationMetadata
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :api_version, as: 'apiVersion'
893
+ property :create_time, as: 'createTime'
894
+ property :end_time, as: 'endTime'
895
+ property :requested_cancellation, as: 'requestedCancellation'
896
+ property :status_message, as: 'statusMessage'
897
+ property :target, as: 'target'
898
+ property :verb, as: 'verb'
899
+ end
900
+ end
901
+
902
+ class Policy
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::PrivatecaV1::AuditConfig, decorator: Google::Apis::PrivatecaV1::AuditConfig::Representation
906
+
907
+ collection :bindings, as: 'bindings', class: Google::Apis::PrivatecaV1::Binding, decorator: Google::Apis::PrivatecaV1::Binding::Representation
908
+
909
+ property :etag, :base64 => true, as: 'etag'
910
+ property :version, as: 'version'
911
+ end
912
+ end
913
+
914
+ class PublicKey
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :format, as: 'format'
918
+ property :key, :base64 => true, as: 'key'
919
+ end
920
+ end
921
+
922
+ class PublishingOptions
923
+ # @private
924
+ class Representation < Google::Apis::Core::JsonRepresentation
925
+ property :publish_ca_cert, as: 'publishCaCert'
926
+ property :publish_crl, as: 'publishCrl'
927
+ end
928
+ end
929
+
930
+ class ReconciliationOperationMetadata
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :delete_resource, as: 'deleteResource'
934
+ property :exclusive_action, as: 'exclusiveAction'
935
+ end
936
+ end
937
+
938
+ class RevocationDetails
939
+ # @private
940
+ class Representation < Google::Apis::Core::JsonRepresentation
941
+ property :revocation_state, as: 'revocationState'
942
+ property :revocation_time, as: 'revocationTime'
943
+ end
944
+ end
945
+
946
+ class RevokeCertificateRequest
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :reason, as: 'reason'
950
+ property :request_id, as: 'requestId'
951
+ end
952
+ end
953
+
954
+ class RevokedCertificate
955
+ # @private
956
+ class Representation < Google::Apis::Core::JsonRepresentation
957
+ property :certificate, as: 'certificate'
958
+ property :hex_serial_number, as: 'hexSerialNumber'
959
+ property :revocation_reason, as: 'revocationReason'
960
+ end
961
+ end
962
+
963
+ class RsaKeyType
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :max_modulus_size, :numeric_string => true, as: 'maxModulusSize'
967
+ property :min_modulus_size, :numeric_string => true, as: 'minModulusSize'
968
+ end
969
+ end
970
+
971
+ class SetIamPolicyRequest
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ property :policy, as: 'policy', class: Google::Apis::PrivatecaV1::Policy, decorator: Google::Apis::PrivatecaV1::Policy::Representation
975
+
976
+ property :update_mask, as: 'updateMask'
977
+ end
978
+ end
979
+
980
+ class Status
981
+ # @private
982
+ class Representation < Google::Apis::Core::JsonRepresentation
983
+ property :code, as: 'code'
984
+ collection :details, as: 'details'
985
+ property :message, as: 'message'
986
+ end
987
+ end
988
+
989
+ class Subject
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :common_name, as: 'commonName'
993
+ property :country_code, as: 'countryCode'
994
+ property :locality, as: 'locality'
995
+ property :organization, as: 'organization'
996
+ property :organizational_unit, as: 'organizationalUnit'
997
+ property :postal_code, as: 'postalCode'
998
+ property :province, as: 'province'
999
+ property :street_address, as: 'streetAddress'
1000
+ end
1001
+ end
1002
+
1003
+ class SubjectAltNames
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ collection :custom_sans, as: 'customSans', class: Google::Apis::PrivatecaV1::X509Extension, decorator: Google::Apis::PrivatecaV1::X509Extension::Representation
1007
+
1008
+ collection :dns_names, as: 'dnsNames'
1009
+ collection :email_addresses, as: 'emailAddresses'
1010
+ collection :ip_addresses, as: 'ipAddresses'
1011
+ collection :uris, as: 'uris'
1012
+ end
1013
+ end
1014
+
1015
+ class SubjectConfig
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :subject, as: 'subject', class: Google::Apis::PrivatecaV1::Subject, decorator: Google::Apis::PrivatecaV1::Subject::Representation
1019
+
1020
+ property :subject_alt_name, as: 'subjectAltName', class: Google::Apis::PrivatecaV1::SubjectAltNames, decorator: Google::Apis::PrivatecaV1::SubjectAltNames::Representation
1021
+
1022
+ end
1023
+ end
1024
+
1025
+ class SubjectDescription
1026
+ # @private
1027
+ class Representation < Google::Apis::Core::JsonRepresentation
1028
+ property :hex_serial_number, as: 'hexSerialNumber'
1029
+ property :lifetime, as: 'lifetime'
1030
+ property :not_after_time, as: 'notAfterTime'
1031
+ property :not_before_time, as: 'notBeforeTime'
1032
+ property :subject, as: 'subject', class: Google::Apis::PrivatecaV1::Subject, decorator: Google::Apis::PrivatecaV1::Subject::Representation
1033
+
1034
+ property :subject_alt_name, as: 'subjectAltName', class: Google::Apis::PrivatecaV1::SubjectAltNames, decorator: Google::Apis::PrivatecaV1::SubjectAltNames::Representation
1035
+
1036
+ end
1037
+ end
1038
+
1039
+ class SubordinateConfig
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :certificate_authority, as: 'certificateAuthority'
1043
+ property :pem_issuer_chain, as: 'pemIssuerChain', class: Google::Apis::PrivatecaV1::SubordinateConfigChain, decorator: Google::Apis::PrivatecaV1::SubordinateConfigChain::Representation
1044
+
1045
+ end
1046
+ end
1047
+
1048
+ class SubordinateConfigChain
1049
+ # @private
1050
+ class Representation < Google::Apis::Core::JsonRepresentation
1051
+ collection :pem_certificates, as: 'pemCertificates'
1052
+ end
1053
+ end
1054
+
1055
+ class TestIamPermissionsRequest
1056
+ # @private
1057
+ class Representation < Google::Apis::Core::JsonRepresentation
1058
+ collection :permissions, as: 'permissions'
1059
+ end
1060
+ end
1061
+
1062
+ class TestIamPermissionsResponse
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ collection :permissions, as: 'permissions'
1066
+ end
1067
+ end
1068
+
1069
+ class UndeleteCertificateAuthorityRequest
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ property :request_id, as: 'requestId'
1073
+ end
1074
+ end
1075
+
1076
+ class X509Extension
1077
+ # @private
1078
+ class Representation < Google::Apis::Core::JsonRepresentation
1079
+ property :critical, as: 'critical'
1080
+ property :object_id_prop, as: 'objectId', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
1081
+
1082
+ property :value, :base64 => true, as: 'value'
1083
+ end
1084
+ end
1085
+
1086
+ class X509Parameters
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ collection :additional_extensions, as: 'additionalExtensions', class: Google::Apis::PrivatecaV1::X509Extension, decorator: Google::Apis::PrivatecaV1::X509Extension::Representation
1090
+
1091
+ collection :aia_ocsp_servers, as: 'aiaOcspServers'
1092
+ property :ca_options, as: 'caOptions', class: Google::Apis::PrivatecaV1::CaOptions, decorator: Google::Apis::PrivatecaV1::CaOptions::Representation
1093
+
1094
+ property :key_usage, as: 'keyUsage', class: Google::Apis::PrivatecaV1::KeyUsage, decorator: Google::Apis::PrivatecaV1::KeyUsage::Representation
1095
+
1096
+ collection :policy_ids, as: 'policyIds', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
1097
+
1098
+ end
1099
+ end
1100
+ end
1101
+ end
1102
+ end