@maxim_mazurok/gapi.client.privateca-v1 0.0.20230315 → 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.
Files changed (3) hide show
  1. package/index.d.ts +16 -1
  2. package/package.json +1 -1
  3. package/tests.ts +4 -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: 20230315
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/*`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.privateca-v1",
3
- "version": "0.0.20230315",
3
+ "version": "0.0.20230403",
4
4
  "description": "TypeScript typings for Certificate Authority API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230315
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. */