@maxim_mazurok/gapi.client.privateca-v1 0.0.20230301 → 0.0.20230403
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 +17 -7
- package/package.json +1 -1
- package/tests.ts +5 -7
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: 20230403
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -309,6 +309,11 @@ declare namespace gapi.client {
|
|
|
309
309
|
updateTime?: string;
|
|
310
310
|
}
|
|
311
311
|
interface DisableCertificateAuthorityRequest {
|
|
312
|
+
/**
|
|
313
|
+
* Optional. This field allows this CA to be disabled even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any
|
|
314
|
+
* dependent resource(s) since the CA will no longer be able to issue certificates.
|
|
315
|
+
*/
|
|
316
|
+
ignoreDependentResources?: boolean;
|
|
312
317
|
/**
|
|
313
318
|
* 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
|
|
314
319
|
* 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
|
|
@@ -1216,6 +1221,11 @@ declare namespace gapi.client {
|
|
|
1216
1221
|
fields?: string;
|
|
1217
1222
|
/** Optional. This field allows the CA to be deleted even if the CA has active certs. Active certs include both unrevoked and unexpired certs. */
|
|
1218
1223
|
ignoreActiveCertificates?: boolean;
|
|
1224
|
+
/**
|
|
1225
|
+
* Optional. This field allows this ca to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any
|
|
1226
|
+
* dependent resource(s) since the CA will no longer be able to issue certificates.
|
|
1227
|
+
*/
|
|
1228
|
+
ignoreDependentResources?: boolean;
|
|
1219
1229
|
/** 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. */
|
|
1220
1230
|
key?: string;
|
|
1221
1231
|
/** Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. */
|
|
@@ -1981,6 +1991,11 @@ declare namespace gapi.client {
|
|
|
1981
1991
|
callback?: string;
|
|
1982
1992
|
/** Selector specifying which fields to include in a partial response. */
|
|
1983
1993
|
fields?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* Optional. This field allows this pool to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on
|
|
1996
|
+
* any dependent resource(s) since the pool will no longer be able to issue certificates.
|
|
1997
|
+
*/
|
|
1998
|
+
ignoreDependentResources?: boolean;
|
|
1984
1999
|
/** 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. */
|
|
1985
2000
|
key?: string;
|
|
1986
2001
|
/** Required. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`. */
|
|
@@ -2783,12 +2798,7 @@ declare namespace gapi.client {
|
|
|
2783
2798
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2784
2799
|
uploadType?: string;
|
|
2785
2800
|
}): Request<Operation>;
|
|
2786
|
-
/**
|
|
2787
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
2788
|
-
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
2789
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
2790
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
2791
|
-
*/
|
|
2801
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2792
2802
|
list(request?: {
|
|
2793
2803
|
/** V1 error format. */
|
|
2794
2804
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230403
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -180,6 +180,7 @@ gapi.load('client', async () => {
|
|
|
180
180
|
});
|
|
181
181
|
/** Delete a CaPool. */
|
|
182
182
|
await gapi.client.privateca.projects.locations.caPools.delete({
|
|
183
|
+
ignoreDependentResources: true,
|
|
183
184
|
name: "Test string",
|
|
184
185
|
requestId: "Test string",
|
|
185
186
|
});
|
|
@@ -725,6 +726,7 @@ gapi.load('client', async () => {
|
|
|
725
726
|
/** Delete a CertificateAuthority. */
|
|
726
727
|
await gapi.client.privateca.projects.locations.caPools.certificateAuthorities.delete({
|
|
727
728
|
ignoreActiveCertificates: true,
|
|
729
|
+
ignoreDependentResources: true,
|
|
728
730
|
name: "Test string",
|
|
729
731
|
requestId: "Test string",
|
|
730
732
|
skipGracePeriod: true,
|
|
@@ -733,6 +735,7 @@ gapi.load('client', async () => {
|
|
|
733
735
|
await gapi.client.privateca.projects.locations.caPools.certificateAuthorities.disable({
|
|
734
736
|
name: "Test string",
|
|
735
737
|
}, {
|
|
738
|
+
ignoreDependentResources: true,
|
|
736
739
|
requestId: "Test string",
|
|
737
740
|
});
|
|
738
741
|
/** Enable a CertificateAuthority. */
|
|
@@ -2106,12 +2109,7 @@ gapi.load('client', async () => {
|
|
|
2106
2109
|
await gapi.client.privateca.projects.locations.operations.get({
|
|
2107
2110
|
name: "Test string",
|
|
2108
2111
|
});
|
|
2109
|
-
/**
|
|
2110
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
|
|
2111
|
-
* override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
2112
|
-
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
2113
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
2114
|
-
*/
|
|
2112
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
2115
2113
|
await gapi.client.privateca.projects.locations.operations.list({
|
|
2116
2114
|
filter: "Test string",
|
|
2117
2115
|
name: "Test string",
|