@maxim_mazurok/gapi.client.networksecurity-v1beta1 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=v1beta1
12
- // Revision: 20230406
12
+ // Revision: 20230415
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -419,18 +419,18 @@ declare namespace gapi.client {
419
419
  }
420
420
  interface MTLSPolicy {
421
421
  /**
422
- * 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
423
- * the client certificate.
422
+ * 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
423
+ * to validate the client certificate.
424
424
  */
425
425
  clientValidationCa?: ValidationCA[];
426
426
  /**
427
- * 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
428
- * Traffic Director it must be empty.
427
+ * 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
428
+ * policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty.
429
429
  */
430
430
  clientValidationMode?: string;
431
431
  /**
432
432
  * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given
433
- * TrustConfig. Allowed only if the policy is to be used with External HTTPS LB.
433
+ * TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers.
434
434
  */
435
435
  clientValidationTrustConfig?: string;
436
436
  }
@@ -501,10 +501,10 @@ declare namespace gapi.client {
501
501
  }
502
502
  interface ServerTlsPolicy {
503
503
  /**
504
- * 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
505
- * 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
506
- * 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
507
- * to TLS while having mixed TLS and non-TLS traffic reaching port :80.
504
+ * 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
505
+ * 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
506
+ * `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
507
+ * upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.
508
508
  */
509
509
  allowOpen?: boolean;
510
510
  /** Output only. The timestamp when the resource was created. */
@@ -514,16 +514,16 @@ declare namespace gapi.client {
514
514
  /** Set of label tags associated with the resource. */
515
515
  labels?: { [P in string]: string };
516
516
  /**
517
- * 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
518
- * 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
519
- * set, server allows both plain text and mTLS connections.
517
+ * 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
518
+ * 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
519
+ * `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
520
520
  */
521
521
  mtlsPolicy?: MTLSPolicy;
522
522
  /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
523
523
  name?: string;
524
524
  /**
525
- * 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
526
- * combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
525
+ * 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).
526
+ * Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
527
527
  */
528
528
  serverCertificate?: GoogleCloudNetworksecurityV1beta1CertificateProvider;
529
529
  /** 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-v1beta1",
3
- "version": "0.0.20230406",
3
+ "version": "0.0.20230415",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
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 */