@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20250608 → 0.0.20250721
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 +247 -5
- 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:
|
|
12
|
+
// Revision: 20250721
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -113,8 +113,10 @@ declare namespace gapi.client {
|
|
|
113
113
|
sources?: AuthzPolicyAuthzRuleFromRequestSource[];
|
|
114
114
|
}
|
|
115
115
|
interface AuthzPolicyAuthzRuleFromRequestSource {
|
|
116
|
-
/** Optional. A list of
|
|
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. */
|
|
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. */
|
|
119
|
+
principals?: AuthzPolicyAuthzRulePrincipal[];
|
|
118
120
|
/** Optional. A list of resources to match against the resource of the source VM of a request. Limited to 5 resources. */
|
|
119
121
|
resources?: AuthzPolicyAuthzRuleRequestResource[];
|
|
120
122
|
}
|
|
@@ -130,6 +132,12 @@ declare namespace gapi.client {
|
|
|
130
132
|
/** Required. The address prefix. */
|
|
131
133
|
prefix?: string;
|
|
132
134
|
}
|
|
135
|
+
interface AuthzPolicyAuthzRulePrincipal {
|
|
136
|
+
/** Required. A non-empty string whose value is matched against the principal value based on the principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors. */
|
|
137
|
+
principal?: AuthzPolicyAuthzRuleStringMatch;
|
|
138
|
+
/** Optional. An enum to decide what principal value the principal rule will match against. If not specified, the PrincipalSelector is CLIENT_CERT_URI_SAN. */
|
|
139
|
+
principalSelector?: string;
|
|
140
|
+
}
|
|
133
141
|
interface AuthzPolicyAuthzRuleRequestResource {
|
|
134
142
|
/** Optional. An IAM service account to match against the source service account of the VM sending the request. */
|
|
135
143
|
iamServiceAccount?: AuthzPolicyAuthzRuleStringMatch;
|
|
@@ -223,7 +231,7 @@ declare namespace gapi.client {
|
|
|
223
231
|
description?: string;
|
|
224
232
|
/** Optional. Set of label tags associated with the resource. */
|
|
225
233
|
labels?: {[P in string]: string};
|
|
226
|
-
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects
|
|
234
|
+
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
|
|
227
235
|
name?: string;
|
|
228
236
|
/** Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate. */
|
|
229
237
|
serverValidationCa?: ValidationCA[];
|
|
@@ -256,6 +264,20 @@ declare namespace gapi.client {
|
|
|
256
264
|
/** Required. List of destination ports to match. At least one port should match. */
|
|
257
265
|
ports?: number[];
|
|
258
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
|
+
}
|
|
259
281
|
interface Empty {}
|
|
260
282
|
interface Expr {
|
|
261
283
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
@@ -589,6 +611,14 @@ declare namespace gapi.client {
|
|
|
589
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`. */
|
|
590
612
|
nextPageToken?: string;
|
|
591
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
|
+
}
|
|
592
622
|
interface ListFirewallEndpointAssociationsResponse {
|
|
593
623
|
/** The list of Association */
|
|
594
624
|
firewallEndpointAssociations?: FirewallEndpointAssociation[];
|
|
@@ -3890,7 +3920,7 @@ declare namespace gapi.client {
|
|
|
3890
3920
|
fields?: string;
|
|
3891
3921
|
/** 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. */
|
|
3892
3922
|
key?: string;
|
|
3893
|
-
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects
|
|
3923
|
+
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
|
|
3894
3924
|
name: string;
|
|
3895
3925
|
/** OAuth 2.0 token for the current user. */
|
|
3896
3926
|
oauth_token?: string;
|
|
@@ -3921,7 +3951,7 @@ declare namespace gapi.client {
|
|
|
3921
3951
|
fields?: string;
|
|
3922
3952
|
/** 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. */
|
|
3923
3953
|
key?: string;
|
|
3924
|
-
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects
|
|
3954
|
+
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */
|
|
3925
3955
|
name: string;
|
|
3926
3956
|
/** OAuth 2.0 token for the current user. */
|
|
3927
3957
|
oauth_token?: string;
|
|
@@ -3999,6 +4029,217 @@ declare namespace gapi.client {
|
|
|
3999
4029
|
body: GoogleIamV1TestIamPermissionsRequest,
|
|
4000
4030
|
): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
4001
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
|
+
}
|
|
4002
4243
|
interface FirewallEndpointAssociationsResource {
|
|
4003
4244
|
/** Creates a new FirewallEndpointAssociation in a given project and location. */
|
|
4004
4245
|
create(request: {
|
|
@@ -7706,6 +7947,7 @@ declare namespace gapi.client {
|
|
|
7706
7947
|
authzPolicies: AuthzPoliciesResource;
|
|
7707
7948
|
backendAuthenticationConfigs: BackendAuthenticationConfigsResource;
|
|
7708
7949
|
clientTlsPolicies: ClientTlsPoliciesResource;
|
|
7950
|
+
dnsThreatDetectors: DnsThreatDetectorsResource;
|
|
7709
7951
|
firewallEndpointAssociations: FirewallEndpointAssociationsResource;
|
|
7710
7952
|
gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
|
|
7711
7953
|
interceptDeploymentGroups: InterceptDeploymentGroupsResource;
|