@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230327 → 0.0.20230406
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 +30 -9
- package/package.json +1 -1
- package/tests.ts +5 -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:
|
|
12
|
+
// Revision: 20230406
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -348,6 +348,8 @@ declare namespace gapi.client {
|
|
|
348
348
|
* 'next_page_token' as 'page_token'.
|
|
349
349
|
*/
|
|
350
350
|
nextPageToken?: string;
|
|
351
|
+
/** Locations that could not be reached. */
|
|
352
|
+
unreachable?: string[];
|
|
351
353
|
}
|
|
352
354
|
interface ListGatewaySecurityPolicyRulesResponse {
|
|
353
355
|
/** List of GatewaySecurityPolicyRule resources. */
|
|
@@ -357,6 +359,8 @@ declare namespace gapi.client {
|
|
|
357
359
|
* 'next_page_token' as 'page_token'.
|
|
358
360
|
*/
|
|
359
361
|
nextPageToken?: string;
|
|
362
|
+
/** Locations that could not be reached. */
|
|
363
|
+
unreachable?: string[];
|
|
360
364
|
}
|
|
361
365
|
interface ListLocationsResponse {
|
|
362
366
|
/** A list of locations that matches the specified filter in the request. */
|
|
@@ -387,6 +391,8 @@ declare namespace gapi.client {
|
|
|
387
391
|
nextPageToken?: string;
|
|
388
392
|
/** List of TlsInspectionPolicies resources. */
|
|
389
393
|
tlsInspectionPolicies?: TlsInspectionPolicy[];
|
|
394
|
+
/** Locations that could not be reached. */
|
|
395
|
+
unreachable?: string[];
|
|
390
396
|
}
|
|
391
397
|
interface ListUrlListsResponse {
|
|
392
398
|
/**
|
|
@@ -412,8 +418,21 @@ declare namespace gapi.client {
|
|
|
412
418
|
name?: string;
|
|
413
419
|
}
|
|
414
420
|
interface MTLSPolicy {
|
|
415
|
-
/**
|
|
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.
|
|
424
|
+
*/
|
|
416
425
|
clientValidationCa?: ValidationCA[];
|
|
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.
|
|
429
|
+
*/
|
|
430
|
+
clientValidationMode?: string;
|
|
431
|
+
/**
|
|
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.
|
|
434
|
+
*/
|
|
435
|
+
clientValidationTrustConfig?: string;
|
|
417
436
|
}
|
|
418
437
|
interface Operation {
|
|
419
438
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
@@ -482,9 +501,10 @@ declare namespace gapi.client {
|
|
|
482
501
|
}
|
|
483
502
|
interface ServerTlsPolicy {
|
|
484
503
|
/**
|
|
485
|
-
*
|
|
486
|
-
* encryption modes. For example, if `allow_open` and `mtls_policy` are set, server
|
|
487
|
-
* compatibility. Consider using it if you wish to upgrade in place your deployment
|
|
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.
|
|
488
508
|
*/
|
|
489
509
|
allowOpen?: boolean;
|
|
490
510
|
/** Output only. The timestamp when the resource was created. */
|
|
@@ -494,15 +514,16 @@ declare namespace gapi.client {
|
|
|
494
514
|
/** Set of label tags associated with the resource. */
|
|
495
515
|
labels?: { [P in string]: string };
|
|
496
516
|
/**
|
|
497
|
-
*
|
|
498
|
-
* connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are
|
|
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.
|
|
499
520
|
*/
|
|
500
521
|
mtlsPolicy?: MTLSPolicy;
|
|
501
522
|
/** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
|
|
502
523
|
name?: string;
|
|
503
524
|
/**
|
|
504
|
-
*
|
|
505
|
-
* supported.
|
|
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.
|
|
506
527
|
*/
|
|
507
528
|
serverCertificate?: GoogleCloudNetworksecurityV1beta1CertificateProvider;
|
|
508
529
|
/** Output only. The timestamp when the resource was updated. */
|
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: 20230406
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -713,6 +713,8 @@ gapi.load('client', async () => {
|
|
|
713
713
|
},
|
|
714
714
|
}
|
|
715
715
|
],
|
|
716
|
+
clientValidationMode: "Test string",
|
|
717
|
+
clientValidationTrustConfig: "Test string",
|
|
716
718
|
},
|
|
717
719
|
name: "Test string",
|
|
718
720
|
serverCertificate: {
|
|
@@ -766,6 +768,8 @@ gapi.load('client', async () => {
|
|
|
766
768
|
},
|
|
767
769
|
}
|
|
768
770
|
],
|
|
771
|
+
clientValidationMode: "Test string",
|
|
772
|
+
clientValidationTrustConfig: "Test string",
|
|
769
773
|
},
|
|
770
774
|
name: "Test string",
|
|
771
775
|
serverCertificate: {
|