@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.1.20251020 → 0.1.20260125

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 (2) hide show
  1. package/index.d.ts +237 -11
  2. 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=v1beta1
12
- // Revision: 20251020
12
+ // Revision: 20260125
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -251,7 +251,7 @@ declare namespace gapi.client {
251
251
  interceptEndpointGroup?: string;
252
252
  }
253
253
  interface CustomMirroringProfile {
254
- /** Required. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. */
254
+ /** Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this security profile attached matches a packet, a replica will be mirrored to the location-local target in this group. */
255
255
  mirroringEndpointGroup?: string;
256
256
  }
257
257
  interface Destination {
@@ -720,7 +720,7 @@ declare namespace gapi.client {
720
720
  nextPageToken?: string;
721
721
  /** A list of operations that matches the specified filter in the request. */
722
722
  operations?: Operation[];
723
- /** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. */
723
+ /** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
724
724
  unreachable?: string[];
725
725
  }
726
726
  interface ListSACAttachmentsResponse {
@@ -1969,7 +1969,7 @@ declare namespace gapi.client {
1969
1969
  prettyPrint?: boolean;
1970
1970
  /** 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. */
1971
1971
  quotaUser?: string;
1972
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1972
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
1973
1973
  returnPartialSuccess?: boolean;
1974
1974
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1975
1975
  upload_protocol?: string;
@@ -2112,9 +2112,9 @@ declare namespace gapi.client {
2112
2112
  key?: string;
2113
2113
  /** OAuth 2.0 token for the current user. */
2114
2114
  oauth_token?: string;
2115
- /** Maximum number of SecurityProfileGroups to return per call. */
2115
+ /** Optional. Maximum number of SecurityProfileGroups to return per call. */
2116
2116
  pageSize?: number;
2117
- /** The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. */
2117
+ /** Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the next page of data. */
2118
2118
  pageToken?: string;
2119
2119
  /** Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/*‍/locations/{location}`. */
2120
2120
  parent: string;
@@ -2325,9 +2325,9 @@ declare namespace gapi.client {
2325
2325
  key?: string;
2326
2326
  /** OAuth 2.0 token for the current user. */
2327
2327
  oauth_token?: string;
2328
- /** Maximum number of SecurityProfiles to return per call. */
2328
+ /** Optional. Maximum number of SecurityProfiles to return per call. */
2329
2329
  pageSize?: number;
2330
- /** The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. */
2330
+ /** Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a continuation of a prior `ListSecurityProfiles` call, and that the system should return the next page of data. */
2331
2331
  pageToken?: string;
2332
2332
  /** Required. The project or organization and location from which the SecurityProfiles should be listed, specified in the format `projects|organizations/*‍/locations/{location}`. */
2333
2333
  parent: string;
@@ -4493,6 +4493,231 @@ declare namespace gapi.client {
4493
4493
  body: FirewallEndpointAssociation,
4494
4494
  ): Request<Operation>;
4495
4495
  }
4496
+ interface FirewallEndpointsResource {
4497
+ /** Creates a new FirewallEndpoint in a given project and location. */
4498
+ create(request: {
4499
+ /** V1 error format. */
4500
+ '$.xgafv'?: string;
4501
+ /** OAuth access token. */
4502
+ access_token?: string;
4503
+ /** Data format for response. */
4504
+ alt?: string;
4505
+ /** JSONP */
4506
+ callback?: string;
4507
+ /** Selector specifying which fields to include in a partial response. */
4508
+ fields?: string;
4509
+ /** 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. */
4510
+ firewallEndpointId?: string;
4511
+ /** 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. */
4512
+ key?: string;
4513
+ /** OAuth 2.0 token for the current user. */
4514
+ oauth_token?: string;
4515
+ /** Required. Value for parent. */
4516
+ parent: string;
4517
+ /** Returns response with indentations and line breaks. */
4518
+ prettyPrint?: boolean;
4519
+ /** 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. */
4520
+ quotaUser?: string;
4521
+ /** 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). */
4522
+ requestId?: string;
4523
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4524
+ upload_protocol?: string;
4525
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4526
+ uploadType?: string;
4527
+ /** Request body */
4528
+ resource: FirewallEndpoint;
4529
+ }): Request<Operation>;
4530
+ create(
4531
+ request: {
4532
+ /** V1 error format. */
4533
+ '$.xgafv'?: string;
4534
+ /** OAuth access token. */
4535
+ access_token?: string;
4536
+ /** Data format for response. */
4537
+ alt?: string;
4538
+ /** JSONP */
4539
+ callback?: string;
4540
+ /** Selector specifying which fields to include in a partial response. */
4541
+ fields?: string;
4542
+ /** 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. */
4543
+ firewallEndpointId?: string;
4544
+ /** 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. */
4545
+ key?: string;
4546
+ /** OAuth 2.0 token for the current user. */
4547
+ oauth_token?: string;
4548
+ /** Required. Value for parent. */
4549
+ parent: string;
4550
+ /** Returns response with indentations and line breaks. */
4551
+ prettyPrint?: boolean;
4552
+ /** 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. */
4553
+ quotaUser?: string;
4554
+ /** 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). */
4555
+ requestId?: string;
4556
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4557
+ upload_protocol?: string;
4558
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4559
+ uploadType?: string;
4560
+ },
4561
+ body: FirewallEndpoint,
4562
+ ): Request<Operation>;
4563
+ /** Deletes a single Endpoint. */
4564
+ delete(request?: {
4565
+ /** V1 error format. */
4566
+ '$.xgafv'?: string;
4567
+ /** OAuth access token. */
4568
+ access_token?: string;
4569
+ /** Data format for response. */
4570
+ alt?: string;
4571
+ /** JSONP */
4572
+ callback?: string;
4573
+ /** Selector specifying which fields to include in a partial response. */
4574
+ fields?: string;
4575
+ /** 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. */
4576
+ key?: string;
4577
+ /** Required. Name of the resource */
4578
+ name: string;
4579
+ /** OAuth 2.0 token for the current user. */
4580
+ oauth_token?: string;
4581
+ /** Returns response with indentations and line breaks. */
4582
+ prettyPrint?: boolean;
4583
+ /** 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. */
4584
+ quotaUser?: string;
4585
+ /** 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). */
4586
+ requestId?: string;
4587
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4588
+ upload_protocol?: string;
4589
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4590
+ uploadType?: string;
4591
+ }): Request<Operation>;
4592
+ /** Gets details of a single Endpoint. */
4593
+ get(request?: {
4594
+ /** V1 error format. */
4595
+ '$.xgafv'?: string;
4596
+ /** OAuth access token. */
4597
+ access_token?: string;
4598
+ /** Data format for response. */
4599
+ alt?: string;
4600
+ /** JSONP */
4601
+ callback?: string;
4602
+ /** Selector specifying which fields to include in a partial response. */
4603
+ fields?: string;
4604
+ /** 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. */
4605
+ key?: string;
4606
+ /** Required. Name of the resource */
4607
+ name: string;
4608
+ /** OAuth 2.0 token for the current user. */
4609
+ oauth_token?: string;
4610
+ /** Returns response with indentations and line breaks. */
4611
+ prettyPrint?: boolean;
4612
+ /** 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. */
4613
+ quotaUser?: string;
4614
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4615
+ upload_protocol?: string;
4616
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4617
+ uploadType?: string;
4618
+ }): Request<FirewallEndpoint>;
4619
+ /** Lists FirewallEndpoints in a given project and location. */
4620
+ list(request?: {
4621
+ /** V1 error format. */
4622
+ '$.xgafv'?: string;
4623
+ /** OAuth access token. */
4624
+ access_token?: string;
4625
+ /** Data format for response. */
4626
+ alt?: string;
4627
+ /** JSONP */
4628
+ callback?: string;
4629
+ /** Selector specifying which fields to include in a partial response. */
4630
+ fields?: string;
4631
+ /** Optional. Filtering results */
4632
+ filter?: string;
4633
+ /** 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. */
4634
+ key?: string;
4635
+ /** OAuth 2.0 token for the current user. */
4636
+ oauth_token?: string;
4637
+ /** Hint for how to order the results */
4638
+ orderBy?: string;
4639
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
4640
+ pageSize?: number;
4641
+ /** A token identifying a page of results the server should return. */
4642
+ pageToken?: string;
4643
+ /** Required. Parent value for ListEndpointsRequest */
4644
+ parent: string;
4645
+ /** Returns response with indentations and line breaks. */
4646
+ prettyPrint?: boolean;
4647
+ /** 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. */
4648
+ quotaUser?: string;
4649
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4650
+ upload_protocol?: string;
4651
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4652
+ uploadType?: string;
4653
+ }): Request<ListFirewallEndpointsResponse>;
4654
+ /** Update a single Endpoint. */
4655
+ patch(request: {
4656
+ /** V1 error format. */
4657
+ '$.xgafv'?: string;
4658
+ /** OAuth access token. */
4659
+ access_token?: string;
4660
+ /** Data format for response. */
4661
+ alt?: string;
4662
+ /** JSONP */
4663
+ callback?: string;
4664
+ /** Selector specifying which fields to include in a partial response. */
4665
+ fields?: string;
4666
+ /** 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. */
4667
+ key?: string;
4668
+ /** Immutable. Identifier. Name of resource. */
4669
+ name: string;
4670
+ /** OAuth 2.0 token for the current user. */
4671
+ oauth_token?: string;
4672
+ /** Returns response with indentations and line breaks. */
4673
+ prettyPrint?: boolean;
4674
+ /** 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. */
4675
+ quotaUser?: string;
4676
+ /** 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). */
4677
+ requestId?: string;
4678
+ /** 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. */
4679
+ updateMask?: string;
4680
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4681
+ upload_protocol?: string;
4682
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4683
+ uploadType?: string;
4684
+ /** Request body */
4685
+ resource: FirewallEndpoint;
4686
+ }): Request<Operation>;
4687
+ patch(
4688
+ request: {
4689
+ /** V1 error format. */
4690
+ '$.xgafv'?: string;
4691
+ /** OAuth access token. */
4692
+ access_token?: string;
4693
+ /** Data format for response. */
4694
+ alt?: string;
4695
+ /** JSONP */
4696
+ callback?: string;
4697
+ /** Selector specifying which fields to include in a partial response. */
4698
+ fields?: string;
4699
+ /** 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. */
4700
+ key?: string;
4701
+ /** Immutable. Identifier. Name of resource. */
4702
+ name: string;
4703
+ /** OAuth 2.0 token for the current user. */
4704
+ oauth_token?: string;
4705
+ /** Returns response with indentations and line breaks. */
4706
+ prettyPrint?: boolean;
4707
+ /** 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. */
4708
+ quotaUser?: string;
4709
+ /** 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). */
4710
+ requestId?: string;
4711
+ /** 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. */
4712
+ updateMask?: string;
4713
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4714
+ upload_protocol?: string;
4715
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4716
+ uploadType?: string;
4717
+ },
4718
+ body: FirewallEndpoint,
4719
+ ): Request<Operation>;
4720
+ }
4496
4721
  interface RulesResource {
4497
4722
  /** Creates a new GatewaySecurityPolicy in a given project and location. */
4498
4723
  create(request: {
@@ -6857,7 +7082,7 @@ declare namespace gapi.client {
6857
7082
  prettyPrint?: boolean;
6858
7083
  /** 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. */
6859
7084
  quotaUser?: string;
6860
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
7085
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
6861
7086
  returnPartialSuccess?: boolean;
6862
7087
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6863
7088
  upload_protocol?: string;
@@ -7937,7 +8162,7 @@ declare namespace gapi.client {
7937
8162
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7938
8163
  uploadType?: string;
7939
8164
  }): Request<Location>;
7940
- /** Lists information about the supported locations for this service. */
8165
+ /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
7941
8166
  list(request?: {
7942
8167
  /** V1 error format. */
7943
8168
  '$.xgafv'?: string;
@@ -7947,7 +8172,7 @@ declare namespace gapi.client {
7947
8172
  alt?: string;
7948
8173
  /** JSONP */
7949
8174
  callback?: string;
7950
- /** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
8175
+ /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
7951
8176
  extraLocationTypes?: string | string[];
7952
8177
  /** Selector specifying which fields to include in a partial response. */
7953
8178
  fields?: string;
@@ -7979,6 +8204,7 @@ declare namespace gapi.client {
7979
8204
  clientTlsPolicies: ClientTlsPoliciesResource;
7980
8205
  dnsThreatDetectors: DnsThreatDetectorsResource;
7981
8206
  firewallEndpointAssociations: FirewallEndpointAssociationsResource;
8207
+ firewallEndpoints: FirewallEndpointsResource;
7982
8208
  gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
7983
8209
  interceptDeploymentGroups: InterceptDeploymentGroupsResource;
7984
8210
  interceptDeployments: InterceptDeploymentsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.1.20251020",
3
+ "version": "0.1.20260125",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",