@maxim_mazurok/gapi.client.privateca-v1 0.1.20260304 → 0.2.20260529
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.
- package/index.d.ts +215 -141
- package/package.json +1 -1
- package/readme.md +12 -0
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://privateca.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260529
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,7 +48,16 @@ declare namespace gapi.client {
|
|
|
48
48
|
/** Object ID for an attribute type of an attribute and value pair. */
|
|
49
49
|
objectId?: ObjectId;
|
|
50
50
|
/** The attribute type of the attribute and value pair. */
|
|
51
|
-
type?:
|
|
51
|
+
type?:
|
|
52
|
+
| 'ATTRIBUTE_TYPE_UNSPECIFIED'
|
|
53
|
+
| 'COMMON_NAME'
|
|
54
|
+
| 'COUNTRY_CODE'
|
|
55
|
+
| 'ORGANIZATION'
|
|
56
|
+
| 'ORGANIZATIONAL_UNIT'
|
|
57
|
+
| 'LOCALITY'
|
|
58
|
+
| 'PROVINCE'
|
|
59
|
+
| 'STREET_ADDRESS'
|
|
60
|
+
| 'POSTAL_CODE';
|
|
52
61
|
/** The value for the attribute type. */
|
|
53
62
|
value?: string;
|
|
54
63
|
}
|
|
@@ -62,7 +71,11 @@ declare namespace gapi.client {
|
|
|
62
71
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
63
72
|
exemptedMembers?: string[];
|
|
64
73
|
/** The log type that this config enables. */
|
|
65
|
-
logType?:
|
|
74
|
+
logType?:
|
|
75
|
+
| 'LOG_TYPE_UNSPECIFIED'
|
|
76
|
+
| 'ADMIN_READ'
|
|
77
|
+
| 'DATA_WRITE'
|
|
78
|
+
| 'DATA_READ';
|
|
66
79
|
}
|
|
67
80
|
interface Binding {
|
|
68
81
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
@@ -91,7 +104,7 @@ declare namespace gapi.client {
|
|
|
91
104
|
/** Optional. The PublishingOptions to follow when issuing Certificates from any CertificateAuthority in this CaPool. */
|
|
92
105
|
publishingOptions?: PublishingOptions;
|
|
93
106
|
/** Required. Immutable. The Tier of this CaPool. */
|
|
94
|
-
tier?:
|
|
107
|
+
tier?: 'TIER_UNSPECIFIED' | 'ENTERPRISE' | 'DEVOPS';
|
|
95
108
|
}
|
|
96
109
|
interface CertChain {
|
|
97
110
|
/** The certificates that form the CA chain, from leaf to root order. */
|
|
@@ -120,10 +133,16 @@ declare namespace gapi.client {
|
|
|
120
133
|
pemCertificateChain?: string[];
|
|
121
134
|
/** Immutable. A pem-encoded X.509 certificate signing request (CSR). */
|
|
122
135
|
pemCsr?: string;
|
|
136
|
+
/** Optional. The requested not_before_time of this Certificate. This field may only be set if the CaPool.IssuancePolicy.allow_requester_specified_not_before_time field is set to true for the issuing CaPool. If this field is specified, the certificate will be issued with this 'not_before_time'. If this is not specified, the 'not_before_time' will be set to the issuance time or issuance time minus backdate_duration depending on the CaPool configuration. */
|
|
137
|
+
requestedNotBeforeTime?: string;
|
|
123
138
|
/** Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present. */
|
|
124
139
|
revocationDetails?: RevocationDetails;
|
|
125
140
|
/** Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used. */
|
|
126
|
-
subjectMode?:
|
|
141
|
+
subjectMode?:
|
|
142
|
+
| 'SUBJECT_REQUEST_MODE_UNSPECIFIED'
|
|
143
|
+
| 'DEFAULT'
|
|
144
|
+
| 'RDN_SEQUENCE'
|
|
145
|
+
| 'REFLECTED_SPIFFE';
|
|
127
146
|
/** Output only. The time at which this Certificate was updated. */
|
|
128
147
|
updateTime?: string;
|
|
129
148
|
}
|
|
@@ -157,13 +176,19 @@ declare namespace gapi.client {
|
|
|
157
176
|
/** Output only. Reserved for future use. */
|
|
158
177
|
satisfiesPzs?: boolean;
|
|
159
178
|
/** Output only. The State for this CertificateAuthority. */
|
|
160
|
-
state?:
|
|
179
|
+
state?:
|
|
180
|
+
| 'STATE_UNSPECIFIED'
|
|
181
|
+
| 'ENABLED'
|
|
182
|
+
| 'DISABLED'
|
|
183
|
+
| 'STAGED'
|
|
184
|
+
| 'AWAITING_USER_ACTIVATION'
|
|
185
|
+
| 'DELETED';
|
|
161
186
|
/** Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate. */
|
|
162
187
|
subordinateConfig?: SubordinateConfig;
|
|
163
188
|
/** Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority. */
|
|
164
|
-
tier?:
|
|
189
|
+
tier?: 'TIER_UNSPECIFIED' | 'ENTERPRISE' | 'DEVOPS';
|
|
165
190
|
/** Required. Immutable. The Type of this CertificateAuthority. */
|
|
166
|
-
type?:
|
|
191
|
+
type?: 'TYPE_UNSPECIFIED' | 'SELF_SIGNED' | 'SUBORDINATE';
|
|
167
192
|
/** Output only. The time at which this CertificateAuthority was last updated. */
|
|
168
193
|
updateTime?: string;
|
|
169
194
|
/** Optional. User-defined URLs for CA certificate and CRLs. The service does not publish content to these URLs. It is up to the user to mirror content to these URLs. */
|
|
@@ -207,7 +232,14 @@ declare namespace gapi.client {
|
|
|
207
232
|
/** Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. */
|
|
208
233
|
additionalExtensions?: ObjectId[];
|
|
209
234
|
/** Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions. */
|
|
210
|
-
knownExtensions?:
|
|
235
|
+
knownExtensions?:
|
|
236
|
+
| 'KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED'
|
|
237
|
+
| 'BASE_KEY_USAGE'
|
|
238
|
+
| 'EXTENDED_KEY_USAGE'
|
|
239
|
+
| 'CA_OPTIONS'
|
|
240
|
+
| 'POLICY_IDS'
|
|
241
|
+
| 'AIA_OCSP_SERVERS'
|
|
242
|
+
| 'NAME_CONSTRAINTS'[];
|
|
211
243
|
}
|
|
212
244
|
interface CertificateFingerprint {
|
|
213
245
|
/** The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. */
|
|
@@ -239,7 +271,7 @@ declare namespace gapi.client {
|
|
|
239
271
|
/** Output only. The CRL sequence number that appears in pem_crl. */
|
|
240
272
|
sequenceNumber?: string;
|
|
241
273
|
/** Output only. The State for this CertificateRevocationList. */
|
|
242
|
-
state?:
|
|
274
|
+
state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'SUPERSEDED';
|
|
243
275
|
/** Output only. The time at which this CertificateRevocationList was updated. */
|
|
244
276
|
updateTime?: string;
|
|
245
277
|
}
|
|
@@ -271,7 +303,11 @@ declare namespace gapi.client {
|
|
|
271
303
|
}
|
|
272
304
|
interface EcKeyType {
|
|
273
305
|
/** Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed. */
|
|
274
|
-
signatureAlgorithm?:
|
|
306
|
+
signatureAlgorithm?:
|
|
307
|
+
| 'EC_SIGNATURE_ALGORITHM_UNSPECIFIED'
|
|
308
|
+
| 'ECDSA_P256'
|
|
309
|
+
| 'ECDSA_P384'
|
|
310
|
+
| 'EDDSA_25519';
|
|
275
311
|
}
|
|
276
312
|
interface Empty {}
|
|
277
313
|
interface EnableCertificateAuthorityRequest {
|
|
@@ -329,6 +365,8 @@ declare namespace gapi.client {
|
|
|
329
365
|
allowedIssuanceModes?: IssuanceModes;
|
|
330
366
|
/** Optional. If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here. Otherwise, any key may be used. */
|
|
331
367
|
allowedKeyTypes?: AllowedKeyType[];
|
|
368
|
+
/** Optional. If set to true, allows requesters to specify the requested_not_before_time field when creating a Certificate. Certificates requested with this option enabled will have a 'not_before_time' equal to the value specified in the request. The 'not_after_time' will be adjusted to preserve the requested lifetime. The maximum time that a certificate can be backdated with these options is 48 hours in the past. This option cannot be set if backdate_duration is set. */
|
|
369
|
+
allowRequesterSpecifiedNotBeforeTime?: boolean;
|
|
332
370
|
/** Optional. If set, all certificates issued from this CaPool will be backdated by this duration. The 'not_before_time' will be the issuance time minus this backdate_duration, and the 'not_after_time' will be adjusted to preserve the requested lifetime. The maximum duration that a certificate can be backdated with these options is 48 hours in the past. This option cannot be set if allow_requester_specified_not_before_time is set. */
|
|
333
371
|
backdateDuration?: string;
|
|
334
372
|
/** Optional. A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request includes conflicting values for the same properties, they will be overwritten by the values defined here. If a certificate request uses a CertificateTemplate that defines conflicting predefined_values for the same properties, the certificate issuance request will fail. */
|
|
@@ -374,7 +412,16 @@ declare namespace gapi.client {
|
|
|
374
412
|
}
|
|
375
413
|
interface KeyVersionSpec {
|
|
376
414
|
/** The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. */
|
|
377
|
-
algorithm?:
|
|
415
|
+
algorithm?:
|
|
416
|
+
| 'SIGN_HASH_ALGORITHM_UNSPECIFIED'
|
|
417
|
+
| 'RSA_PSS_2048_SHA256'
|
|
418
|
+
| 'RSA_PSS_3072_SHA256'
|
|
419
|
+
| 'RSA_PSS_4096_SHA256'
|
|
420
|
+
| 'RSA_PKCS1_2048_SHA256'
|
|
421
|
+
| 'RSA_PKCS1_3072_SHA256'
|
|
422
|
+
| 'RSA_PKCS1_4096_SHA256'
|
|
423
|
+
| 'EC_P256_SHA256'
|
|
424
|
+
| 'EC_P384_SHA384';
|
|
378
425
|
/** The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties. */
|
|
379
426
|
cloudKmsKeyVersion?: string;
|
|
380
427
|
}
|
|
@@ -508,13 +555,13 @@ declare namespace gapi.client {
|
|
|
508
555
|
}
|
|
509
556
|
interface PublicKey {
|
|
510
557
|
/** Required. The format of the public key. */
|
|
511
|
-
format?:
|
|
558
|
+
format?: 'KEY_FORMAT_UNSPECIFIED' | 'PEM';
|
|
512
559
|
/** Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field. */
|
|
513
560
|
key?: string;
|
|
514
561
|
}
|
|
515
562
|
interface PublishingOptions {
|
|
516
563
|
/** Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. */
|
|
517
|
-
encodingFormat?:
|
|
564
|
+
encodingFormat?: 'ENCODING_FORMAT_UNSPECIFIED' | 'PEM' | 'DER';
|
|
518
565
|
/** Optional. When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates. */
|
|
519
566
|
publishCaCert?: boolean;
|
|
520
567
|
/** Optional. When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked. */
|
|
@@ -526,13 +573,31 @@ declare namespace gapi.client {
|
|
|
526
573
|
}
|
|
527
574
|
interface RevocationDetails {
|
|
528
575
|
/** Indicates why a Certificate was revoked. */
|
|
529
|
-
revocationState?:
|
|
576
|
+
revocationState?:
|
|
577
|
+
| 'REVOCATION_REASON_UNSPECIFIED'
|
|
578
|
+
| 'KEY_COMPROMISE'
|
|
579
|
+
| 'CERTIFICATE_AUTHORITY_COMPROMISE'
|
|
580
|
+
| 'AFFILIATION_CHANGED'
|
|
581
|
+
| 'SUPERSEDED'
|
|
582
|
+
| 'CESSATION_OF_OPERATION'
|
|
583
|
+
| 'CERTIFICATE_HOLD'
|
|
584
|
+
| 'PRIVILEGE_WITHDRAWN'
|
|
585
|
+
| 'ATTRIBUTE_AUTHORITY_COMPROMISE';
|
|
530
586
|
/** The time at which this Certificate was revoked. */
|
|
531
587
|
revocationTime?: string;
|
|
532
588
|
}
|
|
533
589
|
interface RevokeCertificateRequest {
|
|
534
590
|
/** Required. The RevocationReason for revoking this certificate. */
|
|
535
|
-
reason?:
|
|
591
|
+
reason?:
|
|
592
|
+
| 'REVOCATION_REASON_UNSPECIFIED'
|
|
593
|
+
| 'KEY_COMPROMISE'
|
|
594
|
+
| 'CERTIFICATE_AUTHORITY_COMPROMISE'
|
|
595
|
+
| 'AFFILIATION_CHANGED'
|
|
596
|
+
| 'SUPERSEDED'
|
|
597
|
+
| 'CESSATION_OF_OPERATION'
|
|
598
|
+
| 'CERTIFICATE_HOLD'
|
|
599
|
+
| 'PRIVILEGE_WITHDRAWN'
|
|
600
|
+
| 'ATTRIBUTE_AUTHORITY_COMPROMISE';
|
|
536
601
|
/** Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
537
602
|
requestId?: string;
|
|
538
603
|
}
|
|
@@ -542,7 +607,16 @@ declare namespace gapi.client {
|
|
|
542
607
|
/** The serial number of the Certificate. */
|
|
543
608
|
hexSerialNumber?: string;
|
|
544
609
|
/** The reason the Certificate was revoked. */
|
|
545
|
-
revocationReason?:
|
|
610
|
+
revocationReason?:
|
|
611
|
+
| 'REVOCATION_REASON_UNSPECIFIED'
|
|
612
|
+
| 'KEY_COMPROMISE'
|
|
613
|
+
| 'CERTIFICATE_AUTHORITY_COMPROMISE'
|
|
614
|
+
| 'AFFILIATION_CHANGED'
|
|
615
|
+
| 'SUPERSEDED'
|
|
616
|
+
| 'CESSATION_OF_OPERATION'
|
|
617
|
+
| 'CERTIFICATE_HOLD'
|
|
618
|
+
| 'PRIVILEGE_WITHDRAWN'
|
|
619
|
+
| 'ATTRIBUTE_AUTHORITY_COMPROMISE';
|
|
546
620
|
}
|
|
547
621
|
interface RsaKeyType {
|
|
548
622
|
/** Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes. */
|
|
@@ -560,7 +634,7 @@ declare namespace gapi.client {
|
|
|
560
634
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
561
635
|
code?: number;
|
|
562
636
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
563
|
-
details?:
|
|
637
|
+
details?: {[P in string]: any}[];
|
|
564
638
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
565
639
|
message?: string;
|
|
566
640
|
}
|
|
@@ -670,11 +744,11 @@ declare namespace gapi.client {
|
|
|
670
744
|
/** Returns a CertificateRevocationList. */
|
|
671
745
|
get(request?: {
|
|
672
746
|
/** V1 error format. */
|
|
673
|
-
'$.xgafv'?:
|
|
747
|
+
'$.xgafv'?: '1' | '2';
|
|
674
748
|
/** OAuth access token. */
|
|
675
749
|
access_token?: string;
|
|
676
750
|
/** Data format for response. */
|
|
677
|
-
alt?:
|
|
751
|
+
alt?: 'json' | 'media' | 'proto';
|
|
678
752
|
/** JSONP */
|
|
679
753
|
callback?: string;
|
|
680
754
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -697,11 +771,11 @@ declare namespace gapi.client {
|
|
|
697
771
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
698
772
|
getIamPolicy(request?: {
|
|
699
773
|
/** V1 error format. */
|
|
700
|
-
'$.xgafv'?:
|
|
774
|
+
'$.xgafv'?: '1' | '2';
|
|
701
775
|
/** OAuth access token. */
|
|
702
776
|
access_token?: string;
|
|
703
777
|
/** Data format for response. */
|
|
704
|
-
alt?:
|
|
778
|
+
alt?: 'json' | 'media' | 'proto';
|
|
705
779
|
/** JSONP */
|
|
706
780
|
callback?: string;
|
|
707
781
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -726,11 +800,11 @@ declare namespace gapi.client {
|
|
|
726
800
|
/** Lists CertificateRevocationLists. */
|
|
727
801
|
list(request?: {
|
|
728
802
|
/** V1 error format. */
|
|
729
|
-
'$.xgafv'?:
|
|
803
|
+
'$.xgafv'?: '1' | '2';
|
|
730
804
|
/** OAuth access token. */
|
|
731
805
|
access_token?: string;
|
|
732
806
|
/** Data format for response. */
|
|
733
|
-
alt?:
|
|
807
|
+
alt?: 'json' | 'media' | 'proto';
|
|
734
808
|
/** JSONP */
|
|
735
809
|
callback?: string;
|
|
736
810
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -761,11 +835,11 @@ declare namespace gapi.client {
|
|
|
761
835
|
/** Update a CertificateRevocationList. */
|
|
762
836
|
patch(request: {
|
|
763
837
|
/** V1 error format. */
|
|
764
|
-
'$.xgafv'?:
|
|
838
|
+
'$.xgafv'?: '1' | '2';
|
|
765
839
|
/** OAuth access token. */
|
|
766
840
|
access_token?: string;
|
|
767
841
|
/** Data format for response. */
|
|
768
|
-
alt?:
|
|
842
|
+
alt?: 'json' | 'media' | 'proto';
|
|
769
843
|
/** JSONP */
|
|
770
844
|
callback?: string;
|
|
771
845
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -794,11 +868,11 @@ declare namespace gapi.client {
|
|
|
794
868
|
patch(
|
|
795
869
|
request: {
|
|
796
870
|
/** V1 error format. */
|
|
797
|
-
'$.xgafv'?:
|
|
871
|
+
'$.xgafv'?: '1' | '2';
|
|
798
872
|
/** OAuth access token. */
|
|
799
873
|
access_token?: string;
|
|
800
874
|
/** Data format for response. */
|
|
801
|
-
alt?:
|
|
875
|
+
alt?: 'json' | 'media' | 'proto';
|
|
802
876
|
/** JSONP */
|
|
803
877
|
callback?: string;
|
|
804
878
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -828,11 +902,11 @@ declare namespace gapi.client {
|
|
|
828
902
|
setIamPolicy(
|
|
829
903
|
request: {
|
|
830
904
|
/** V1 error format. */
|
|
831
|
-
'$.xgafv'?:
|
|
905
|
+
'$.xgafv'?: '1' | '2';
|
|
832
906
|
/** OAuth access token. */
|
|
833
907
|
access_token?: string;
|
|
834
908
|
/** Data format for response. */
|
|
835
|
-
alt?:
|
|
909
|
+
alt?: 'json' | 'media' | 'proto';
|
|
836
910
|
/** JSONP */
|
|
837
911
|
callback?: string;
|
|
838
912
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -858,11 +932,11 @@ declare namespace gapi.client {
|
|
|
858
932
|
testIamPermissions(
|
|
859
933
|
request: {
|
|
860
934
|
/** V1 error format. */
|
|
861
|
-
'$.xgafv'?:
|
|
935
|
+
'$.xgafv'?: '1' | '2';
|
|
862
936
|
/** OAuth access token. */
|
|
863
937
|
access_token?: string;
|
|
864
938
|
/** Data format for response. */
|
|
865
|
-
alt?:
|
|
939
|
+
alt?: 'json' | 'media' | 'proto';
|
|
866
940
|
/** JSONP */
|
|
867
941
|
callback?: string;
|
|
868
942
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -889,11 +963,11 @@ declare namespace gapi.client {
|
|
|
889
963
|
/** Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process. */
|
|
890
964
|
activate(request: {
|
|
891
965
|
/** V1 error format. */
|
|
892
|
-
'$.xgafv'?:
|
|
966
|
+
'$.xgafv'?: '1' | '2';
|
|
893
967
|
/** OAuth access token. */
|
|
894
968
|
access_token?: string;
|
|
895
969
|
/** Data format for response. */
|
|
896
|
-
alt?:
|
|
970
|
+
alt?: 'json' | 'media' | 'proto';
|
|
897
971
|
/** JSONP */
|
|
898
972
|
callback?: string;
|
|
899
973
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -918,11 +992,11 @@ declare namespace gapi.client {
|
|
|
918
992
|
activate(
|
|
919
993
|
request: {
|
|
920
994
|
/** V1 error format. */
|
|
921
|
-
'$.xgafv'?:
|
|
995
|
+
'$.xgafv'?: '1' | '2';
|
|
922
996
|
/** OAuth access token. */
|
|
923
997
|
access_token?: string;
|
|
924
998
|
/** Data format for response. */
|
|
925
|
-
alt?:
|
|
999
|
+
alt?: 'json' | 'media' | 'proto';
|
|
926
1000
|
/** JSONP */
|
|
927
1001
|
callback?: string;
|
|
928
1002
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -947,11 +1021,11 @@ declare namespace gapi.client {
|
|
|
947
1021
|
/** Create a new CertificateAuthority in a given Project and Location. */
|
|
948
1022
|
create(request: {
|
|
949
1023
|
/** V1 error format. */
|
|
950
|
-
'$.xgafv'?:
|
|
1024
|
+
'$.xgafv'?: '1' | '2';
|
|
951
1025
|
/** OAuth access token. */
|
|
952
1026
|
access_token?: string;
|
|
953
1027
|
/** Data format for response. */
|
|
954
|
-
alt?:
|
|
1028
|
+
alt?: 'json' | 'media' | 'proto';
|
|
955
1029
|
/** JSONP */
|
|
956
1030
|
callback?: string;
|
|
957
1031
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -980,11 +1054,11 @@ declare namespace gapi.client {
|
|
|
980
1054
|
create(
|
|
981
1055
|
request: {
|
|
982
1056
|
/** V1 error format. */
|
|
983
|
-
'$.xgafv'?:
|
|
1057
|
+
'$.xgafv'?: '1' | '2';
|
|
984
1058
|
/** OAuth access token. */
|
|
985
1059
|
access_token?: string;
|
|
986
1060
|
/** Data format for response. */
|
|
987
|
-
alt?:
|
|
1061
|
+
alt?: 'json' | 'media' | 'proto';
|
|
988
1062
|
/** JSONP */
|
|
989
1063
|
callback?: string;
|
|
990
1064
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -1013,11 +1087,11 @@ declare namespace gapi.client {
|
|
|
1013
1087
|
/** Delete a CertificateAuthority. */
|
|
1014
1088
|
delete(request?: {
|
|
1015
1089
|
/** V1 error format. */
|
|
1016
|
-
'$.xgafv'?:
|
|
1090
|
+
'$.xgafv'?: '1' | '2';
|
|
1017
1091
|
/** OAuth access token. */
|
|
1018
1092
|
access_token?: string;
|
|
1019
1093
|
/** Data format for response. */
|
|
1020
|
-
alt?:
|
|
1094
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1021
1095
|
/** JSONP */
|
|
1022
1096
|
callback?: string;
|
|
1023
1097
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1048,11 +1122,11 @@ declare namespace gapi.client {
|
|
|
1048
1122
|
/** Disable a CertificateAuthority. */
|
|
1049
1123
|
disable(request: {
|
|
1050
1124
|
/** V1 error format. */
|
|
1051
|
-
'$.xgafv'?:
|
|
1125
|
+
'$.xgafv'?: '1' | '2';
|
|
1052
1126
|
/** OAuth access token. */
|
|
1053
1127
|
access_token?: string;
|
|
1054
1128
|
/** Data format for response. */
|
|
1055
|
-
alt?:
|
|
1129
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1056
1130
|
/** JSONP */
|
|
1057
1131
|
callback?: string;
|
|
1058
1132
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1077,11 +1151,11 @@ declare namespace gapi.client {
|
|
|
1077
1151
|
disable(
|
|
1078
1152
|
request: {
|
|
1079
1153
|
/** V1 error format. */
|
|
1080
|
-
'$.xgafv'?:
|
|
1154
|
+
'$.xgafv'?: '1' | '2';
|
|
1081
1155
|
/** OAuth access token. */
|
|
1082
1156
|
access_token?: string;
|
|
1083
1157
|
/** Data format for response. */
|
|
1084
|
-
alt?:
|
|
1158
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1085
1159
|
/** JSONP */
|
|
1086
1160
|
callback?: string;
|
|
1087
1161
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1106,11 +1180,11 @@ declare namespace gapi.client {
|
|
|
1106
1180
|
/** Enable a CertificateAuthority. */
|
|
1107
1181
|
enable(request: {
|
|
1108
1182
|
/** V1 error format. */
|
|
1109
|
-
'$.xgafv'?:
|
|
1183
|
+
'$.xgafv'?: '1' | '2';
|
|
1110
1184
|
/** OAuth access token. */
|
|
1111
1185
|
access_token?: string;
|
|
1112
1186
|
/** Data format for response. */
|
|
1113
|
-
alt?:
|
|
1187
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1114
1188
|
/** JSONP */
|
|
1115
1189
|
callback?: string;
|
|
1116
1190
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1135,11 +1209,11 @@ declare namespace gapi.client {
|
|
|
1135
1209
|
enable(
|
|
1136
1210
|
request: {
|
|
1137
1211
|
/** V1 error format. */
|
|
1138
|
-
'$.xgafv'?:
|
|
1212
|
+
'$.xgafv'?: '1' | '2';
|
|
1139
1213
|
/** OAuth access token. */
|
|
1140
1214
|
access_token?: string;
|
|
1141
1215
|
/** Data format for response. */
|
|
1142
|
-
alt?:
|
|
1216
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1143
1217
|
/** JSONP */
|
|
1144
1218
|
callback?: string;
|
|
1145
1219
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1164,11 +1238,11 @@ declare namespace gapi.client {
|
|
|
1164
1238
|
/** Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority. */
|
|
1165
1239
|
fetch(request?: {
|
|
1166
1240
|
/** V1 error format. */
|
|
1167
|
-
'$.xgafv'?:
|
|
1241
|
+
'$.xgafv'?: '1' | '2';
|
|
1168
1242
|
/** OAuth access token. */
|
|
1169
1243
|
access_token?: string;
|
|
1170
1244
|
/** Data format for response. */
|
|
1171
|
-
alt?:
|
|
1245
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1172
1246
|
/** JSONP */
|
|
1173
1247
|
callback?: string;
|
|
1174
1248
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1191,11 +1265,11 @@ declare namespace gapi.client {
|
|
|
1191
1265
|
/** Returns a CertificateAuthority. */
|
|
1192
1266
|
get(request?: {
|
|
1193
1267
|
/** V1 error format. */
|
|
1194
|
-
'$.xgafv'?:
|
|
1268
|
+
'$.xgafv'?: '1' | '2';
|
|
1195
1269
|
/** OAuth access token. */
|
|
1196
1270
|
access_token?: string;
|
|
1197
1271
|
/** Data format for response. */
|
|
1198
|
-
alt?:
|
|
1272
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1199
1273
|
/** JSONP */
|
|
1200
1274
|
callback?: string;
|
|
1201
1275
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1218,11 +1292,11 @@ declare namespace gapi.client {
|
|
|
1218
1292
|
/** Lists CertificateAuthorities. */
|
|
1219
1293
|
list(request?: {
|
|
1220
1294
|
/** V1 error format. */
|
|
1221
|
-
'$.xgafv'?:
|
|
1295
|
+
'$.xgafv'?: '1' | '2';
|
|
1222
1296
|
/** OAuth access token. */
|
|
1223
1297
|
access_token?: string;
|
|
1224
1298
|
/** Data format for response. */
|
|
1225
|
-
alt?:
|
|
1299
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1226
1300
|
/** JSONP */
|
|
1227
1301
|
callback?: string;
|
|
1228
1302
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1253,11 +1327,11 @@ declare namespace gapi.client {
|
|
|
1253
1327
|
/** Update a CertificateAuthority. */
|
|
1254
1328
|
patch(request: {
|
|
1255
1329
|
/** V1 error format. */
|
|
1256
|
-
'$.xgafv'?:
|
|
1330
|
+
'$.xgafv'?: '1' | '2';
|
|
1257
1331
|
/** OAuth access token. */
|
|
1258
1332
|
access_token?: string;
|
|
1259
1333
|
/** Data format for response. */
|
|
1260
|
-
alt?:
|
|
1334
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1261
1335
|
/** JSONP */
|
|
1262
1336
|
callback?: string;
|
|
1263
1337
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1286,11 +1360,11 @@ declare namespace gapi.client {
|
|
|
1286
1360
|
patch(
|
|
1287
1361
|
request: {
|
|
1288
1362
|
/** V1 error format. */
|
|
1289
|
-
'$.xgafv'?:
|
|
1363
|
+
'$.xgafv'?: '1' | '2';
|
|
1290
1364
|
/** OAuth access token. */
|
|
1291
1365
|
access_token?: string;
|
|
1292
1366
|
/** Data format for response. */
|
|
1293
|
-
alt?:
|
|
1367
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1294
1368
|
/** JSONP */
|
|
1295
1369
|
callback?: string;
|
|
1296
1370
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1319,11 +1393,11 @@ declare namespace gapi.client {
|
|
|
1319
1393
|
/** Undelete a CertificateAuthority that has been deleted. */
|
|
1320
1394
|
undelete(request: {
|
|
1321
1395
|
/** V1 error format. */
|
|
1322
|
-
'$.xgafv'?:
|
|
1396
|
+
'$.xgafv'?: '1' | '2';
|
|
1323
1397
|
/** OAuth access token. */
|
|
1324
1398
|
access_token?: string;
|
|
1325
1399
|
/** Data format for response. */
|
|
1326
|
-
alt?:
|
|
1400
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1327
1401
|
/** JSONP */
|
|
1328
1402
|
callback?: string;
|
|
1329
1403
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1348,11 +1422,11 @@ declare namespace gapi.client {
|
|
|
1348
1422
|
undelete(
|
|
1349
1423
|
request: {
|
|
1350
1424
|
/** V1 error format. */
|
|
1351
|
-
'$.xgafv'?:
|
|
1425
|
+
'$.xgafv'?: '1' | '2';
|
|
1352
1426
|
/** OAuth access token. */
|
|
1353
1427
|
access_token?: string;
|
|
1354
1428
|
/** Data format for response. */
|
|
1355
|
-
alt?:
|
|
1429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1356
1430
|
/** JSONP */
|
|
1357
1431
|
callback?: string;
|
|
1358
1432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1380,11 +1454,11 @@ declare namespace gapi.client {
|
|
|
1380
1454
|
/** Create a new Certificate in a given Project, Location from a particular CaPool. */
|
|
1381
1455
|
create(request: {
|
|
1382
1456
|
/** V1 error format. */
|
|
1383
|
-
'$.xgafv'?:
|
|
1457
|
+
'$.xgafv'?: '1' | '2';
|
|
1384
1458
|
/** OAuth access token. */
|
|
1385
1459
|
access_token?: string;
|
|
1386
1460
|
/** Data format for response. */
|
|
1387
|
-
alt?:
|
|
1461
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1388
1462
|
/** JSONP */
|
|
1389
1463
|
callback?: string;
|
|
1390
1464
|
/** Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.tier, but is optional and its value is ignored otherwise. */
|
|
@@ -1417,11 +1491,11 @@ declare namespace gapi.client {
|
|
|
1417
1491
|
create(
|
|
1418
1492
|
request: {
|
|
1419
1493
|
/** V1 error format. */
|
|
1420
|
-
'$.xgafv'?:
|
|
1494
|
+
'$.xgafv'?: '1' | '2';
|
|
1421
1495
|
/** OAuth access token. */
|
|
1422
1496
|
access_token?: string;
|
|
1423
1497
|
/** Data format for response. */
|
|
1424
|
-
alt?:
|
|
1498
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1425
1499
|
/** JSONP */
|
|
1426
1500
|
callback?: string;
|
|
1427
1501
|
/** Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.tier, but is optional and its value is ignored otherwise. */
|
|
@@ -1454,11 +1528,11 @@ declare namespace gapi.client {
|
|
|
1454
1528
|
/** Returns a Certificate. */
|
|
1455
1529
|
get(request?: {
|
|
1456
1530
|
/** V1 error format. */
|
|
1457
|
-
'$.xgafv'?:
|
|
1531
|
+
'$.xgafv'?: '1' | '2';
|
|
1458
1532
|
/** OAuth access token. */
|
|
1459
1533
|
access_token?: string;
|
|
1460
1534
|
/** Data format for response. */
|
|
1461
|
-
alt?:
|
|
1535
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1462
1536
|
/** JSONP */
|
|
1463
1537
|
callback?: string;
|
|
1464
1538
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1481,11 +1555,11 @@ declare namespace gapi.client {
|
|
|
1481
1555
|
/** Lists Certificates. */
|
|
1482
1556
|
list(request?: {
|
|
1483
1557
|
/** V1 error format. */
|
|
1484
|
-
'$.xgafv'?:
|
|
1558
|
+
'$.xgafv'?: '1' | '2';
|
|
1485
1559
|
/** OAuth access token. */
|
|
1486
1560
|
access_token?: string;
|
|
1487
1561
|
/** Data format for response. */
|
|
1488
|
-
alt?:
|
|
1562
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1489
1563
|
/** JSONP */
|
|
1490
1564
|
callback?: string;
|
|
1491
1565
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1502,7 +1576,7 @@ declare namespace gapi.client {
|
|
|
1502
1576
|
pageSize?: number;
|
|
1503
1577
|
/** Optional. Pagination token, returned earlier via ListCertificatesResponse.next_page_token. */
|
|
1504
1578
|
pageToken?: string;
|
|
1505
|
-
/** Required. The resource name of the parent associated with the Certificates, in the format `projects/*/locations/*/caPools/*`. The parent resource name can be in one of two forms: 1. **Specific CA Pool:** To list certificates within a single CA Pool: `projects/*/locations/*/caPools/*` 2. **All CA Pools in a Location:** To list certificates across *all* CA Pools in a given project and location, use the wildcard character (`-`) in place of the CA Pool ID. Example: `projects/*/locations/*/caPools/-`
|
|
1579
|
+
/** Required. The resource name of the parent associated with the Certificates, in the format `projects/*/locations/*/caPools/*`. The parent resource name can be in one of two forms: 1. **Specific CA Pool:** To list certificates within a single CA Pool: `projects/*/locations/*/caPools/*` 2. **All CA Pools in a Location:** To list certificates across *all* CA Pools in a given project and location, use the wildcard character (`-`) in place of the CA Pool ID. Example: `projects/*/locations/*/caPools/-` */
|
|
1506
1580
|
parent: string;
|
|
1507
1581
|
/** Returns response with indentations and line breaks. */
|
|
1508
1582
|
prettyPrint?: boolean;
|
|
@@ -1516,11 +1590,11 @@ declare namespace gapi.client {
|
|
|
1516
1590
|
/** Update a Certificate. Currently, the only field you can update is the labels field. */
|
|
1517
1591
|
patch(request: {
|
|
1518
1592
|
/** V1 error format. */
|
|
1519
|
-
'$.xgafv'?:
|
|
1593
|
+
'$.xgafv'?: '1' | '2';
|
|
1520
1594
|
/** OAuth access token. */
|
|
1521
1595
|
access_token?: string;
|
|
1522
1596
|
/** Data format for response. */
|
|
1523
|
-
alt?:
|
|
1597
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1524
1598
|
/** JSONP */
|
|
1525
1599
|
callback?: string;
|
|
1526
1600
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1549,11 +1623,11 @@ declare namespace gapi.client {
|
|
|
1549
1623
|
patch(
|
|
1550
1624
|
request: {
|
|
1551
1625
|
/** V1 error format. */
|
|
1552
|
-
'$.xgafv'?:
|
|
1626
|
+
'$.xgafv'?: '1' | '2';
|
|
1553
1627
|
/** OAuth access token. */
|
|
1554
1628
|
access_token?: string;
|
|
1555
1629
|
/** Data format for response. */
|
|
1556
|
-
alt?:
|
|
1630
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1557
1631
|
/** JSONP */
|
|
1558
1632
|
callback?: string;
|
|
1559
1633
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1582,11 +1656,11 @@ declare namespace gapi.client {
|
|
|
1582
1656
|
/** Revoke a Certificate. */
|
|
1583
1657
|
revoke(request: {
|
|
1584
1658
|
/** V1 error format. */
|
|
1585
|
-
'$.xgafv'?:
|
|
1659
|
+
'$.xgafv'?: '1' | '2';
|
|
1586
1660
|
/** OAuth access token. */
|
|
1587
1661
|
access_token?: string;
|
|
1588
1662
|
/** Data format for response. */
|
|
1589
|
-
alt?:
|
|
1663
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1590
1664
|
/** JSONP */
|
|
1591
1665
|
callback?: string;
|
|
1592
1666
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1611,11 +1685,11 @@ declare namespace gapi.client {
|
|
|
1611
1685
|
revoke(
|
|
1612
1686
|
request: {
|
|
1613
1687
|
/** V1 error format. */
|
|
1614
|
-
'$.xgafv'?:
|
|
1688
|
+
'$.xgafv'?: '1' | '2';
|
|
1615
1689
|
/** OAuth access token. */
|
|
1616
1690
|
access_token?: string;
|
|
1617
1691
|
/** Data format for response. */
|
|
1618
|
-
alt?:
|
|
1692
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1619
1693
|
/** JSONP */
|
|
1620
1694
|
callback?: string;
|
|
1621
1695
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1642,11 +1716,11 @@ declare namespace gapi.client {
|
|
|
1642
1716
|
/** Create a CaPool. */
|
|
1643
1717
|
create(request: {
|
|
1644
1718
|
/** V1 error format. */
|
|
1645
|
-
'$.xgafv'?:
|
|
1719
|
+
'$.xgafv'?: '1' | '2';
|
|
1646
1720
|
/** OAuth access token. */
|
|
1647
1721
|
access_token?: string;
|
|
1648
1722
|
/** Data format for response. */
|
|
1649
|
-
alt?:
|
|
1723
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1650
1724
|
/** JSONP */
|
|
1651
1725
|
callback?: string;
|
|
1652
1726
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -1675,11 +1749,11 @@ declare namespace gapi.client {
|
|
|
1675
1749
|
create(
|
|
1676
1750
|
request: {
|
|
1677
1751
|
/** V1 error format. */
|
|
1678
|
-
'$.xgafv'?:
|
|
1752
|
+
'$.xgafv'?: '1' | '2';
|
|
1679
1753
|
/** OAuth access token. */
|
|
1680
1754
|
access_token?: string;
|
|
1681
1755
|
/** Data format for response. */
|
|
1682
|
-
alt?:
|
|
1756
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1683
1757
|
/** JSONP */
|
|
1684
1758
|
callback?: string;
|
|
1685
1759
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -1708,11 +1782,11 @@ declare namespace gapi.client {
|
|
|
1708
1782
|
/** Delete a CaPool. */
|
|
1709
1783
|
delete(request?: {
|
|
1710
1784
|
/** V1 error format. */
|
|
1711
|
-
'$.xgafv'?:
|
|
1785
|
+
'$.xgafv'?: '1' | '2';
|
|
1712
1786
|
/** OAuth access token. */
|
|
1713
1787
|
access_token?: string;
|
|
1714
1788
|
/** Data format for response. */
|
|
1715
|
-
alt?:
|
|
1789
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1716
1790
|
/** JSONP */
|
|
1717
1791
|
callback?: string;
|
|
1718
1792
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1739,11 +1813,11 @@ declare namespace gapi.client {
|
|
|
1739
1813
|
/** FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states. */
|
|
1740
1814
|
fetchCaCerts(request: {
|
|
1741
1815
|
/** V1 error format. */
|
|
1742
|
-
'$.xgafv'?:
|
|
1816
|
+
'$.xgafv'?: '1' | '2';
|
|
1743
1817
|
/** OAuth access token. */
|
|
1744
1818
|
access_token?: string;
|
|
1745
1819
|
/** Data format for response. */
|
|
1746
|
-
alt?:
|
|
1820
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1747
1821
|
/** JSONP */
|
|
1748
1822
|
callback?: string;
|
|
1749
1823
|
/** Required. The resource name for the CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
@@ -1768,11 +1842,11 @@ declare namespace gapi.client {
|
|
|
1768
1842
|
fetchCaCerts(
|
|
1769
1843
|
request: {
|
|
1770
1844
|
/** V1 error format. */
|
|
1771
|
-
'$.xgafv'?:
|
|
1845
|
+
'$.xgafv'?: '1' | '2';
|
|
1772
1846
|
/** OAuth access token. */
|
|
1773
1847
|
access_token?: string;
|
|
1774
1848
|
/** Data format for response. */
|
|
1775
|
-
alt?:
|
|
1849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1776
1850
|
/** JSONP */
|
|
1777
1851
|
callback?: string;
|
|
1778
1852
|
/** Required. The resource name for the CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
@@ -1797,11 +1871,11 @@ declare namespace gapi.client {
|
|
|
1797
1871
|
/** Returns a CaPool. */
|
|
1798
1872
|
get(request?: {
|
|
1799
1873
|
/** V1 error format. */
|
|
1800
|
-
'$.xgafv'?:
|
|
1874
|
+
'$.xgafv'?: '1' | '2';
|
|
1801
1875
|
/** OAuth access token. */
|
|
1802
1876
|
access_token?: string;
|
|
1803
1877
|
/** Data format for response. */
|
|
1804
|
-
alt?:
|
|
1878
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1805
1879
|
/** JSONP */
|
|
1806
1880
|
callback?: string;
|
|
1807
1881
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1824,11 +1898,11 @@ declare namespace gapi.client {
|
|
|
1824
1898
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1825
1899
|
getIamPolicy(request?: {
|
|
1826
1900
|
/** V1 error format. */
|
|
1827
|
-
'$.xgafv'?:
|
|
1901
|
+
'$.xgafv'?: '1' | '2';
|
|
1828
1902
|
/** OAuth access token. */
|
|
1829
1903
|
access_token?: string;
|
|
1830
1904
|
/** Data format for response. */
|
|
1831
|
-
alt?:
|
|
1905
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1832
1906
|
/** JSONP */
|
|
1833
1907
|
callback?: string;
|
|
1834
1908
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1853,11 +1927,11 @@ declare namespace gapi.client {
|
|
|
1853
1927
|
/** Lists CaPools. */
|
|
1854
1928
|
list(request?: {
|
|
1855
1929
|
/** V1 error format. */
|
|
1856
|
-
'$.xgafv'?:
|
|
1930
|
+
'$.xgafv'?: '1' | '2';
|
|
1857
1931
|
/** OAuth access token. */
|
|
1858
1932
|
access_token?: string;
|
|
1859
1933
|
/** Data format for response. */
|
|
1860
|
-
alt?:
|
|
1934
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1861
1935
|
/** JSONP */
|
|
1862
1936
|
callback?: string;
|
|
1863
1937
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1888,11 +1962,11 @@ declare namespace gapi.client {
|
|
|
1888
1962
|
/** Update a CaPool. */
|
|
1889
1963
|
patch(request: {
|
|
1890
1964
|
/** V1 error format. */
|
|
1891
|
-
'$.xgafv'?:
|
|
1965
|
+
'$.xgafv'?: '1' | '2';
|
|
1892
1966
|
/** OAuth access token. */
|
|
1893
1967
|
access_token?: string;
|
|
1894
1968
|
/** Data format for response. */
|
|
1895
|
-
alt?:
|
|
1969
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1896
1970
|
/** JSONP */
|
|
1897
1971
|
callback?: string;
|
|
1898
1972
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1921,11 +1995,11 @@ declare namespace gapi.client {
|
|
|
1921
1995
|
patch(
|
|
1922
1996
|
request: {
|
|
1923
1997
|
/** V1 error format. */
|
|
1924
|
-
'$.xgafv'?:
|
|
1998
|
+
'$.xgafv'?: '1' | '2';
|
|
1925
1999
|
/** OAuth access token. */
|
|
1926
2000
|
access_token?: string;
|
|
1927
2001
|
/** Data format for response. */
|
|
1928
|
-
alt?:
|
|
2002
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1929
2003
|
/** JSONP */
|
|
1930
2004
|
callback?: string;
|
|
1931
2005
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1955,11 +2029,11 @@ declare namespace gapi.client {
|
|
|
1955
2029
|
setIamPolicy(
|
|
1956
2030
|
request: {
|
|
1957
2031
|
/** V1 error format. */
|
|
1958
|
-
'$.xgafv'?:
|
|
2032
|
+
'$.xgafv'?: '1' | '2';
|
|
1959
2033
|
/** OAuth access token. */
|
|
1960
2034
|
access_token?: string;
|
|
1961
2035
|
/** Data format for response. */
|
|
1962
|
-
alt?:
|
|
2036
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1963
2037
|
/** JSONP */
|
|
1964
2038
|
callback?: string;
|
|
1965
2039
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1985,11 +2059,11 @@ declare namespace gapi.client {
|
|
|
1985
2059
|
testIamPermissions(
|
|
1986
2060
|
request: {
|
|
1987
2061
|
/** V1 error format. */
|
|
1988
|
-
'$.xgafv'?:
|
|
2062
|
+
'$.xgafv'?: '1' | '2';
|
|
1989
2063
|
/** OAuth access token. */
|
|
1990
2064
|
access_token?: string;
|
|
1991
2065
|
/** Data format for response. */
|
|
1992
|
-
alt?:
|
|
2066
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1993
2067
|
/** JSONP */
|
|
1994
2068
|
callback?: string;
|
|
1995
2069
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2018,11 +2092,11 @@ declare namespace gapi.client {
|
|
|
2018
2092
|
/** Create a new CertificateTemplate in a given Project and Location. */
|
|
2019
2093
|
create(request: {
|
|
2020
2094
|
/** V1 error format. */
|
|
2021
|
-
'$.xgafv'?:
|
|
2095
|
+
'$.xgafv'?: '1' | '2';
|
|
2022
2096
|
/** OAuth access token. */
|
|
2023
2097
|
access_token?: string;
|
|
2024
2098
|
/** Data format for response. */
|
|
2025
|
-
alt?:
|
|
2099
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2026
2100
|
/** JSONP */
|
|
2027
2101
|
callback?: string;
|
|
2028
2102
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -2051,11 +2125,11 @@ declare namespace gapi.client {
|
|
|
2051
2125
|
create(
|
|
2052
2126
|
request: {
|
|
2053
2127
|
/** V1 error format. */
|
|
2054
|
-
'$.xgafv'?:
|
|
2128
|
+
'$.xgafv'?: '1' | '2';
|
|
2055
2129
|
/** OAuth access token. */
|
|
2056
2130
|
access_token?: string;
|
|
2057
2131
|
/** Data format for response. */
|
|
2058
|
-
alt?:
|
|
2132
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2059
2133
|
/** JSONP */
|
|
2060
2134
|
callback?: string;
|
|
2061
2135
|
/** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
|
|
@@ -2084,11 +2158,11 @@ declare namespace gapi.client {
|
|
|
2084
2158
|
/** DeleteCertificateTemplate deletes a CertificateTemplate. */
|
|
2085
2159
|
delete(request?: {
|
|
2086
2160
|
/** V1 error format. */
|
|
2087
|
-
'$.xgafv'?:
|
|
2161
|
+
'$.xgafv'?: '1' | '2';
|
|
2088
2162
|
/** OAuth access token. */
|
|
2089
2163
|
access_token?: string;
|
|
2090
2164
|
/** Data format for response. */
|
|
2091
|
-
alt?:
|
|
2165
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2092
2166
|
/** JSONP */
|
|
2093
2167
|
callback?: string;
|
|
2094
2168
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2113,11 +2187,11 @@ declare namespace gapi.client {
|
|
|
2113
2187
|
/** Returns a CertificateTemplate. */
|
|
2114
2188
|
get(request?: {
|
|
2115
2189
|
/** V1 error format. */
|
|
2116
|
-
'$.xgafv'?:
|
|
2190
|
+
'$.xgafv'?: '1' | '2';
|
|
2117
2191
|
/** OAuth access token. */
|
|
2118
2192
|
access_token?: string;
|
|
2119
2193
|
/** Data format for response. */
|
|
2120
|
-
alt?:
|
|
2194
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2121
2195
|
/** JSONP */
|
|
2122
2196
|
callback?: string;
|
|
2123
2197
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2140,11 +2214,11 @@ declare namespace gapi.client {
|
|
|
2140
2214
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2141
2215
|
getIamPolicy(request?: {
|
|
2142
2216
|
/** V1 error format. */
|
|
2143
|
-
'$.xgafv'?:
|
|
2217
|
+
'$.xgafv'?: '1' | '2';
|
|
2144
2218
|
/** OAuth access token. */
|
|
2145
2219
|
access_token?: string;
|
|
2146
2220
|
/** Data format for response. */
|
|
2147
|
-
alt?:
|
|
2221
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2148
2222
|
/** JSONP */
|
|
2149
2223
|
callback?: string;
|
|
2150
2224
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2169,11 +2243,11 @@ declare namespace gapi.client {
|
|
|
2169
2243
|
/** Lists CertificateTemplates. */
|
|
2170
2244
|
list(request?: {
|
|
2171
2245
|
/** V1 error format. */
|
|
2172
|
-
'$.xgafv'?:
|
|
2246
|
+
'$.xgafv'?: '1' | '2';
|
|
2173
2247
|
/** OAuth access token. */
|
|
2174
2248
|
access_token?: string;
|
|
2175
2249
|
/** Data format for response. */
|
|
2176
|
-
alt?:
|
|
2250
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2177
2251
|
/** JSONP */
|
|
2178
2252
|
callback?: string;
|
|
2179
2253
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2204,11 +2278,11 @@ declare namespace gapi.client {
|
|
|
2204
2278
|
/** Update a CertificateTemplate. */
|
|
2205
2279
|
patch(request: {
|
|
2206
2280
|
/** V1 error format. */
|
|
2207
|
-
'$.xgafv'?:
|
|
2281
|
+
'$.xgafv'?: '1' | '2';
|
|
2208
2282
|
/** OAuth access token. */
|
|
2209
2283
|
access_token?: string;
|
|
2210
2284
|
/** Data format for response. */
|
|
2211
|
-
alt?:
|
|
2285
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2212
2286
|
/** JSONP */
|
|
2213
2287
|
callback?: string;
|
|
2214
2288
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2237,11 +2311,11 @@ declare namespace gapi.client {
|
|
|
2237
2311
|
patch(
|
|
2238
2312
|
request: {
|
|
2239
2313
|
/** V1 error format. */
|
|
2240
|
-
'$.xgafv'?:
|
|
2314
|
+
'$.xgafv'?: '1' | '2';
|
|
2241
2315
|
/** OAuth access token. */
|
|
2242
2316
|
access_token?: string;
|
|
2243
2317
|
/** Data format for response. */
|
|
2244
|
-
alt?:
|
|
2318
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2245
2319
|
/** JSONP */
|
|
2246
2320
|
callback?: string;
|
|
2247
2321
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2271,11 +2345,11 @@ declare namespace gapi.client {
|
|
|
2271
2345
|
setIamPolicy(
|
|
2272
2346
|
request: {
|
|
2273
2347
|
/** V1 error format. */
|
|
2274
|
-
'$.xgafv'?:
|
|
2348
|
+
'$.xgafv'?: '1' | '2';
|
|
2275
2349
|
/** OAuth access token. */
|
|
2276
2350
|
access_token?: string;
|
|
2277
2351
|
/** Data format for response. */
|
|
2278
|
-
alt?:
|
|
2352
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2279
2353
|
/** JSONP */
|
|
2280
2354
|
callback?: string;
|
|
2281
2355
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2301,11 +2375,11 @@ declare namespace gapi.client {
|
|
|
2301
2375
|
testIamPermissions(
|
|
2302
2376
|
request: {
|
|
2303
2377
|
/** V1 error format. */
|
|
2304
|
-
'$.xgafv'?:
|
|
2378
|
+
'$.xgafv'?: '1' | '2';
|
|
2305
2379
|
/** OAuth access token. */
|
|
2306
2380
|
access_token?: string;
|
|
2307
2381
|
/** Data format for response. */
|
|
2308
|
-
alt?:
|
|
2382
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2309
2383
|
/** JSONP */
|
|
2310
2384
|
callback?: string;
|
|
2311
2385
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2332,11 +2406,11 @@ declare namespace gapi.client {
|
|
|
2332
2406
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
2333
2407
|
cancel(request: {
|
|
2334
2408
|
/** V1 error format. */
|
|
2335
|
-
'$.xgafv'?:
|
|
2409
|
+
'$.xgafv'?: '1' | '2';
|
|
2336
2410
|
/** OAuth access token. */
|
|
2337
2411
|
access_token?: string;
|
|
2338
2412
|
/** Data format for response. */
|
|
2339
|
-
alt?:
|
|
2413
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2340
2414
|
/** JSONP */
|
|
2341
2415
|
callback?: string;
|
|
2342
2416
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2361,11 +2435,11 @@ declare namespace gapi.client {
|
|
|
2361
2435
|
cancel(
|
|
2362
2436
|
request: {
|
|
2363
2437
|
/** V1 error format. */
|
|
2364
|
-
'$.xgafv'?:
|
|
2438
|
+
'$.xgafv'?: '1' | '2';
|
|
2365
2439
|
/** OAuth access token. */
|
|
2366
2440
|
access_token?: string;
|
|
2367
2441
|
/** Data format for response. */
|
|
2368
|
-
alt?:
|
|
2442
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2369
2443
|
/** JSONP */
|
|
2370
2444
|
callback?: string;
|
|
2371
2445
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2390,11 +2464,11 @@ declare namespace gapi.client {
|
|
|
2390
2464
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
2391
2465
|
delete(request?: {
|
|
2392
2466
|
/** V1 error format. */
|
|
2393
|
-
'$.xgafv'?:
|
|
2467
|
+
'$.xgafv'?: '1' | '2';
|
|
2394
2468
|
/** OAuth access token. */
|
|
2395
2469
|
access_token?: string;
|
|
2396
2470
|
/** Data format for response. */
|
|
2397
|
-
alt?:
|
|
2471
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2398
2472
|
/** JSONP */
|
|
2399
2473
|
callback?: string;
|
|
2400
2474
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2417,11 +2491,11 @@ declare namespace gapi.client {
|
|
|
2417
2491
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2418
2492
|
get(request?: {
|
|
2419
2493
|
/** V1 error format. */
|
|
2420
|
-
'$.xgafv'?:
|
|
2494
|
+
'$.xgafv'?: '1' | '2';
|
|
2421
2495
|
/** OAuth access token. */
|
|
2422
2496
|
access_token?: string;
|
|
2423
2497
|
/** Data format for response. */
|
|
2424
|
-
alt?:
|
|
2498
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2425
2499
|
/** JSONP */
|
|
2426
2500
|
callback?: string;
|
|
2427
2501
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2444,11 +2518,11 @@ declare namespace gapi.client {
|
|
|
2444
2518
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2445
2519
|
list(request?: {
|
|
2446
2520
|
/** V1 error format. */
|
|
2447
|
-
'$.xgafv'?:
|
|
2521
|
+
'$.xgafv'?: '1' | '2';
|
|
2448
2522
|
/** OAuth access token. */
|
|
2449
2523
|
access_token?: string;
|
|
2450
2524
|
/** Data format for response. */
|
|
2451
|
-
alt?:
|
|
2525
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2452
2526
|
/** JSONP */
|
|
2453
2527
|
callback?: string;
|
|
2454
2528
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2481,11 +2555,11 @@ declare namespace gapi.client {
|
|
|
2481
2555
|
/** Gets information about a location. */
|
|
2482
2556
|
get(request?: {
|
|
2483
2557
|
/** V1 error format. */
|
|
2484
|
-
'$.xgafv'?:
|
|
2558
|
+
'$.xgafv'?: '1' | '2';
|
|
2485
2559
|
/** OAuth access token. */
|
|
2486
2560
|
access_token?: string;
|
|
2487
2561
|
/** Data format for response. */
|
|
2488
|
-
alt?:
|
|
2562
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2489
2563
|
/** JSONP */
|
|
2490
2564
|
callback?: string;
|
|
2491
2565
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2505,17 +2579,17 @@ declare namespace gapi.client {
|
|
|
2505
2579
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2506
2580
|
uploadType?: string;
|
|
2507
2581
|
}): Request<Location>;
|
|
2508
|
-
/** Lists information about the supported locations for this service. This method
|
|
2582
|
+
/** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
|
|
2509
2583
|
list(request?: {
|
|
2510
2584
|
/** V1 error format. */
|
|
2511
|
-
'$.xgafv'?:
|
|
2585
|
+
'$.xgafv'?: '1' | '2';
|
|
2512
2586
|
/** OAuth access token. */
|
|
2513
2587
|
access_token?: string;
|
|
2514
2588
|
/** Data format for response. */
|
|
2515
|
-
alt?:
|
|
2589
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2516
2590
|
/** JSONP */
|
|
2517
2591
|
callback?: string;
|
|
2518
|
-
/** Optional. Do not use this field
|
|
2592
|
+
/** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
|
|
2519
2593
|
extraLocationTypes?: string | string[];
|
|
2520
2594
|
/** Selector specifying which fields to include in a partial response. */
|
|
2521
2595
|
fields?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -11,6 +11,18 @@ Install typings for Certificate Authority API:
|
|
|
11
11
|
npm install @types/gapi.client.privateca-v1 --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## TypeScript 6.0+
|
|
15
|
+
|
|
16
|
+
TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.privateca-v1"]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
14
26
|
## Usage
|
|
15
27
|
|
|
16
28
|
You need to initialize Google API client in your code:
|