@maxim_mazurok/gapi.client.privateca-v1 0.0.20241023 → 0.0.20241204
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 +25 -25
- package/package.json +1 -1
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: 20241204
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -76,7 +76,7 @@ declare namespace gapi.client {
|
|
|
76
76
|
issuancePolicy?: IssuancePolicy;
|
|
77
77
|
/** Optional. Labels with user-defined metadata. */
|
|
78
78
|
labels?: {[P in string]: string};
|
|
79
|
-
/**
|
|
79
|
+
/** Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
80
80
|
name?: string;
|
|
81
81
|
/** Optional. The PublishingOptions to follow when issuing Certificates from any CertificateAuthority in this CaPool. */
|
|
82
82
|
publishingOptions?: PublishingOptions;
|
|
@@ -102,7 +102,7 @@ declare namespace gapi.client {
|
|
|
102
102
|
labels?: {[P in string]: string};
|
|
103
103
|
/** Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain. */
|
|
104
104
|
lifetime?: string;
|
|
105
|
-
/**
|
|
105
|
+
/** Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. */
|
|
106
106
|
name?: string;
|
|
107
107
|
/** Output only. The pem-encoded, signed X.509 certificate. */
|
|
108
108
|
pemCertificate?: string;
|
|
@@ -138,7 +138,7 @@ declare namespace gapi.client {
|
|
|
138
138
|
labels?: {[P in string]: string};
|
|
139
139
|
/** Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. */
|
|
140
140
|
lifetime?: string;
|
|
141
|
-
/**
|
|
141
|
+
/** Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. */
|
|
142
142
|
name?: string;
|
|
143
143
|
/** Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate. */
|
|
144
144
|
pemCaCertificates?: string[];
|
|
@@ -216,7 +216,7 @@ declare namespace gapi.client {
|
|
|
216
216
|
createTime?: string;
|
|
217
217
|
/** Optional. Labels with user-defined metadata. */
|
|
218
218
|
labels?: {[P in string]: string};
|
|
219
|
-
/**
|
|
219
|
+
/** Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`. */
|
|
220
220
|
name?: string;
|
|
221
221
|
/** Output only. The PEM-encoded X.509 CRL. */
|
|
222
222
|
pemCrl?: string;
|
|
@@ -242,7 +242,7 @@ declare namespace gapi.client {
|
|
|
242
242
|
labels?: {[P in string]: string};
|
|
243
243
|
/** Optional. The maximum lifetime allowed for issued Certificates that use this template. If the issuing CaPool resource's IssuancePolicy specifies a maximum_lifetime the minimum of the two durations will be the maximum lifetime for issued Certificates. Note that if the issuing CertificateAuthority expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated to match it. */
|
|
244
244
|
maximumLifetime?: string;
|
|
245
|
-
/**
|
|
245
|
+
/** Identifier. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`. */
|
|
246
246
|
name?: string;
|
|
247
247
|
/** Optional. Describes the set of X.509 extensions that may appear in a Certificate issued using this CertificateTemplate. If a certificate request sets extensions that don't appear in the passthrough_extensions, those extensions will be dropped. If the issuing CaPool's IssuancePolicy defines baseline_values that don't appear here, the certificate issuance request will fail. If this is omitted, then this template will not add restrictions on a certificate's X.509 extensions. These constraints do not apply to X.509 extensions set in this CertificateTemplate's predefined_values. */
|
|
248
248
|
passthroughExtensions?: CertificateExtensionConstraints;
|
|
@@ -363,7 +363,7 @@ declare namespace gapi.client {
|
|
|
363
363
|
interface ListCaPoolsResponse {
|
|
364
364
|
/** The list of CaPools. */
|
|
365
365
|
caPools?: CaPool[];
|
|
366
|
-
/** A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.
|
|
366
|
+
/** A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.page_token to retrieve the next page of results. */
|
|
367
367
|
nextPageToken?: string;
|
|
368
368
|
/** A list of locations (e.g. "us-west1") that could not be reached. */
|
|
369
369
|
unreachable?: string[];
|
|
@@ -371,7 +371,7 @@ declare namespace gapi.client {
|
|
|
371
371
|
interface ListCertificateAuthoritiesResponse {
|
|
372
372
|
/** The list of CertificateAuthorities. */
|
|
373
373
|
certificateAuthorities?: CertificateAuthority[];
|
|
374
|
-
/** A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.
|
|
374
|
+
/** A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.page_token to retrieve the next page of results. */
|
|
375
375
|
nextPageToken?: string;
|
|
376
376
|
/** A list of locations (e.g. "us-west1") that could not be reached. */
|
|
377
377
|
unreachable?: string[];
|
|
@@ -379,7 +379,7 @@ declare namespace gapi.client {
|
|
|
379
379
|
interface ListCertificateRevocationListsResponse {
|
|
380
380
|
/** The list of CertificateRevocationLists. */
|
|
381
381
|
certificateRevocationLists?: CertificateRevocationList[];
|
|
382
|
-
/** A token to retrieve next page of results. Pass this value in ListCertificateRevocationListsRequest.
|
|
382
|
+
/** A token to retrieve next page of results. Pass this value in ListCertificateRevocationListsRequest.page_token to retrieve the next page of results. */
|
|
383
383
|
nextPageToken?: string;
|
|
384
384
|
/** A list of locations (e.g. "us-west1") that could not be reached. */
|
|
385
385
|
unreachable?: string[];
|
|
@@ -387,7 +387,7 @@ declare namespace gapi.client {
|
|
|
387
387
|
interface ListCertificatesResponse {
|
|
388
388
|
/** The list of Certificates. */
|
|
389
389
|
certificates?: Certificate[];
|
|
390
|
-
/** A token to retrieve next page of results. Pass this value in ListCertificatesRequest.
|
|
390
|
+
/** A token to retrieve next page of results. Pass this value in ListCertificatesRequest.page_token to retrieve the next page of results. */
|
|
391
391
|
nextPageToken?: string;
|
|
392
392
|
/** A list of locations (e.g. "us-west1") that could not be reached. */
|
|
393
393
|
unreachable?: string[];
|
|
@@ -395,7 +395,7 @@ declare namespace gapi.client {
|
|
|
395
395
|
interface ListCertificateTemplatesResponse {
|
|
396
396
|
/** The list of CertificateTemplates. */
|
|
397
397
|
certificateTemplates?: CertificateTemplate[];
|
|
398
|
-
/** A token to retrieve next page of results. Pass this value in ListCertificateTemplatesRequest.
|
|
398
|
+
/** A token to retrieve next page of results. Pass this value in ListCertificateTemplatesRequest.page_token to retrieve the next page of results. */
|
|
399
399
|
nextPageToken?: string;
|
|
400
400
|
/** A list of locations (e.g. "us-west1") that could not be reached. */
|
|
401
401
|
unreachable?: string[];
|
|
@@ -467,7 +467,7 @@ declare namespace gapi.client {
|
|
|
467
467
|
createTime?: string;
|
|
468
468
|
/** Output only. The time the operation finished running. */
|
|
469
469
|
endTime?: string;
|
|
470
|
-
/** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
470
|
+
/** Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
471
471
|
requestedCancellation?: boolean;
|
|
472
472
|
/** Output only. Human-readable status of the operation, if any. */
|
|
473
473
|
statusMessage?: string;
|
|
@@ -746,7 +746,7 @@ declare namespace gapi.client {
|
|
|
746
746
|
fields?: string;
|
|
747
747
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
748
748
|
key?: string;
|
|
749
|
-
/**
|
|
749
|
+
/** Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`. */
|
|
750
750
|
name: string;
|
|
751
751
|
/** OAuth 2.0 token for the current user. */
|
|
752
752
|
oauth_token?: string;
|
|
@@ -779,7 +779,7 @@ declare namespace gapi.client {
|
|
|
779
779
|
fields?: string;
|
|
780
780
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
781
781
|
key?: string;
|
|
782
|
-
/**
|
|
782
|
+
/** Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`. */
|
|
783
783
|
name: string;
|
|
784
784
|
/** OAuth 2.0 token for the current user. */
|
|
785
785
|
oauth_token?: string;
|
|
@@ -1238,7 +1238,7 @@ declare namespace gapi.client {
|
|
|
1238
1238
|
fields?: string;
|
|
1239
1239
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1240
1240
|
key?: string;
|
|
1241
|
-
/**
|
|
1241
|
+
/** Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. */
|
|
1242
1242
|
name: string;
|
|
1243
1243
|
/** OAuth 2.0 token for the current user. */
|
|
1244
1244
|
oauth_token?: string;
|
|
@@ -1271,7 +1271,7 @@ declare namespace gapi.client {
|
|
|
1271
1271
|
fields?: string;
|
|
1272
1272
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1273
1273
|
key?: string;
|
|
1274
|
-
/**
|
|
1274
|
+
/** Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. */
|
|
1275
1275
|
name: string;
|
|
1276
1276
|
/** OAuth 2.0 token for the current user. */
|
|
1277
1277
|
oauth_token?: string;
|
|
@@ -1361,7 +1361,7 @@ declare namespace gapi.client {
|
|
|
1361
1361
|
alt?: string;
|
|
1362
1362
|
/** JSONP */
|
|
1363
1363
|
callback?: string;
|
|
1364
|
-
/** 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.
|
|
1364
|
+
/** 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. */
|
|
1365
1365
|
certificateId?: string;
|
|
1366
1366
|
/** Selector specifying which fields to include in a partial response. */
|
|
1367
1367
|
fields?: string;
|
|
@@ -1398,7 +1398,7 @@ declare namespace gapi.client {
|
|
|
1398
1398
|
alt?: string;
|
|
1399
1399
|
/** JSONP */
|
|
1400
1400
|
callback?: string;
|
|
1401
|
-
/** 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.
|
|
1401
|
+
/** 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. */
|
|
1402
1402
|
certificateId?: string;
|
|
1403
1403
|
/** Selector specifying which fields to include in a partial response. */
|
|
1404
1404
|
fields?: string;
|
|
@@ -1501,7 +1501,7 @@ declare namespace gapi.client {
|
|
|
1501
1501
|
fields?: string;
|
|
1502
1502
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1503
1503
|
key?: string;
|
|
1504
|
-
/**
|
|
1504
|
+
/** Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. */
|
|
1505
1505
|
name: string;
|
|
1506
1506
|
/** OAuth 2.0 token for the current user. */
|
|
1507
1507
|
oauth_token?: string;
|
|
@@ -1534,7 +1534,7 @@ declare namespace gapi.client {
|
|
|
1534
1534
|
fields?: string;
|
|
1535
1535
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1536
1536
|
key?: string;
|
|
1537
|
-
/**
|
|
1537
|
+
/** Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. */
|
|
1538
1538
|
name: string;
|
|
1539
1539
|
/** OAuth 2.0 token for the current user. */
|
|
1540
1540
|
oauth_token?: string;
|
|
@@ -1873,7 +1873,7 @@ declare namespace gapi.client {
|
|
|
1873
1873
|
fields?: string;
|
|
1874
1874
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1875
1875
|
key?: string;
|
|
1876
|
-
/**
|
|
1876
|
+
/** Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
1877
1877
|
name: string;
|
|
1878
1878
|
/** OAuth 2.0 token for the current user. */
|
|
1879
1879
|
oauth_token?: string;
|
|
@@ -1906,7 +1906,7 @@ declare namespace gapi.client {
|
|
|
1906
1906
|
fields?: string;
|
|
1907
1907
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1908
1908
|
key?: string;
|
|
1909
|
-
/**
|
|
1909
|
+
/** Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
1910
1910
|
name: string;
|
|
1911
1911
|
/** OAuth 2.0 token for the current user. */
|
|
1912
1912
|
oauth_token?: string;
|
|
@@ -2189,7 +2189,7 @@ declare namespace gapi.client {
|
|
|
2189
2189
|
fields?: string;
|
|
2190
2190
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2191
2191
|
key?: string;
|
|
2192
|
-
/**
|
|
2192
|
+
/** Identifier. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`. */
|
|
2193
2193
|
name: string;
|
|
2194
2194
|
/** OAuth 2.0 token for the current user. */
|
|
2195
2195
|
oauth_token?: string;
|
|
@@ -2222,7 +2222,7 @@ declare namespace gapi.client {
|
|
|
2222
2222
|
fields?: string;
|
|
2223
2223
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2224
2224
|
key?: string;
|
|
2225
|
-
/**
|
|
2225
|
+
/** Identifier. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`. */
|
|
2226
2226
|
name: string;
|
|
2227
2227
|
/** OAuth 2.0 token for the current user. */
|
|
2228
2228
|
oauth_token?: string;
|
|
@@ -2303,7 +2303,7 @@ declare namespace gapi.client {
|
|
|
2303
2303
|
): Request<TestIamPermissionsResponse>;
|
|
2304
2304
|
}
|
|
2305
2305
|
interface OperationsResource {
|
|
2306
|
-
/** 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
|
|
2306
|
+
/** 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`. */
|
|
2307
2307
|
cancel(request: {
|
|
2308
2308
|
/** V1 error format. */
|
|
2309
2309
|
'$.xgafv'?: string;
|