@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20250714 → 0.0.20250804

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 +243 -9
  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: 20250714
12
+ // Revision: 20250804
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -113,11 +113,11 @@ declare namespace gapi.client {
113
113
  sources?: AuthzPolicyAuthzRuleFromRequestSource[];
114
114
  }
115
115
  interface AuthzPolicyAuthzRuleFromRequestSource {
116
- /** Optional. A list of IP addresses or IP address ranges to match against the source IP address of the request. Limited to 5 ip_blocks. */
116
+ /** Optional. A list of IP addresses or IP address ranges to match against the source IP address of the request. Limited to 10 ip_blocks per Authorization Policy */
117
117
  ipBlocks?: AuthzPolicyAuthzRuleIpBlock[];
118
- /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the client certificate has been successfully validated by mTLS. Each identity is a string whose value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's certificate. A match happens when any principal matches with the rule. Limited to 5 principals. */
118
+ /** Optional. A list of identities derived from the client's certificate. This field will not match on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the client certificate has been successfully validated by mTLS. Each identity is a string whose value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's certificate. A match happens when any principal matches with the rule. Limited to 50 principals per Authorization Policy for Regional Internal Application Load Balancer, Regional External Application Load Balancer, Cross-region Internal Application Load Balancer, and Cloud Service Mesh. Limited to 25 principals per Authorization Policy for Global External Application Load Balancer. */
119
119
  principals?: AuthzPolicyAuthzRulePrincipal[];
120
- /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
120
+ /** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 10 resources per Authorization Policy. */
121
121
  resources?: AuthzPolicyAuthzRuleRequestResource[];
122
122
  }
123
123
  interface AuthzPolicyAuthzRuleHeaderMatch {
@@ -145,7 +145,7 @@ declare namespace gapi.client {
145
145
  tagValueIdSet?: AuthzPolicyAuthzRuleRequestResourceTagValueIdSet;
146
146
  }
147
147
  interface AuthzPolicyAuthzRuleRequestResourceTagValueIdSet {
148
- /** Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 matches. */
148
+ /** Required. A list of resource tag value permanent IDs to match against the resource manager tags value associated with the source VM of a request. The match follows AND semantics which means all the ids must match. Limited to 5 ids in the Tag value id set. */
149
149
  ids?: string[];
150
150
  }
151
151
  interface AuthzPolicyAuthzRuleStringMatch {
@@ -169,15 +169,15 @@ declare namespace gapi.client {
169
169
  interface AuthzPolicyAuthzRuleToRequestOperation {
170
170
  /** Optional. A list of headers to match against in http header. */
171
171
  headerSet?: AuthzPolicyAuthzRuleToRequestOperationHeaderSet;
172
- /** Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
172
+ /** Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy. */
173
173
  hosts?: AuthzPolicyAuthzRuleStringMatch[];
174
- /** Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. */
174
+ /** Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy. */
175
175
  methods?: string[];
176
- /** Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */
176
+ /** Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method. */
177
177
  paths?: AuthzPolicyAuthzRuleStringMatch[];
178
178
  }
179
179
  interface AuthzPolicyAuthzRuleToRequestOperationHeaderSet {
180
- /** Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 5 matches. */
180
+ /** Required. A list of headers to match against in http header. The match can be one of exact, prefix, suffix, or contains (substring match). The match follows AND semantics which means all the headers must match. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 headers per Authorization Policy. */
181
181
  headers?: AuthzPolicyAuthzRuleHeaderMatch[];
182
182
  }
183
183
  interface AuthzPolicyCustomProvider {
@@ -264,6 +264,20 @@ declare namespace gapi.client {
264
264
  /** Required. List of destination ports to match. At least one port should match. */
265
265
  ports?: number[];
266
266
  }
267
+ interface DnsThreatDetector {
268
+ /** Output only. [Output only] Create time stamp */
269
+ createTime?: string;
270
+ /** Optional. A list of Network resource names which are exempt from the configuration in this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`. */
271
+ excludedNetworks?: string[];
272
+ /** Optional. Labels as key value pairs */
273
+ labels?: {[P in string]: string};
274
+ /** Immutable. Identifier. Name of the DnsThreatDetector resource. */
275
+ name?: string;
276
+ /** Required. The provider used for DNS threat analysis. */
277
+ provider?: string;
278
+ /** Output only. [Output only] Update time stamp */
279
+ updateTime?: string;
280
+ }
267
281
  interface Empty {}
268
282
  interface Expr {
269
283
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
@@ -597,6 +611,14 @@ declare namespace gapi.client {
597
611
  /** 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 `next_page_token` as `page_token`. */
598
612
  nextPageToken?: string;
599
613
  }
614
+ interface ListDnsThreatDetectorsResponse {
615
+ /** The list of DnsThreatDetector resources. */
616
+ dnsThreatDetectors?: DnsThreatDetector[];
617
+ /** A token, which can be sent as `page_token` to retrieve the next page. */
618
+ nextPageToken?: string;
619
+ /** Unordered list. Unreachable `DnsThreatDetector` resources. */
620
+ unreachable?: string[];
621
+ }
600
622
  interface ListFirewallEndpointAssociationsResponse {
601
623
  /** The list of Association */
602
624
  firewallEndpointAssociations?: FirewallEndpointAssociation[];
@@ -4007,6 +4029,217 @@ declare namespace gapi.client {
4007
4029
  body: GoogleIamV1TestIamPermissionsRequest,
4008
4030
  ): Request<GoogleIamV1TestIamPermissionsResponse>;
4009
4031
  }
4032
+ interface DnsThreatDetectorsResource {
4033
+ /** Creates a new DnsThreatDetector in a given project and location. */
4034
+ create(request: {
4035
+ /** V1 error format. */
4036
+ '$.xgafv'?: string;
4037
+ /** OAuth access token. */
4038
+ access_token?: string;
4039
+ /** Data format for response. */
4040
+ alt?: string;
4041
+ /** JSONP */
4042
+ callback?: string;
4043
+ /** Optional. Id of the requesting DnsThreatDetector object. If this field is not supplied, the service will generate an identifier. */
4044
+ dnsThreatDetectorId?: string;
4045
+ /** Selector specifying which fields to include in a partial response. */
4046
+ fields?: string;
4047
+ /** 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. */
4048
+ key?: string;
4049
+ /** OAuth 2.0 token for the current user. */
4050
+ oauth_token?: string;
4051
+ /** Required. Value for parent of the DnsThreatDetector resource. */
4052
+ parent: string;
4053
+ /** Returns response with indentations and line breaks. */
4054
+ prettyPrint?: boolean;
4055
+ /** 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. */
4056
+ quotaUser?: string;
4057
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4058
+ upload_protocol?: string;
4059
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4060
+ uploadType?: string;
4061
+ /** Request body */
4062
+ resource: DnsThreatDetector;
4063
+ }): Request<DnsThreatDetector>;
4064
+ create(
4065
+ request: {
4066
+ /** V1 error format. */
4067
+ '$.xgafv'?: string;
4068
+ /** OAuth access token. */
4069
+ access_token?: string;
4070
+ /** Data format for response. */
4071
+ alt?: string;
4072
+ /** JSONP */
4073
+ callback?: string;
4074
+ /** Optional. Id of the requesting DnsThreatDetector object. If this field is not supplied, the service will generate an identifier. */
4075
+ dnsThreatDetectorId?: string;
4076
+ /** Selector specifying which fields to include in a partial response. */
4077
+ fields?: string;
4078
+ /** 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. */
4079
+ key?: string;
4080
+ /** OAuth 2.0 token for the current user. */
4081
+ oauth_token?: string;
4082
+ /** Required. Value for parent of the DnsThreatDetector resource. */
4083
+ parent: string;
4084
+ /** Returns response with indentations and line breaks. */
4085
+ prettyPrint?: boolean;
4086
+ /** 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. */
4087
+ quotaUser?: string;
4088
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4089
+ upload_protocol?: string;
4090
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4091
+ uploadType?: string;
4092
+ },
4093
+ body: DnsThreatDetector,
4094
+ ): Request<DnsThreatDetector>;
4095
+ /** Deletes a single DnsThreatDetector. */
4096
+ delete(request?: {
4097
+ /** V1 error format. */
4098
+ '$.xgafv'?: string;
4099
+ /** OAuth access token. */
4100
+ access_token?: string;
4101
+ /** Data format for response. */
4102
+ alt?: string;
4103
+ /** JSONP */
4104
+ callback?: string;
4105
+ /** Selector specifying which fields to include in a partial response. */
4106
+ fields?: string;
4107
+ /** 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. */
4108
+ key?: string;
4109
+ /** Required. Name of the DnsThreatDetector resource. */
4110
+ name: string;
4111
+ /** OAuth 2.0 token for the current user. */
4112
+ oauth_token?: string;
4113
+ /** Returns response with indentations and line breaks. */
4114
+ prettyPrint?: boolean;
4115
+ /** 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. */
4116
+ quotaUser?: string;
4117
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4118
+ upload_protocol?: string;
4119
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4120
+ uploadType?: string;
4121
+ }): Request<{}>;
4122
+ /** Gets details of a single DnsThreatDetector. */
4123
+ get(request?: {
4124
+ /** V1 error format. */
4125
+ '$.xgafv'?: string;
4126
+ /** OAuth access token. */
4127
+ access_token?: string;
4128
+ /** Data format for response. */
4129
+ alt?: string;
4130
+ /** JSONP */
4131
+ callback?: string;
4132
+ /** Selector specifying which fields to include in a partial response. */
4133
+ fields?: string;
4134
+ /** 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. */
4135
+ key?: string;
4136
+ /** Required. Name of the DnsThreatDetector resource */
4137
+ name: string;
4138
+ /** OAuth 2.0 token for the current user. */
4139
+ oauth_token?: string;
4140
+ /** Returns response with indentations and line breaks. */
4141
+ prettyPrint?: boolean;
4142
+ /** 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. */
4143
+ quotaUser?: string;
4144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4145
+ upload_protocol?: string;
4146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4147
+ uploadType?: string;
4148
+ }): Request<DnsThreatDetector>;
4149
+ /** Lists DnsThreatDetectors in a given project and location. */
4150
+ list(request?: {
4151
+ /** V1 error format. */
4152
+ '$.xgafv'?: string;
4153
+ /** OAuth access token. */
4154
+ access_token?: string;
4155
+ /** Data format for response. */
4156
+ alt?: string;
4157
+ /** JSONP */
4158
+ callback?: string;
4159
+ /** Selector specifying which fields to include in a partial response. */
4160
+ fields?: string;
4161
+ /** 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. */
4162
+ key?: string;
4163
+ /** OAuth 2.0 token for the current user. */
4164
+ oauth_token?: string;
4165
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */
4166
+ pageSize?: number;
4167
+ /** Optional. A page token, received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page. */
4168
+ pageToken?: string;
4169
+ /** Required. Parent value for ListDnsThreatDetectorsRequest */
4170
+ parent: string;
4171
+ /** Returns response with indentations and line breaks. */
4172
+ prettyPrint?: boolean;
4173
+ /** 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. */
4174
+ quotaUser?: string;
4175
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4176
+ upload_protocol?: string;
4177
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4178
+ uploadType?: string;
4179
+ }): Request<ListDnsThreatDetectorsResponse>;
4180
+ /** Updates the parameters of a single DnsThreatDetector. */
4181
+ patch(request: {
4182
+ /** V1 error format. */
4183
+ '$.xgafv'?: string;
4184
+ /** OAuth access token. */
4185
+ access_token?: string;
4186
+ /** Data format for response. */
4187
+ alt?: string;
4188
+ /** JSONP */
4189
+ callback?: string;
4190
+ /** Selector specifying which fields to include in a partial response. */
4191
+ fields?: string;
4192
+ /** 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. */
4193
+ key?: string;
4194
+ /** Immutable. Identifier. Name of the DnsThreatDetector resource. */
4195
+ name: string;
4196
+ /** OAuth 2.0 token for the current user. */
4197
+ oauth_token?: string;
4198
+ /** Returns response with indentations and line breaks. */
4199
+ prettyPrint?: boolean;
4200
+ /** 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. */
4201
+ quotaUser?: string;
4202
+ /** Optional. Field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten. */
4203
+ updateMask?: string;
4204
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4205
+ upload_protocol?: string;
4206
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4207
+ uploadType?: string;
4208
+ /** Request body */
4209
+ resource: DnsThreatDetector;
4210
+ }): Request<DnsThreatDetector>;
4211
+ patch(
4212
+ request: {
4213
+ /** V1 error format. */
4214
+ '$.xgafv'?: string;
4215
+ /** OAuth access token. */
4216
+ access_token?: string;
4217
+ /** Data format for response. */
4218
+ alt?: string;
4219
+ /** JSONP */
4220
+ callback?: string;
4221
+ /** Selector specifying which fields to include in a partial response. */
4222
+ fields?: string;
4223
+ /** 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. */
4224
+ key?: string;
4225
+ /** Immutable. Identifier. Name of the DnsThreatDetector resource. */
4226
+ name: string;
4227
+ /** OAuth 2.0 token for the current user. */
4228
+ oauth_token?: string;
4229
+ /** Returns response with indentations and line breaks. */
4230
+ prettyPrint?: boolean;
4231
+ /** 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. */
4232
+ quotaUser?: string;
4233
+ /** Optional. Field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten. */
4234
+ updateMask?: string;
4235
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4236
+ upload_protocol?: string;
4237
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4238
+ uploadType?: string;
4239
+ },
4240
+ body: DnsThreatDetector,
4241
+ ): Request<DnsThreatDetector>;
4242
+ }
4010
4243
  interface FirewallEndpointAssociationsResource {
4011
4244
  /** Creates a new FirewallEndpointAssociation in a given project and location. */
4012
4245
  create(request: {
@@ -7714,6 +7947,7 @@ declare namespace gapi.client {
7714
7947
  authzPolicies: AuthzPoliciesResource;
7715
7948
  backendAuthenticationConfigs: BackendAuthenticationConfigsResource;
7716
7949
  clientTlsPolicies: ClientTlsPoliciesResource;
7950
+ dnsThreatDetectors: DnsThreatDetectorsResource;
7717
7951
  firewallEndpointAssociations: FirewallEndpointAssociationsResource;
7718
7952
  gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
7719
7953
  interceptDeploymentGroups: InterceptDeploymentGroupsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.0.20250714",
3
+ "version": "0.0.20250804",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",