@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20230406 → 0.0.20230415

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 +15 -15
  2. package/package.json +1 -1
  3. package/tests.ts +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://networksecurity.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230406
12
+ // Revision: 20230415
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -351,18 +351,18 @@ declare namespace gapi.client {
351
351
  }
352
352
  interface MTLSPolicy {
353
353
  /**
354
- * Required if the policy is to be used with Traffic Director. For External HTTPS LB it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate
355
- * the client certificate.
354
+ * Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate
355
+ * to validate the client certificate.
356
356
  */
357
357
  clientValidationCa?: ValidationCA[];
358
358
  /**
359
- * Specifies whether client connections proceed when a client presents an invalid certificate or no certificate. Required if the policy is to be used with the External HTTPS LB. For
360
- * Traffic Director it must be empty.
359
+ * When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the
360
+ * policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty.
361
361
  */
362
362
  clientValidationMode?: string;
363
363
  /**
364
364
  * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given
365
- * TrustConfig. Allowed only if the policy is to be used with External HTTPS LB.
365
+ * TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers.
366
366
  */
367
367
  clientValidationTrustConfig?: string;
368
368
  }
@@ -421,10 +421,10 @@ declare namespace gapi.client {
421
421
  }
422
422
  interface ServerTlsPolicy {
423
423
  /**
424
- * Can be enabled only for Traffic Director policies, must be false for External HTTPS LB policies. Determines if server allows plaintext connections. If set to true, server allows
425
- * plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server
426
- * allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment
427
- * to TLS while having mixed TLS and non-TLS traffic reaching port :80.
424
+ * This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If
425
+ * set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and
426
+ * `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to
427
+ * upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
428
428
  */
429
429
  allowOpen?: boolean;
430
430
  /** Output only. The timestamp when the resource was created. */
@@ -434,16 +434,16 @@ declare namespace gapi.client {
434
434
  /** Set of label tags associated with the resource. */
435
435
  labels?: { [P in string]: string };
436
436
  /**
437
- * Required if policy is to be used with the External HTTPS LB, for Traffic Director allowed to be empty. Defines a mechanism to provision peer validation certificates for peer to peer
438
- * authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are
439
- * set, server allows both plain text and mTLS connections.
437
+ * This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation
438
+ * certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If
439
+ * `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
440
440
  */
441
441
  mtlsPolicy?: MTLSPolicy;
442
442
  /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
443
443
  name?: string;
444
444
  /**
445
- * Optional if policy is to be used with Traffic Director, for External HTTPS LB must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be
446
- * combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
445
+ * Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys).
446
+ * Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
447
447
  */
448
448
  serverCertificate?: GoogleCloudNetworksecurityV1CertificateProvider;
449
449
  /** Output only. The timestamp when the resource was updated. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20230406",
3
+ "version": "0.0.20230415",
4
4
  "description": "TypeScript typings for Network Security 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: 20230406
6
+ // Revision: 20230415
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */