@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230309 → 0.0.20230327
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 +263 -1
- package/package.json +1 -1
- package/tests.ts +42 -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: 20230327
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -152,6 +152,8 @@ declare namespace gapi.client {
|
|
|
152
152
|
* the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
|
|
153
153
|
*/
|
|
154
154
|
name?: string;
|
|
155
|
+
/** Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it. */
|
|
156
|
+
tlsInspectionPolicy?: string;
|
|
155
157
|
/** Output only. The timestamp when the resource was updated. */
|
|
156
158
|
updateTime?: string;
|
|
157
159
|
}
|
|
@@ -175,6 +177,8 @@ declare namespace gapi.client {
|
|
|
175
177
|
priority?: number;
|
|
176
178
|
/** Required. CEL expression for matching on session criteria. */
|
|
177
179
|
sessionMatcher?: string;
|
|
180
|
+
/** Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig. */
|
|
181
|
+
tlsInspectionEnabled?: boolean;
|
|
178
182
|
/** Output only. Time when the rule was updated. */
|
|
179
183
|
updateTime?: string;
|
|
180
184
|
}
|
|
@@ -375,6 +379,15 @@ declare namespace gapi.client {
|
|
|
375
379
|
/** List of ServerTlsPolicy resources. */
|
|
376
380
|
serverTlsPolicies?: ServerTlsPolicy[];
|
|
377
381
|
}
|
|
382
|
+
interface ListTlsInspectionPoliciesResponse {
|
|
383
|
+
/**
|
|
384
|
+
* If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of
|
|
385
|
+
* 'next_page_token' as 'page_token'.
|
|
386
|
+
*/
|
|
387
|
+
nextPageToken?: string;
|
|
388
|
+
/** List of TlsInspectionPolicies resources. */
|
|
389
|
+
tlsInspectionPolicies?: TlsInspectionPolicy[];
|
|
390
|
+
}
|
|
378
391
|
interface ListUrlListsResponse {
|
|
379
392
|
/**
|
|
380
393
|
* If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of
|
|
@@ -519,6 +532,24 @@ declare namespace gapi.client {
|
|
|
519
532
|
*/
|
|
520
533
|
message?: string;
|
|
521
534
|
}
|
|
535
|
+
interface TlsInspectionPolicy {
|
|
536
|
+
/**
|
|
537
|
+
* Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form
|
|
538
|
+
* "projects/{project}/locations/{location}/caPools/{ca_pool}".
|
|
539
|
+
*/
|
|
540
|
+
caPool?: string;
|
|
541
|
+
/** Output only. The timestamp when the resource was created. */
|
|
542
|
+
createTime?: string;
|
|
543
|
+
/** Optional. Free-text description of the resource. */
|
|
544
|
+
description?: string;
|
|
545
|
+
/**
|
|
546
|
+
* Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
|
|
547
|
+
* pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
|
|
548
|
+
*/
|
|
549
|
+
name?: string;
|
|
550
|
+
/** Output only. The timestamp when the resource was updated. */
|
|
551
|
+
updateTime?: string;
|
|
552
|
+
}
|
|
522
553
|
interface UrlList {
|
|
523
554
|
/** Output only. Time when the security policy was created. */
|
|
524
555
|
createTime?: string;
|
|
@@ -3316,6 +3347,236 @@ declare namespace gapi.client {
|
|
|
3316
3347
|
},
|
|
3317
3348
|
body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
3318
3349
|
}
|
|
3350
|
+
interface TlsInspectionPoliciesResource {
|
|
3351
|
+
/** Creates a new TlsInspectionPolicy in a given project and location. */
|
|
3352
|
+
create(request: {
|
|
3353
|
+
/** V1 error format. */
|
|
3354
|
+
"$.xgafv"?: string;
|
|
3355
|
+
/** OAuth access token. */
|
|
3356
|
+
access_token?: string;
|
|
3357
|
+
/** Data format for response. */
|
|
3358
|
+
alt?: string;
|
|
3359
|
+
/** JSONP */
|
|
3360
|
+
callback?: string;
|
|
3361
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3362
|
+
fields?: string;
|
|
3363
|
+
/** 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. */
|
|
3364
|
+
key?: string;
|
|
3365
|
+
/** OAuth 2.0 token for the current user. */
|
|
3366
|
+
oauth_token?: string;
|
|
3367
|
+
/** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
|
|
3368
|
+
parent: string;
|
|
3369
|
+
/** Returns response with indentations and line breaks. */
|
|
3370
|
+
prettyPrint?: boolean;
|
|
3371
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3372
|
+
quotaUser?: string;
|
|
3373
|
+
/**
|
|
3374
|
+
* Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
|
|
3375
|
+
* and should not start with a number. E.g. "tls_inspection_policy1".
|
|
3376
|
+
*/
|
|
3377
|
+
tlsInspectionPolicyId?: string;
|
|
3378
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3379
|
+
upload_protocol?: string;
|
|
3380
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3381
|
+
uploadType?: string;
|
|
3382
|
+
/** Request body */
|
|
3383
|
+
resource: TlsInspectionPolicy;
|
|
3384
|
+
}): Request<Operation>;
|
|
3385
|
+
create(request: {
|
|
3386
|
+
/** V1 error format. */
|
|
3387
|
+
"$.xgafv"?: string;
|
|
3388
|
+
/** OAuth access token. */
|
|
3389
|
+
access_token?: string;
|
|
3390
|
+
/** Data format for response. */
|
|
3391
|
+
alt?: string;
|
|
3392
|
+
/** JSONP */
|
|
3393
|
+
callback?: string;
|
|
3394
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3395
|
+
fields?: string;
|
|
3396
|
+
/** 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. */
|
|
3397
|
+
key?: string;
|
|
3398
|
+
/** OAuth 2.0 token for the current user. */
|
|
3399
|
+
oauth_token?: string;
|
|
3400
|
+
/** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
|
|
3401
|
+
parent: string;
|
|
3402
|
+
/** Returns response with indentations and line breaks. */
|
|
3403
|
+
prettyPrint?: boolean;
|
|
3404
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3405
|
+
quotaUser?: string;
|
|
3406
|
+
/**
|
|
3407
|
+
* Required. Short name of the TlsInspectionPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
|
|
3408
|
+
* and should not start with a number. E.g. "tls_inspection_policy1".
|
|
3409
|
+
*/
|
|
3410
|
+
tlsInspectionPolicyId?: string;
|
|
3411
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3412
|
+
upload_protocol?: string;
|
|
3413
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3414
|
+
uploadType?: string;
|
|
3415
|
+
},
|
|
3416
|
+
body: TlsInspectionPolicy): Request<Operation>;
|
|
3417
|
+
/** Deletes a single TlsInspectionPolicy. */
|
|
3418
|
+
delete(request?: {
|
|
3419
|
+
/** V1 error format. */
|
|
3420
|
+
"$.xgafv"?: string;
|
|
3421
|
+
/** OAuth access token. */
|
|
3422
|
+
access_token?: string;
|
|
3423
|
+
/** Data format for response. */
|
|
3424
|
+
alt?: string;
|
|
3425
|
+
/** JSONP */
|
|
3426
|
+
callback?: string;
|
|
3427
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3428
|
+
fields?: string;
|
|
3429
|
+
/** If set to true, any rules for this TlsInspectionPolicy will also be deleted. (Otherwise, the request will only work if the TlsInspectionPolicy has no rules.) */
|
|
3430
|
+
force?: boolean;
|
|
3431
|
+
/** 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. */
|
|
3432
|
+
key?: string;
|
|
3433
|
+
/** Required. A name of the TlsInspectionPolicy to delete. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
|
|
3434
|
+
name: string;
|
|
3435
|
+
/** OAuth 2.0 token for the current user. */
|
|
3436
|
+
oauth_token?: string;
|
|
3437
|
+
/** Returns response with indentations and line breaks. */
|
|
3438
|
+
prettyPrint?: boolean;
|
|
3439
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3440
|
+
quotaUser?: string;
|
|
3441
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3442
|
+
upload_protocol?: string;
|
|
3443
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3444
|
+
uploadType?: string;
|
|
3445
|
+
}): Request<Operation>;
|
|
3446
|
+
/** Gets details of a single TlsInspectionPolicy. */
|
|
3447
|
+
get(request?: {
|
|
3448
|
+
/** V1 error format. */
|
|
3449
|
+
"$.xgafv"?: string;
|
|
3450
|
+
/** OAuth access token. */
|
|
3451
|
+
access_token?: string;
|
|
3452
|
+
/** Data format for response. */
|
|
3453
|
+
alt?: string;
|
|
3454
|
+
/** JSONP */
|
|
3455
|
+
callback?: string;
|
|
3456
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3457
|
+
fields?: string;
|
|
3458
|
+
/** 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. */
|
|
3459
|
+
key?: string;
|
|
3460
|
+
/** Required. A name of the TlsInspectionPolicy to get. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
|
|
3461
|
+
name: string;
|
|
3462
|
+
/** OAuth 2.0 token for the current user. */
|
|
3463
|
+
oauth_token?: string;
|
|
3464
|
+
/** Returns response with indentations and line breaks. */
|
|
3465
|
+
prettyPrint?: boolean;
|
|
3466
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3467
|
+
quotaUser?: string;
|
|
3468
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3469
|
+
upload_protocol?: string;
|
|
3470
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3471
|
+
uploadType?: string;
|
|
3472
|
+
}): Request<TlsInspectionPolicy>;
|
|
3473
|
+
/** Lists TlsInspectionPolicies in a given project and location. */
|
|
3474
|
+
list(request?: {
|
|
3475
|
+
/** V1 error format. */
|
|
3476
|
+
"$.xgafv"?: string;
|
|
3477
|
+
/** OAuth access token. */
|
|
3478
|
+
access_token?: string;
|
|
3479
|
+
/** Data format for response. */
|
|
3480
|
+
alt?: string;
|
|
3481
|
+
/** JSONP */
|
|
3482
|
+
callback?: string;
|
|
3483
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3484
|
+
fields?: string;
|
|
3485
|
+
/** 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. */
|
|
3486
|
+
key?: string;
|
|
3487
|
+
/** OAuth 2.0 token for the current user. */
|
|
3488
|
+
oauth_token?: string;
|
|
3489
|
+
/** Maximum number of TlsInspectionPolicies to return per call. */
|
|
3490
|
+
pageSize?: number;
|
|
3491
|
+
/**
|
|
3492
|
+
* The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and that the system should
|
|
3493
|
+
* return the next page of data.
|
|
3494
|
+
*/
|
|
3495
|
+
pageToken?: string;
|
|
3496
|
+
/** Required. The project and location from which the TlsInspectionPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
|
|
3497
|
+
parent: string;
|
|
3498
|
+
/** Returns response with indentations and line breaks. */
|
|
3499
|
+
prettyPrint?: boolean;
|
|
3500
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3501
|
+
quotaUser?: string;
|
|
3502
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3503
|
+
upload_protocol?: string;
|
|
3504
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3505
|
+
uploadType?: string;
|
|
3506
|
+
}): Request<ListTlsInspectionPoliciesResponse>;
|
|
3507
|
+
/** Updates the parameters of a single TlsInspectionPolicy. */
|
|
3508
|
+
patch(request: {
|
|
3509
|
+
/** V1 error format. */
|
|
3510
|
+
"$.xgafv"?: string;
|
|
3511
|
+
/** OAuth access token. */
|
|
3512
|
+
access_token?: string;
|
|
3513
|
+
/** Data format for response. */
|
|
3514
|
+
alt?: string;
|
|
3515
|
+
/** JSONP */
|
|
3516
|
+
callback?: string;
|
|
3517
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3518
|
+
fields?: string;
|
|
3519
|
+
/** 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. */
|
|
3520
|
+
key?: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
|
|
3523
|
+
* pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
|
|
3524
|
+
*/
|
|
3525
|
+
name: string;
|
|
3526
|
+
/** OAuth 2.0 token for the current user. */
|
|
3527
|
+
oauth_token?: string;
|
|
3528
|
+
/** Returns response with indentations and line breaks. */
|
|
3529
|
+
prettyPrint?: boolean;
|
|
3530
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3531
|
+
quotaUser?: string;
|
|
3532
|
+
/**
|
|
3533
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the TlsInspectionPolicy resource by the update. The fields specified in the update_mask are relative to
|
|
3534
|
+
* the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3535
|
+
*/
|
|
3536
|
+
updateMask?: string;
|
|
3537
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3538
|
+
upload_protocol?: string;
|
|
3539
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3540
|
+
uploadType?: string;
|
|
3541
|
+
/** Request body */
|
|
3542
|
+
resource: TlsInspectionPolicy;
|
|
3543
|
+
}): Request<Operation>;
|
|
3544
|
+
patch(request: {
|
|
3545
|
+
/** V1 error format. */
|
|
3546
|
+
"$.xgafv"?: string;
|
|
3547
|
+
/** OAuth access token. */
|
|
3548
|
+
access_token?: string;
|
|
3549
|
+
/** Data format for response. */
|
|
3550
|
+
alt?: string;
|
|
3551
|
+
/** JSONP */
|
|
3552
|
+
callback?: string;
|
|
3553
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3554
|
+
fields?: string;
|
|
3555
|
+
/** 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. */
|
|
3556
|
+
key?: string;
|
|
3557
|
+
/**
|
|
3558
|
+
* Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
|
|
3559
|
+
* pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
|
|
3560
|
+
*/
|
|
3561
|
+
name: string;
|
|
3562
|
+
/** OAuth 2.0 token for the current user. */
|
|
3563
|
+
oauth_token?: string;
|
|
3564
|
+
/** Returns response with indentations and line breaks. */
|
|
3565
|
+
prettyPrint?: boolean;
|
|
3566
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3567
|
+
quotaUser?: string;
|
|
3568
|
+
/**
|
|
3569
|
+
* Optional. Field mask is used to specify the fields to be overwritten in the TlsInspectionPolicy resource by the update. The fields specified in the update_mask are relative to
|
|
3570
|
+
* the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
|
|
3571
|
+
*/
|
|
3572
|
+
updateMask?: string;
|
|
3573
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3574
|
+
upload_protocol?: string;
|
|
3575
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3576
|
+
uploadType?: string;
|
|
3577
|
+
},
|
|
3578
|
+
body: TlsInspectionPolicy): Request<Operation>;
|
|
3579
|
+
}
|
|
3319
3580
|
interface UrlListsResource {
|
|
3320
3581
|
/** Creates a new UrlList in a given project and location. */
|
|
3321
3582
|
create(request: {
|
|
@@ -3614,6 +3875,7 @@ declare namespace gapi.client {
|
|
|
3614
3875
|
gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
|
|
3615
3876
|
operations: OperationsResource;
|
|
3616
3877
|
serverTlsPolicies: ServerTlsPoliciesResource;
|
|
3878
|
+
tlsInspectionPolicies: TlsInspectionPoliciesResource;
|
|
3617
3879
|
urlLists: UrlListsResource;
|
|
3618
3880
|
}
|
|
3619
3881
|
interface ProjectsResource {
|
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: 20230327
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -589,6 +589,7 @@ gapi.load('client', async () => {
|
|
|
589
589
|
createTime: "Test string",
|
|
590
590
|
description: "Test string",
|
|
591
591
|
name: "Test string",
|
|
592
|
+
tlsInspectionPolicy: "Test string",
|
|
592
593
|
updateTime: "Test string",
|
|
593
594
|
});
|
|
594
595
|
/** Deletes a single GatewaySecurityPolicy. */
|
|
@@ -613,6 +614,7 @@ gapi.load('client', async () => {
|
|
|
613
614
|
createTime: "Test string",
|
|
614
615
|
description: "Test string",
|
|
615
616
|
name: "Test string",
|
|
617
|
+
tlsInspectionPolicy: "Test string",
|
|
616
618
|
updateTime: "Test string",
|
|
617
619
|
});
|
|
618
620
|
/** Creates a new GatewaySecurityPolicy in a given project and location. */
|
|
@@ -628,6 +630,7 @@ gapi.load('client', async () => {
|
|
|
628
630
|
name: "Test string",
|
|
629
631
|
priority: 42,
|
|
630
632
|
sessionMatcher: "Test string",
|
|
633
|
+
tlsInspectionEnabled: true,
|
|
631
634
|
updateTime: "Test string",
|
|
632
635
|
});
|
|
633
636
|
/** Deletes a single GatewaySecurityPolicyRule. */
|
|
@@ -657,6 +660,7 @@ gapi.load('client', async () => {
|
|
|
657
660
|
name: "Test string",
|
|
658
661
|
priority: 42,
|
|
659
662
|
sessionMatcher: "Test string",
|
|
663
|
+
tlsInspectionEnabled: true,
|
|
660
664
|
updateTime: "Test string",
|
|
661
665
|
});
|
|
662
666
|
/**
|
|
@@ -822,6 +826,43 @@ gapi.load('client', async () => {
|
|
|
822
826
|
"Test string"
|
|
823
827
|
],
|
|
824
828
|
});
|
|
829
|
+
/** Creates a new TlsInspectionPolicy in a given project and location. */
|
|
830
|
+
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.create({
|
|
831
|
+
parent: "Test string",
|
|
832
|
+
tlsInspectionPolicyId: "Test string",
|
|
833
|
+
}, {
|
|
834
|
+
caPool: "Test string",
|
|
835
|
+
createTime: "Test string",
|
|
836
|
+
description: "Test string",
|
|
837
|
+
name: "Test string",
|
|
838
|
+
updateTime: "Test string",
|
|
839
|
+
});
|
|
840
|
+
/** Deletes a single TlsInspectionPolicy. */
|
|
841
|
+
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.delete({
|
|
842
|
+
force: true,
|
|
843
|
+
name: "Test string",
|
|
844
|
+
});
|
|
845
|
+
/** Gets details of a single TlsInspectionPolicy. */
|
|
846
|
+
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.get({
|
|
847
|
+
name: "Test string",
|
|
848
|
+
});
|
|
849
|
+
/** Lists TlsInspectionPolicies in a given project and location. */
|
|
850
|
+
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.list({
|
|
851
|
+
pageSize: 42,
|
|
852
|
+
pageToken: "Test string",
|
|
853
|
+
parent: "Test string",
|
|
854
|
+
});
|
|
855
|
+
/** Updates the parameters of a single TlsInspectionPolicy. */
|
|
856
|
+
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.patch({
|
|
857
|
+
name: "Test string",
|
|
858
|
+
updateMask: "Test string",
|
|
859
|
+
}, {
|
|
860
|
+
caPool: "Test string",
|
|
861
|
+
createTime: "Test string",
|
|
862
|
+
description: "Test string",
|
|
863
|
+
name: "Test string",
|
|
864
|
+
updateTime: "Test string",
|
|
865
|
+
});
|
|
825
866
|
/** Creates a new UrlList in a given project and location. */
|
|
826
867
|
await gapi.client.networksecurity.projects.locations.urlLists.create({
|
|
827
868
|
parent: "Test string",
|