@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20230701 → 0.0.20230713

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 +37 -1
  2. package/package.json +1 -1
  3. package/tests.ts +15 -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: 20230701
12
+ // Revision: 20230713
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -700,15 +700,51 @@ declare namespace gapi.client {
700
700
  /** Output only. The timestamp when the resource was created. */
701
701
  createTime?:
702
702
  string;
703
+ /**
704
+ * Optional. List of custom TLS cipher suites selected. This field is valid only if the selected tls_feature_profile is CUSTOM. The compute.SslPoliciesService.ListAvailableFeatures
705
+ * method returns the set of features that can be specified in this list. Note that Secure Web Proxy does not yet honor this field.
706
+ */
707
+ customTlsFeatures?:
708
+ string[];
703
709
  /** Optional. Free-text description of the resource. */
704
710
  description?:
705
711
  string;
712
+ /**
713
+ * Optional. If FALSE (the default), use our default set of public CAs in addition to any CAs specified in trust_config. These public CAs are currently based on the Mozilla Root
714
+ * Program and are subject to change over time. If TRUE, do not accept our default set of public CAs. Only CAs specified in trust_config will be accepted. This defaults to FALSE (use
715
+ * public CAs in addition to trust_config) for backwards compatibility, but trusting public root CAs is *not recommended* unless the traffic in question is outbound to public web
716
+ * servers. When possible, prefer setting this to "false" and explicitly specifying trusted CAs and certificates in a TrustConfig. Note that Secure Web Proxy does not yet honor this
717
+ * field.
718
+ */
719
+ excludePublicCaSet?:
720
+ boolean;
721
+ /**
722
+ * Optional. Minimum TLS version that the firewall should use when negotiating connections with both clients and servers. If this is not set, then the default value is to allow the
723
+ * broadest set of clients and servers (TLS 1.0 or higher). Setting this to more restrictive values may improve security, but may also prevent the firewall from connecting to some
724
+ * clients or servers. Note that Secure Web Proxy does not yet honor this field.
725
+ */
726
+ minTlsVersion?:
727
+ string;
706
728
  /**
707
729
  * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
708
730
  * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
709
731
  */
710
732
  name?:
711
733
  string;
734
+ /**
735
+ * Optional. The selected Profile. If this is not set, then the default value is to allow the broadest set of clients and servers ("PROFILE_COMPATIBLE"). Setting this to more
736
+ * restrictive values may improve security, but may also prevent the TLS inspection proxy from connecting to some clients or servers. Note that Secure Web Proxy does not yet honor this
737
+ * field.
738
+ */
739
+ tlsFeatureProfile?:
740
+ string;
741
+ /**
742
+ * Optional. A TrustConfig resource used when making a connection to the TLS server. This is a relative resource path following the form
743
+ * "projects/{project}/locations/{location}/trustConfigs/{trust_config}". This is necessary to intercept TLS connections to servers with certificates signed by a private CA or
744
+ * self-signed certificates. Note that Secure Web Proxy does not yet honor this field.
745
+ */
746
+ trustConfig?:
747
+ string;
712
748
  /** Output only. The timestamp when the resource was updated. */
713
749
  updateTime?:
714
750
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1",
3
- "version": "0.0.20230701",
3
+ "version": "0.0.20230713",
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: 20230701
6
+ // Revision: 20230713
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -837,8 +837,15 @@ gapi.load('client', async () => {
837
837
  }, {
838
838
  caPool: "Test string",
839
839
  createTime: "Test string",
840
+ customTlsFeatures: [
841
+ "Test string"
842
+ ],
840
843
  description: "Test string",
844
+ excludePublicCaSet: true,
845
+ minTlsVersion: "Test string",
841
846
  name: "Test string",
847
+ tlsFeatureProfile: "Test string",
848
+ trustConfig: "Test string",
842
849
  updateTime: "Test string",
843
850
  });
844
851
  /** Deletes a single TlsInspectionPolicy. */
@@ -863,8 +870,15 @@ gapi.load('client', async () => {
863
870
  }, {
864
871
  caPool: "Test string",
865
872
  createTime: "Test string",
873
+ customTlsFeatures: [
874
+ "Test string"
875
+ ],
866
876
  description: "Test string",
877
+ excludePublicCaSet: true,
878
+ minTlsVersion: "Test string",
867
879
  name: "Test string",
880
+ tlsFeatureProfile: "Test string",
881
+ trustConfig: "Test string",
868
882
  updateTime: "Test string",
869
883
  });
870
884
  /** Creates a new UrlList in a given project and location. */