@maxim_mazurok/gapi.client.networksecurity-v1 0.1.20260131 → 0.1.20260226
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 +17 -227
- package/package.json +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:
|
|
12
|
+
// Revision: 20260226
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -966,6 +966,8 @@ declare namespace gapi.client {
|
|
|
966
966
|
type?: string;
|
|
967
967
|
/** Output only. Last resource update timestamp. */
|
|
968
968
|
updateTime?: string;
|
|
969
|
+
/** The URL filtering configuration for the SecurityProfile. */
|
|
970
|
+
urlFilteringProfile?: UrlFilteringProfile;
|
|
969
971
|
}
|
|
970
972
|
interface SecurityProfileGroup {
|
|
971
973
|
/** Output only. Resource creation timestamp. */
|
|
@@ -988,6 +990,8 @@ declare namespace gapi.client {
|
|
|
988
990
|
threatPreventionProfile?: string;
|
|
989
991
|
/** Output only. Last resource update timestamp. */
|
|
990
992
|
updateTime?: string;
|
|
993
|
+
/** Optional. Reference to a SecurityProfile with the UrlFiltering configuration. */
|
|
994
|
+
urlFilteringProfile?: string;
|
|
991
995
|
}
|
|
992
996
|
interface ServerTlsPolicy {
|
|
993
997
|
/** This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If 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 `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 upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. */
|
|
@@ -1065,6 +1069,18 @@ declare namespace gapi.client {
|
|
|
1065
1069
|
/** Output only. The timestamp when the resource was updated. */
|
|
1066
1070
|
updateTime?: string;
|
|
1067
1071
|
}
|
|
1072
|
+
interface UrlFilter {
|
|
1073
|
+
/** Required. The action taken when this filter is applied. */
|
|
1074
|
+
filteringAction?: string;
|
|
1075
|
+
/** Required. The priority of this filter within the URL Filtering Profile. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL Filtering Profile. */
|
|
1076
|
+
priority?: number;
|
|
1077
|
+
/** Required. The list of strings that a URL must match with for this filter to be applied. */
|
|
1078
|
+
urls?: string[];
|
|
1079
|
+
}
|
|
1080
|
+
interface UrlFilteringProfile {
|
|
1081
|
+
/** Optional. The list of filtering configs in which each config defines an action to take for some URL match. */
|
|
1082
|
+
urlFilters?: UrlFilter[];
|
|
1083
|
+
}
|
|
1068
1084
|
interface UrlList {
|
|
1069
1085
|
/** Output only. Time when the security policy was created. */
|
|
1070
1086
|
createTime?: string;
|
|
@@ -4401,231 +4417,6 @@ declare namespace gapi.client {
|
|
|
4401
4417
|
body: FirewallEndpointAssociation,
|
|
4402
4418
|
): Request<Operation>;
|
|
4403
4419
|
}
|
|
4404
|
-
interface FirewallEndpointsResource {
|
|
4405
|
-
/** Creates a new FirewallEndpoint in a given project and location. */
|
|
4406
|
-
create(request: {
|
|
4407
|
-
/** V1 error format. */
|
|
4408
|
-
'$.xgafv'?: string;
|
|
4409
|
-
/** OAuth access token. */
|
|
4410
|
-
access_token?: string;
|
|
4411
|
-
/** Data format for response. */
|
|
4412
|
-
alt?: string;
|
|
4413
|
-
/** JSONP */
|
|
4414
|
-
callback?: string;
|
|
4415
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4416
|
-
fields?: string;
|
|
4417
|
-
/** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. */
|
|
4418
|
-
firewallEndpointId?: string;
|
|
4419
|
-
/** 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. */
|
|
4420
|
-
key?: string;
|
|
4421
|
-
/** OAuth 2.0 token for the current user. */
|
|
4422
|
-
oauth_token?: string;
|
|
4423
|
-
/** Required. Value for parent. */
|
|
4424
|
-
parent: string;
|
|
4425
|
-
/** Returns response with indentations and line breaks. */
|
|
4426
|
-
prettyPrint?: boolean;
|
|
4427
|
-
/** 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. */
|
|
4428
|
-
quotaUser?: string;
|
|
4429
|
-
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
4430
|
-
requestId?: string;
|
|
4431
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4432
|
-
upload_protocol?: string;
|
|
4433
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4434
|
-
uploadType?: string;
|
|
4435
|
-
/** Request body */
|
|
4436
|
-
resource: FirewallEndpoint;
|
|
4437
|
-
}): Request<Operation>;
|
|
4438
|
-
create(
|
|
4439
|
-
request: {
|
|
4440
|
-
/** V1 error format. */
|
|
4441
|
-
'$.xgafv'?: string;
|
|
4442
|
-
/** OAuth access token. */
|
|
4443
|
-
access_token?: string;
|
|
4444
|
-
/** Data format for response. */
|
|
4445
|
-
alt?: string;
|
|
4446
|
-
/** JSONP */
|
|
4447
|
-
callback?: string;
|
|
4448
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4449
|
-
fields?: string;
|
|
4450
|
-
/** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC. */
|
|
4451
|
-
firewallEndpointId?: string;
|
|
4452
|
-
/** 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. */
|
|
4453
|
-
key?: string;
|
|
4454
|
-
/** OAuth 2.0 token for the current user. */
|
|
4455
|
-
oauth_token?: string;
|
|
4456
|
-
/** Required. Value for parent. */
|
|
4457
|
-
parent: string;
|
|
4458
|
-
/** Returns response with indentations and line breaks. */
|
|
4459
|
-
prettyPrint?: boolean;
|
|
4460
|
-
/** 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. */
|
|
4461
|
-
quotaUser?: string;
|
|
4462
|
-
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
4463
|
-
requestId?: string;
|
|
4464
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4465
|
-
upload_protocol?: string;
|
|
4466
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4467
|
-
uploadType?: string;
|
|
4468
|
-
},
|
|
4469
|
-
body: FirewallEndpoint,
|
|
4470
|
-
): Request<Operation>;
|
|
4471
|
-
/** Deletes a single project Endpoint. */
|
|
4472
|
-
delete(request?: {
|
|
4473
|
-
/** V1 error format. */
|
|
4474
|
-
'$.xgafv'?: string;
|
|
4475
|
-
/** OAuth access token. */
|
|
4476
|
-
access_token?: string;
|
|
4477
|
-
/** Data format for response. */
|
|
4478
|
-
alt?: string;
|
|
4479
|
-
/** JSONP */
|
|
4480
|
-
callback?: string;
|
|
4481
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4482
|
-
fields?: string;
|
|
4483
|
-
/** 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. */
|
|
4484
|
-
key?: string;
|
|
4485
|
-
/** Required. Name of the resource */
|
|
4486
|
-
name: string;
|
|
4487
|
-
/** OAuth 2.0 token for the current user. */
|
|
4488
|
-
oauth_token?: string;
|
|
4489
|
-
/** Returns response with indentations and line breaks. */
|
|
4490
|
-
prettyPrint?: boolean;
|
|
4491
|
-
/** 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. */
|
|
4492
|
-
quotaUser?: string;
|
|
4493
|
-
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
4494
|
-
requestId?: string;
|
|
4495
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4496
|
-
upload_protocol?: string;
|
|
4497
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4498
|
-
uploadType?: string;
|
|
4499
|
-
}): Request<Operation>;
|
|
4500
|
-
/** Gets details of a single project Endpoint. */
|
|
4501
|
-
get(request?: {
|
|
4502
|
-
/** V1 error format. */
|
|
4503
|
-
'$.xgafv'?: string;
|
|
4504
|
-
/** OAuth access token. */
|
|
4505
|
-
access_token?: string;
|
|
4506
|
-
/** Data format for response. */
|
|
4507
|
-
alt?: string;
|
|
4508
|
-
/** JSONP */
|
|
4509
|
-
callback?: string;
|
|
4510
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4511
|
-
fields?: string;
|
|
4512
|
-
/** 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. */
|
|
4513
|
-
key?: string;
|
|
4514
|
-
/** Required. Name of the resource */
|
|
4515
|
-
name: string;
|
|
4516
|
-
/** OAuth 2.0 token for the current user. */
|
|
4517
|
-
oauth_token?: string;
|
|
4518
|
-
/** Returns response with indentations and line breaks. */
|
|
4519
|
-
prettyPrint?: boolean;
|
|
4520
|
-
/** 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. */
|
|
4521
|
-
quotaUser?: string;
|
|
4522
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4523
|
-
upload_protocol?: string;
|
|
4524
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4525
|
-
uploadType?: string;
|
|
4526
|
-
}): Request<FirewallEndpoint>;
|
|
4527
|
-
/** Lists FirewallEndpoints in a given project and location. */
|
|
4528
|
-
list(request?: {
|
|
4529
|
-
/** V1 error format. */
|
|
4530
|
-
'$.xgafv'?: string;
|
|
4531
|
-
/** OAuth access token. */
|
|
4532
|
-
access_token?: string;
|
|
4533
|
-
/** Data format for response. */
|
|
4534
|
-
alt?: string;
|
|
4535
|
-
/** JSONP */
|
|
4536
|
-
callback?: string;
|
|
4537
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4538
|
-
fields?: string;
|
|
4539
|
-
/** Optional. Filtering results */
|
|
4540
|
-
filter?: string;
|
|
4541
|
-
/** 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. */
|
|
4542
|
-
key?: string;
|
|
4543
|
-
/** OAuth 2.0 token for the current user. */
|
|
4544
|
-
oauth_token?: string;
|
|
4545
|
-
/** Hint for how to order the results */
|
|
4546
|
-
orderBy?: string;
|
|
4547
|
-
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
|
|
4548
|
-
pageSize?: number;
|
|
4549
|
-
/** A token identifying a page of results the server should return. */
|
|
4550
|
-
pageToken?: string;
|
|
4551
|
-
/** Required. Parent value for ListEndpointsRequest */
|
|
4552
|
-
parent: string;
|
|
4553
|
-
/** Returns response with indentations and line breaks. */
|
|
4554
|
-
prettyPrint?: boolean;
|
|
4555
|
-
/** 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. */
|
|
4556
|
-
quotaUser?: string;
|
|
4557
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4558
|
-
upload_protocol?: string;
|
|
4559
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4560
|
-
uploadType?: string;
|
|
4561
|
-
}): Request<ListFirewallEndpointsResponse>;
|
|
4562
|
-
/** Update a single project Endpoint. */
|
|
4563
|
-
patch(request: {
|
|
4564
|
-
/** V1 error format. */
|
|
4565
|
-
'$.xgafv'?: string;
|
|
4566
|
-
/** OAuth access token. */
|
|
4567
|
-
access_token?: string;
|
|
4568
|
-
/** Data format for response. */
|
|
4569
|
-
alt?: string;
|
|
4570
|
-
/** JSONP */
|
|
4571
|
-
callback?: string;
|
|
4572
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4573
|
-
fields?: string;
|
|
4574
|
-
/** 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. */
|
|
4575
|
-
key?: string;
|
|
4576
|
-
/** Immutable. Identifier. Name of resource. */
|
|
4577
|
-
name: string;
|
|
4578
|
-
/** OAuth 2.0 token for the current user. */
|
|
4579
|
-
oauth_token?: string;
|
|
4580
|
-
/** Returns response with indentations and line breaks. */
|
|
4581
|
-
prettyPrint?: boolean;
|
|
4582
|
-
/** 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. */
|
|
4583
|
-
quotaUser?: string;
|
|
4584
|
-
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
4585
|
-
requestId?: string;
|
|
4586
|
-
/** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to 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. */
|
|
4587
|
-
updateMask?: string;
|
|
4588
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4589
|
-
upload_protocol?: string;
|
|
4590
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4591
|
-
uploadType?: string;
|
|
4592
|
-
/** Request body */
|
|
4593
|
-
resource: FirewallEndpoint;
|
|
4594
|
-
}): Request<Operation>;
|
|
4595
|
-
patch(
|
|
4596
|
-
request: {
|
|
4597
|
-
/** V1 error format. */
|
|
4598
|
-
'$.xgafv'?: string;
|
|
4599
|
-
/** OAuth access token. */
|
|
4600
|
-
access_token?: string;
|
|
4601
|
-
/** Data format for response. */
|
|
4602
|
-
alt?: string;
|
|
4603
|
-
/** JSONP */
|
|
4604
|
-
callback?: string;
|
|
4605
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
4606
|
-
fields?: string;
|
|
4607
|
-
/** 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. */
|
|
4608
|
-
key?: string;
|
|
4609
|
-
/** Immutable. Identifier. Name of resource. */
|
|
4610
|
-
name: string;
|
|
4611
|
-
/** OAuth 2.0 token for the current user. */
|
|
4612
|
-
oauth_token?: string;
|
|
4613
|
-
/** Returns response with indentations and line breaks. */
|
|
4614
|
-
prettyPrint?: boolean;
|
|
4615
|
-
/** 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. */
|
|
4616
|
-
quotaUser?: string;
|
|
4617
|
-
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
|
|
4618
|
-
requestId?: string;
|
|
4619
|
-
/** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by the update. The fields specified in the update_mask are relative to 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. */
|
|
4620
|
-
updateMask?: string;
|
|
4621
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
4622
|
-
upload_protocol?: string;
|
|
4623
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
4624
|
-
uploadType?: string;
|
|
4625
|
-
},
|
|
4626
|
-
body: FirewallEndpoint,
|
|
4627
|
-
): Request<Operation>;
|
|
4628
|
-
}
|
|
4629
4420
|
interface RulesResource {
|
|
4630
4421
|
/** Creates a new GatewaySecurityPolicy in a given project and location. */
|
|
4631
4422
|
create(request: {
|
|
@@ -7794,7 +7585,6 @@ declare namespace gapi.client {
|
|
|
7794
7585
|
clientTlsPolicies: ClientTlsPoliciesResource;
|
|
7795
7586
|
dnsThreatDetectors: DnsThreatDetectorsResource;
|
|
7796
7587
|
firewallEndpointAssociations: FirewallEndpointAssociationsResource;
|
|
7797
|
-
firewallEndpoints: FirewallEndpointsResource;
|
|
7798
7588
|
gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
|
|
7799
7589
|
interceptDeploymentGroups: InterceptDeploymentGroupsResource;
|
|
7800
7590
|
interceptDeployments: InterceptDeploymentsResource;
|