@maxim_mazurok/gapi.client.networksecurity-v1 0.0.20230327 → 0.0.20230406

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 (3) hide show
  1. package/index.d.ts +1168 -118
  2. package/package.json +1 -1
  3. package/tests.ts +164 -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: 20230327
12
+ // Revision: 20230406
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -98,6 +98,46 @@ declare namespace gapi.client {
98
98
  /** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
99
99
  title?: string;
100
100
  }
101
+ interface GatewaySecurityPolicy {
102
+ /** Output only. The timestamp when the resource was created. */
103
+ createTime?: string;
104
+ /** Optional. Free-text description of the resource. */
105
+ description?: string;
106
+ /**
107
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match
108
+ * the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
109
+ */
110
+ name?: string;
111
+ /** Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it. */
112
+ tlsInspectionPolicy?: string;
113
+ /** Output only. The timestamp when the resource was updated. */
114
+ updateTime?: string;
115
+ }
116
+ interface GatewaySecurityPolicyRule {
117
+ /** Optional. CEL expression for matching on L7/application level criteria. */
118
+ applicationMatcher?: string;
119
+ /** Required. Profile which tells what the primitive action should be. */
120
+ basicProfile?: string;
121
+ /** Output only. Time when the rule was created. */
122
+ createTime?: string;
123
+ /** Optional. Free-text description of the resource. */
124
+ description?: string;
125
+ /** Required. Whether the rule is enforced. */
126
+ enabled?: boolean;
127
+ /**
128
+ * Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule}
129
+ * rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
130
+ */
131
+ name?: string;
132
+ /** Required. Priority of the rule. Lower number corresponds to higher precedence. */
133
+ priority?: number;
134
+ /** Required. CEL expression for matching on session criteria. */
135
+ sessionMatcher?: string;
136
+ /** Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig. */
137
+ tlsInspectionEnabled?: boolean;
138
+ /** Output only. Time when the rule was updated. */
139
+ updateTime?: string;
140
+ }
101
141
  interface GoogleCloudNetworksecurityV1CertificateProvider {
102
142
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
103
143
  certificateProviderInstance?: CertificateProviderInstance;
@@ -232,6 +272,28 @@ declare namespace gapi.client {
232
272
  */
233
273
  nextPageToken?: string;
234
274
  }
275
+ interface ListGatewaySecurityPoliciesResponse {
276
+ /** List of GatewaySecurityPolicies resources. */
277
+ gatewaySecurityPolicies?: GatewaySecurityPolicy[];
278
+ /**
279
+ * 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
280
+ * 'next_page_token' as 'page_token'.
281
+ */
282
+ nextPageToken?: string;
283
+ /** Locations that could not be reached. */
284
+ unreachable?: string[];
285
+ }
286
+ interface ListGatewaySecurityPolicyRulesResponse {
287
+ /** List of GatewaySecurityPolicyRule resources. */
288
+ gatewaySecurityPolicyRules?: GatewaySecurityPolicyRule[];
289
+ /**
290
+ * 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
291
+ * 'next_page_token' as 'page_token'.
292
+ */
293
+ nextPageToken?: string;
294
+ /** Locations that could not be reached. */
295
+ unreachable?: string[];
296
+ }
235
297
  interface ListLocationsResponse {
236
298
  /** A list of locations that matches the specified filter in the request. */
237
299
  locations?: Location[];
@@ -253,6 +315,28 @@ declare namespace gapi.client {
253
315
  /** List of ServerTlsPolicy resources. */
254
316
  serverTlsPolicies?: ServerTlsPolicy[];
255
317
  }
318
+ interface ListTlsInspectionPoliciesResponse {
319
+ /**
320
+ * 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
321
+ * 'next_page_token' as 'page_token'.
322
+ */
323
+ nextPageToken?: string;
324
+ /** List of TlsInspectionPolicies resources. */
325
+ tlsInspectionPolicies?: TlsInspectionPolicy[];
326
+ /** Locations that could not be reached. */
327
+ unreachable?: string[];
328
+ }
329
+ interface ListUrlListsResponse {
330
+ /**
331
+ * 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
332
+ * `next_page_token` as `page_token`.
333
+ */
334
+ nextPageToken?: string;
335
+ /** Locations that could not be reached. */
336
+ unreachable?: string[];
337
+ /** List of UrlList resources. */
338
+ urlLists?: UrlList[];
339
+ }
256
340
  interface Location {
257
341
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
258
342
  displayName?: string;
@@ -266,8 +350,21 @@ declare namespace gapi.client {
266
350
  name?: string;
267
351
  }
268
352
  interface MTLSPolicy {
269
- /** Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. */
353
+ /**
354
+ * Required if the policy is to be used with Traffic Director. For External HTTPS LB it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate
355
+ * the client certificate.
356
+ */
270
357
  clientValidationCa?: ValidationCA[];
358
+ /**
359
+ * Specifies whether client connections proceed when a client presents an invalid certificate or no certificate. Required if the policy is to be used with the External HTTPS LB. For
360
+ * Traffic Director it must be empty.
361
+ */
362
+ clientValidationMode?: string;
363
+ /**
364
+ * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given
365
+ * TrustConfig. Allowed only if the policy is to be used with External HTTPS LB.
366
+ */
367
+ clientValidationTrustConfig?: string;
271
368
  }
272
369
  interface Operation {
273
370
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
@@ -324,9 +421,10 @@ declare namespace gapi.client {
324
421
  }
325
422
  interface ServerTlsPolicy {
326
423
  /**
327
- * 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
328
- * 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
329
- * 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.
424
+ * Can be enabled only for Traffic Director policies, must be false for External HTTPS LB policies. Determines if server allows plaintext connections. If set to true, server allows
425
+ * 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
426
+ * 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
427
+ * to TLS while having mixed TLS and non-TLS traffic reaching port :80.
330
428
  */
331
429
  allowOpen?: boolean;
332
430
  /** Output only. The timestamp when the resource was created. */
@@ -336,15 +434,16 @@ declare namespace gapi.client {
336
434
  /** Set of label tags associated with the resource. */
337
435
  labels?: { [P in string]: string };
338
436
  /**
339
- * Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The
340
- * connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections.
437
+ * Required if policy is to be used with the External HTTPS LB, for Traffic Director allowed to be empty. Defines a mechanism to provision peer validation certificates for peer to peer
438
+ * authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are
439
+ * set, server allows both plain text and mTLS connections.
341
440
  */
342
441
  mtlsPolicy?: MTLSPolicy;
343
442
  /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
344
443
  name?: string;
345
444
  /**
346
- * Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not
347
- * supported.
445
+ * Optional if policy is to be used with Traffic Director, for External HTTPS LB must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be
446
+ * combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported.
348
447
  */
349
448
  serverCertificate?: GoogleCloudNetworksecurityV1CertificateProvider;
350
449
  /** Output only. The timestamp when the resource was updated. */
@@ -374,6 +473,39 @@ declare namespace gapi.client {
374
473
  */
375
474
  message?: string;
376
475
  }
476
+ interface TlsInspectionPolicy {
477
+ /**
478
+ * Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form
479
+ * "projects/{project}/locations/{location}/caPools/{ca_pool}".
480
+ */
481
+ caPool?: string;
482
+ /** Output only. The timestamp when the resource was created. */
483
+ createTime?: string;
484
+ /** Optional. Free-text description of the resource. */
485
+ description?: string;
486
+ /**
487
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
488
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
489
+ */
490
+ name?: string;
491
+ /** Output only. The timestamp when the resource was updated. */
492
+ updateTime?: string;
493
+ }
494
+ interface UrlList {
495
+ /** Output only. Time when the security policy was created. */
496
+ createTime?: string;
497
+ /** Optional. Free-text description of the resource. */
498
+ description?: string;
499
+ /**
500
+ * Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the
501
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
502
+ */
503
+ name?: string;
504
+ /** Output only. Time when the security policy was updated. */
505
+ updateTime?: string;
506
+ /** Required. FQDNs and URLs. */
507
+ values?: string[];
508
+ }
377
509
  interface ValidationCA {
378
510
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
379
511
  certificateProviderInstance?: CertificateProviderInstance;
@@ -1030,14 +1162,9 @@ declare namespace gapi.client {
1030
1162
  },
1031
1163
  body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
1032
1164
  }
1033
- interface OperationsResource {
1034
- /**
1035
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
1036
- * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
1037
- * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
1038
- * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1039
- */
1040
- cancel(request: {
1165
+ interface RulesResource {
1166
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
1167
+ create(request: {
1041
1168
  /** V1 error format. */
1042
1169
  "$.xgafv"?: string;
1043
1170
  /** OAuth access token. */
@@ -1048,12 +1175,14 @@ declare namespace gapi.client {
1048
1175
  callback?: string;
1049
1176
  /** Selector specifying which fields to include in a partial response. */
1050
1177
  fields?: string;
1178
+ /** The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
1179
+ gatewaySecurityPolicyRuleId?: string;
1051
1180
  /** 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. */
1052
1181
  key?: string;
1053
- /** The name of the operation resource to be cancelled. */
1054
- name: string;
1055
1182
  /** OAuth 2.0 token for the current user. */
1056
1183
  oauth_token?: string;
1184
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
1185
+ parent: string;
1057
1186
  /** Returns response with indentations and line breaks. */
1058
1187
  prettyPrint?: boolean;
1059
1188
  /** 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. */
@@ -1063,9 +1192,9 @@ declare namespace gapi.client {
1063
1192
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1064
1193
  uploadType?: string;
1065
1194
  /** Request body */
1066
- resource: CancelOperationRequest;
1067
- }): Request<{}>;
1068
- cancel(request: {
1195
+ resource: GatewaySecurityPolicyRule;
1196
+ }): Request<Operation>;
1197
+ create(request: {
1069
1198
  /** V1 error format. */
1070
1199
  "$.xgafv"?: string;
1071
1200
  /** OAuth access token. */
@@ -1076,12 +1205,14 @@ declare namespace gapi.client {
1076
1205
  callback?: string;
1077
1206
  /** Selector specifying which fields to include in a partial response. */
1078
1207
  fields?: string;
1208
+ /** The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
1209
+ gatewaySecurityPolicyRuleId?: string;
1079
1210
  /** 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. */
1080
1211
  key?: string;
1081
- /** The name of the operation resource to be cancelled. */
1082
- name: string;
1083
1212
  /** OAuth 2.0 token for the current user. */
1084
1213
  oauth_token?: string;
1214
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
1215
+ parent: string;
1085
1216
  /** Returns response with indentations and line breaks. */
1086
1217
  prettyPrint?: boolean;
1087
1218
  /** 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. */
@@ -1091,11 +1222,8 @@ declare namespace gapi.client {
1091
1222
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1092
1223
  uploadType?: string;
1093
1224
  },
1094
- body: CancelOperationRequest): Request<{}>;
1095
- /**
1096
- * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
1097
- * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1098
- */
1225
+ body: GatewaySecurityPolicyRule): Request<Operation>;
1226
+ /** Deletes a single GatewaySecurityPolicyRule. */
1099
1227
  delete(request?: {
1100
1228
  /** V1 error format. */
1101
1229
  "$.xgafv"?: string;
@@ -1109,7 +1237,10 @@ declare namespace gapi.client {
1109
1237
  fields?: string;
1110
1238
  /** 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. */
1111
1239
  key?: string;
1112
- /** The name of the operation resource to be deleted. */
1240
+ /**
1241
+ * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format
1242
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`.
1243
+ */
1113
1244
  name: string;
1114
1245
  /** OAuth 2.0 token for the current user. */
1115
1246
  oauth_token?: string;
@@ -1121,8 +1252,8 @@ declare namespace gapi.client {
1121
1252
  upload_protocol?: string;
1122
1253
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1123
1254
  uploadType?: string;
1124
- }): Request<{}>;
1125
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1255
+ }): Request<Operation>;
1256
+ /** Gets details of a single GatewaySecurityPolicyRule. */
1126
1257
  get(request?: {
1127
1258
  /** V1 error format. */
1128
1259
  "$.xgafv"?: string;
@@ -1136,7 +1267,7 @@ declare namespace gapi.client {
1136
1267
  fields?: string;
1137
1268
  /** 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. */
1138
1269
  key?: string;
1139
- /** The name of the operation resource. */
1270
+ /** Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies/*‍/rules/* */
1140
1271
  name: string;
1141
1272
  /** OAuth 2.0 token for the current user. */
1142
1273
  oauth_token?: string;
@@ -1148,8 +1279,8 @@ declare namespace gapi.client {
1148
1279
  upload_protocol?: string;
1149
1280
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1150
1281
  uploadType?: string;
1151
- }): Request<Operation>;
1152
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1282
+ }): Request<GatewaySecurityPolicyRule>;
1283
+ /** Lists GatewaySecurityPolicyRules in a given project and location. */
1153
1284
  list(request?: {
1154
1285
  /** V1 error format. */
1155
1286
  "$.xgafv"?: string;
@@ -1161,18 +1292,22 @@ declare namespace gapi.client {
1161
1292
  callback?: string;
1162
1293
  /** Selector specifying which fields to include in a partial response. */
1163
1294
  fields?: string;
1164
- /** The standard list filter. */
1165
- filter?: string;
1166
1295
  /** 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. */
1167
1296
  key?: string;
1168
- /** The name of the operation's parent resource. */
1169
- name: string;
1170
1297
  /** OAuth 2.0 token for the current user. */
1171
1298
  oauth_token?: string;
1172
- /** The standard list page size. */
1299
+ /** Maximum number of GatewaySecurityPolicyRules to return per call. */
1173
1300
  pageSize?: number;
1174
- /** The standard list page token. */
1301
+ /**
1302
+ * The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the
1303
+ * system should return the next page of data.
1304
+ */
1175
1305
  pageToken?: string;
1306
+ /**
1307
+ * Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format
1308
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`.
1309
+ */
1310
+ parent: string;
1176
1311
  /** Returns response with indentations and line breaks. */
1177
1312
  prettyPrint?: boolean;
1178
1313
  /** 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. */
@@ -1181,11 +1316,9 @@ declare namespace gapi.client {
1181
1316
  upload_protocol?: string;
1182
1317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1183
1318
  uploadType?: string;
1184
- }): Request<ListOperationsResponse>;
1185
- }
1186
- interface ServerTlsPoliciesResource {
1187
- /** Creates a new ServerTlsPolicy in a given project and location. */
1188
- create(request: {
1319
+ }): Request<ListGatewaySecurityPolicyRulesResponse>;
1320
+ /** Updates the parameters of a single GatewaySecurityPolicyRule. */
1321
+ patch(request: {
1189
1322
  /** V1 error format. */
1190
1323
  "$.xgafv"?: string;
1191
1324
  /** OAuth access token. */
@@ -1198,27 +1331,30 @@ declare namespace gapi.client {
1198
1331
  fields?: string;
1199
1332
  /** 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. */
1200
1333
  key?: string;
1334
+ /**
1335
+ * Required. Immutable. Name of the resource. ame is the full resource name so
1336
+ * projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
1337
+ */
1338
+ name: string;
1201
1339
  /** OAuth 2.0 token for the current user. */
1202
1340
  oauth_token?: string;
1203
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
1204
- parent: string;
1205
1341
  /** Returns response with indentations and line breaks. */
1206
1342
  prettyPrint?: boolean;
1207
1343
  /** 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. */
1208
1344
  quotaUser?: string;
1209
1345
  /**
1210
- * Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1211
- * should not start with a number. E.g. "server_mtls_policy".
1346
+ * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to
1347
+ * 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.
1212
1348
  */
1213
- serverTlsPolicyId?: string;
1349
+ updateMask?: string;
1214
1350
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1215
1351
  upload_protocol?: string;
1216
1352
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1217
1353
  uploadType?: string;
1218
1354
  /** Request body */
1219
- resource: ServerTlsPolicy;
1355
+ resource: GatewaySecurityPolicyRule;
1220
1356
  }): Request<Operation>;
1221
- create(request: {
1357
+ patch(request: {
1222
1358
  /** V1 error format. */
1223
1359
  "$.xgafv"?: string;
1224
1360
  /** OAuth access token. */
@@ -1231,27 +1367,32 @@ declare namespace gapi.client {
1231
1367
  fields?: string;
1232
1368
  /** 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. */
1233
1369
  key?: string;
1370
+ /**
1371
+ * Required. Immutable. Name of the resource. ame is the full resource name so
1372
+ * projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
1373
+ */
1374
+ name: string;
1234
1375
  /** OAuth 2.0 token for the current user. */
1235
1376
  oauth_token?: string;
1236
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
1237
- parent: string;
1238
1377
  /** Returns response with indentations and line breaks. */
1239
1378
  prettyPrint?: boolean;
1240
1379
  /** 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. */
1241
1380
  quotaUser?: string;
1242
1381
  /**
1243
- * Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1244
- * should not start with a number. E.g. "server_mtls_policy".
1382
+ * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to
1383
+ * 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.
1245
1384
  */
1246
- serverTlsPolicyId?: string;
1385
+ updateMask?: string;
1247
1386
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1248
1387
  upload_protocol?: string;
1249
1388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1250
1389
  uploadType?: string;
1251
1390
  },
1252
- body: ServerTlsPolicy): Request<Operation>;
1253
- /** Deletes a single ServerTlsPolicy. */
1254
- delete(request?: {
1391
+ body: GatewaySecurityPolicyRule): Request<Operation>;
1392
+ }
1393
+ interface GatewaySecurityPoliciesResource {
1394
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
1395
+ create(request: {
1255
1396
  /** V1 error format. */
1256
1397
  "$.xgafv"?: string;
1257
1398
  /** OAuth access token. */
@@ -1262,12 +1403,17 @@ declare namespace gapi.client {
1262
1403
  callback?: string;
1263
1404
  /** Selector specifying which fields to include in a partial response. */
1264
1405
  fields?: string;
1406
+ /**
1407
+ * Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
1408
+ * and should not start with a number. E.g. "gateway_security_policy1".
1409
+ */
1410
+ gatewaySecurityPolicyId?: string;
1265
1411
  /** 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. */
1266
1412
  key?: string;
1267
- /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
1268
- name: string;
1269
1413
  /** OAuth 2.0 token for the current user. */
1270
1414
  oauth_token?: string;
1415
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
1416
+ parent: string;
1271
1417
  /** Returns response with indentations and line breaks. */
1272
1418
  prettyPrint?: boolean;
1273
1419
  /** 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. */
@@ -1276,9 +1422,10 @@ declare namespace gapi.client {
1276
1422
  upload_protocol?: string;
1277
1423
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1278
1424
  uploadType?: string;
1425
+ /** Request body */
1426
+ resource: GatewaySecurityPolicy;
1279
1427
  }): Request<Operation>;
1280
- /** Gets details of a single ServerTlsPolicy. */
1281
- get(request?: {
1428
+ create(request: {
1282
1429
  /** V1 error format. */
1283
1430
  "$.xgafv"?: string;
1284
1431
  /** OAuth access token. */
@@ -1289,9 +1436,42 @@ declare namespace gapi.client {
1289
1436
  callback?: string;
1290
1437
  /** Selector specifying which fields to include in a partial response. */
1291
1438
  fields?: string;
1439
+ /**
1440
+ * Required. Short name of the GatewaySecurityPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores,
1441
+ * and should not start with a number. E.g. "gateway_security_policy1".
1442
+ */
1443
+ gatewaySecurityPolicyId?: string;
1292
1444
  /** 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. */
1293
1445
  key?: string;
1294
- /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
1446
+ /** OAuth 2.0 token for the current user. */
1447
+ oauth_token?: string;
1448
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
1449
+ parent: string;
1450
+ /** Returns response with indentations and line breaks. */
1451
+ prettyPrint?: boolean;
1452
+ /** 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. */
1453
+ quotaUser?: string;
1454
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1455
+ upload_protocol?: string;
1456
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1457
+ uploadType?: string;
1458
+ },
1459
+ body: GatewaySecurityPolicy): Request<Operation>;
1460
+ /** Deletes a single GatewaySecurityPolicy. */
1461
+ delete(request?: {
1462
+ /** V1 error format. */
1463
+ "$.xgafv"?: string;
1464
+ /** OAuth access token. */
1465
+ access_token?: string;
1466
+ /** Data format for response. */
1467
+ alt?: string;
1468
+ /** JSONP */
1469
+ callback?: string;
1470
+ /** Selector specifying which fields to include in a partial response. */
1471
+ fields?: string;
1472
+ /** 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. */
1473
+ key?: string;
1474
+ /** Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
1295
1475
  name: string;
1296
1476
  /** OAuth 2.0 token for the current user. */
1297
1477
  oauth_token?: string;
@@ -1303,9 +1483,9 @@ declare namespace gapi.client {
1303
1483
  upload_protocol?: string;
1304
1484
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1305
1485
  uploadType?: string;
1306
- }): Request<ServerTlsPolicy>;
1307
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1308
- getIamPolicy(request?: {
1486
+ }): Request<Operation>;
1487
+ /** Gets details of a single GatewaySecurityPolicy. */
1488
+ get(request?: {
1309
1489
  /** V1 error format. */
1310
1490
  "$.xgafv"?: string;
1311
1491
  /** OAuth access token. */
@@ -1318,31 +1498,20 @@ declare namespace gapi.client {
1318
1498
  fields?: string;
1319
1499
  /** 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. */
1320
1500
  key?: string;
1501
+ /** Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
1502
+ name: string;
1321
1503
  /** OAuth 2.0 token for the current user. */
1322
1504
  oauth_token?: string;
1323
- /**
1324
- * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1325
- * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1326
- * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1327
- * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1328
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1329
- */
1330
- "options.requestedPolicyVersion"?: number;
1331
1505
  /** Returns response with indentations and line breaks. */
1332
1506
  prettyPrint?: boolean;
1333
1507
  /** 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. */
1334
1508
  quotaUser?: string;
1335
- /**
1336
- * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1337
- * field.
1338
- */
1339
- resource: string;
1340
1509
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1341
1510
  upload_protocol?: string;
1342
1511
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1343
1512
  uploadType?: string;
1344
- }): Request<GoogleIamV1Policy>;
1345
- /** Lists ServerTlsPolicies in a given project and location. */
1513
+ }): Request<GatewaySecurityPolicy>;
1514
+ /** Lists GatewaySecurityPolicies in a given project and location. */
1346
1515
  list(request?: {
1347
1516
  /** V1 error format. */
1348
1517
  "$.xgafv"?: string;
@@ -1358,14 +1527,14 @@ declare namespace gapi.client {
1358
1527
  key?: string;
1359
1528
  /** OAuth 2.0 token for the current user. */
1360
1529
  oauth_token?: string;
1361
- /** Maximum number of ServerTlsPolicies to return per call. */
1530
+ /** Maximum number of GatewaySecurityPolicies to return per call. */
1362
1531
  pageSize?: number;
1363
1532
  /**
1364
- * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
1365
- * the next page of data.
1533
+ * The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system
1534
+ * should return the next page of data.
1366
1535
  */
1367
1536
  pageToken?: string;
1368
- /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
1537
+ /** Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
1369
1538
  parent: string;
1370
1539
  /** Returns response with indentations and line breaks. */
1371
1540
  prettyPrint?: boolean;
@@ -1375,8 +1544,8 @@ declare namespace gapi.client {
1375
1544
  upload_protocol?: string;
1376
1545
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1377
1546
  uploadType?: string;
1378
- }): Request<ListServerTlsPoliciesResponse>;
1379
- /** Updates the parameters of a single ServerTlsPolicy. */
1547
+ }): Request<ListGatewaySecurityPoliciesResponse>;
1548
+ /** Updates the parameters of a single GatewaySecurityPolicy. */
1380
1549
  patch(request: {
1381
1550
  /** V1 error format. */
1382
1551
  "$.xgafv"?: string;
@@ -1390,7 +1559,10 @@ declare namespace gapi.client {
1390
1559
  fields?: string;
1391
1560
  /** 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. */
1392
1561
  key?: string;
1393
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
1562
+ /**
1563
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
1564
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
1565
+ */
1394
1566
  name: string;
1395
1567
  /** OAuth 2.0 token for the current user. */
1396
1568
  oauth_token?: string;
@@ -1399,8 +1571,8 @@ declare namespace gapi.client {
1399
1571
  /** 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. */
1400
1572
  quotaUser?: string;
1401
1573
  /**
1402
- * Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the
1403
- * 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.
1574
+ * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to
1575
+ * 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.
1404
1576
  */
1405
1577
  updateMask?: string;
1406
1578
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1408,7 +1580,7 @@ declare namespace gapi.client {
1408
1580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1409
1581
  uploadType?: string;
1410
1582
  /** Request body */
1411
- resource: ServerTlsPolicy;
1583
+ resource: GatewaySecurityPolicy;
1412
1584
  }): Request<Operation>;
1413
1585
  patch(request: {
1414
1586
  /** V1 error format. */
@@ -1423,7 +1595,10 @@ declare namespace gapi.client {
1423
1595
  fields?: string;
1424
1596
  /** 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. */
1425
1597
  key?: string;
1426
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
1598
+ /**
1599
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
1600
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
1601
+ */
1427
1602
  name: string;
1428
1603
  /** OAuth 2.0 token for the current user. */
1429
1604
  oauth_token?: string;
@@ -1432,8 +1607,8 @@ declare namespace gapi.client {
1432
1607
  /** 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. */
1433
1608
  quotaUser?: string;
1434
1609
  /**
1435
- * Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the
1436
- * 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.
1610
+ * Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to
1611
+ * 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.
1437
1612
  */
1438
1613
  updateMask?: string;
1439
1614
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1441,9 +1616,17 @@ declare namespace gapi.client {
1441
1616
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1442
1617
  uploadType?: string;
1443
1618
  },
1444
- body: ServerTlsPolicy): Request<Operation>;
1445
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1446
- setIamPolicy(request: {
1619
+ body: GatewaySecurityPolicy): Request<Operation>;
1620
+ rules: RulesResource;
1621
+ }
1622
+ interface OperationsResource {
1623
+ /**
1624
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
1625
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
1626
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
1627
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
1628
+ */
1629
+ cancel(request: {
1447
1630
  /** V1 error format. */
1448
1631
  "$.xgafv"?: string;
1449
1632
  /** OAuth access token. */
@@ -1456,28 +1639,22 @@ declare namespace gapi.client {
1456
1639
  fields?: string;
1457
1640
  /** 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. */
1458
1641
  key?: string;
1642
+ /** The name of the operation resource to be cancelled. */
1643
+ name: string;
1459
1644
  /** OAuth 2.0 token for the current user. */
1460
1645
  oauth_token?: string;
1461
1646
  /** Returns response with indentations and line breaks. */
1462
1647
  prettyPrint?: boolean;
1463
1648
  /** 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. */
1464
1649
  quotaUser?: string;
1465
- /**
1466
- * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1467
- * field.
1468
- */
1469
- resource: string;
1470
1650
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1471
1651
  upload_protocol?: string;
1472
1652
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1473
1653
  uploadType?: string;
1474
- },
1475
- body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
1476
- /**
1477
- * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
1478
- * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1479
- */
1480
- testIamPermissions(request: {
1654
+ /** Request body */
1655
+ resource: CancelOperationRequest;
1656
+ }): Request<{}>;
1657
+ cancel(request: {
1481
1658
  /** V1 error format. */
1482
1659
  "$.xgafv"?: string;
1483
1660
  /** OAuth access token. */
@@ -1490,23 +1667,893 @@ declare namespace gapi.client {
1490
1667
  fields?: string;
1491
1668
  /** 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. */
1492
1669
  key?: string;
1670
+ /** The name of the operation resource to be cancelled. */
1671
+ name: string;
1493
1672
  /** OAuth 2.0 token for the current user. */
1494
1673
  oauth_token?: string;
1495
1674
  /** Returns response with indentations and line breaks. */
1496
1675
  prettyPrint?: boolean;
1497
1676
  /** 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. */
1498
1677
  quotaUser?: string;
1499
- /**
1500
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
1501
- * this field.
1502
- */
1503
- resource: string;
1504
1678
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1505
1679
  upload_protocol?: string;
1506
1680
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1507
1681
  uploadType?: string;
1508
1682
  },
1509
- body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
1683
+ body: CancelOperationRequest): Request<{}>;
1684
+ /**
1685
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
1686
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1687
+ */
1688
+ delete(request?: {
1689
+ /** V1 error format. */
1690
+ "$.xgafv"?: string;
1691
+ /** OAuth access token. */
1692
+ access_token?: string;
1693
+ /** Data format for response. */
1694
+ alt?: string;
1695
+ /** JSONP */
1696
+ callback?: string;
1697
+ /** Selector specifying which fields to include in a partial response. */
1698
+ fields?: string;
1699
+ /** 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. */
1700
+ key?: string;
1701
+ /** The name of the operation resource to be deleted. */
1702
+ name: string;
1703
+ /** OAuth 2.0 token for the current user. */
1704
+ oauth_token?: string;
1705
+ /** Returns response with indentations and line breaks. */
1706
+ prettyPrint?: boolean;
1707
+ /** 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. */
1708
+ quotaUser?: string;
1709
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1710
+ upload_protocol?: string;
1711
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1712
+ uploadType?: string;
1713
+ }): Request<{}>;
1714
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1715
+ get(request?: {
1716
+ /** V1 error format. */
1717
+ "$.xgafv"?: string;
1718
+ /** OAuth access token. */
1719
+ access_token?: string;
1720
+ /** Data format for response. */
1721
+ alt?: string;
1722
+ /** JSONP */
1723
+ callback?: string;
1724
+ /** Selector specifying which fields to include in a partial response. */
1725
+ fields?: string;
1726
+ /** 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. */
1727
+ key?: string;
1728
+ /** The name of the operation resource. */
1729
+ name: string;
1730
+ /** OAuth 2.0 token for the current user. */
1731
+ oauth_token?: string;
1732
+ /** Returns response with indentations and line breaks. */
1733
+ prettyPrint?: boolean;
1734
+ /** 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. */
1735
+ quotaUser?: string;
1736
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1737
+ upload_protocol?: string;
1738
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1739
+ uploadType?: string;
1740
+ }): Request<Operation>;
1741
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1742
+ list(request?: {
1743
+ /** V1 error format. */
1744
+ "$.xgafv"?: string;
1745
+ /** OAuth access token. */
1746
+ access_token?: string;
1747
+ /** Data format for response. */
1748
+ alt?: string;
1749
+ /** JSONP */
1750
+ callback?: string;
1751
+ /** Selector specifying which fields to include in a partial response. */
1752
+ fields?: string;
1753
+ /** The standard list filter. */
1754
+ filter?: string;
1755
+ /** 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. */
1756
+ key?: string;
1757
+ /** The name of the operation's parent resource. */
1758
+ name: string;
1759
+ /** OAuth 2.0 token for the current user. */
1760
+ oauth_token?: string;
1761
+ /** The standard list page size. */
1762
+ pageSize?: number;
1763
+ /** The standard list page token. */
1764
+ pageToken?: string;
1765
+ /** Returns response with indentations and line breaks. */
1766
+ prettyPrint?: boolean;
1767
+ /** 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. */
1768
+ quotaUser?: string;
1769
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1770
+ upload_protocol?: string;
1771
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1772
+ uploadType?: string;
1773
+ }): Request<ListOperationsResponse>;
1774
+ }
1775
+ interface ServerTlsPoliciesResource {
1776
+ /** Creates a new ServerTlsPolicy in a given project and location. */
1777
+ create(request: {
1778
+ /** V1 error format. */
1779
+ "$.xgafv"?: string;
1780
+ /** OAuth access token. */
1781
+ access_token?: string;
1782
+ /** Data format for response. */
1783
+ alt?: string;
1784
+ /** JSONP */
1785
+ callback?: string;
1786
+ /** Selector specifying which fields to include in a partial response. */
1787
+ fields?: string;
1788
+ /** 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. */
1789
+ key?: string;
1790
+ /** OAuth 2.0 token for the current user. */
1791
+ oauth_token?: string;
1792
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
1793
+ parent: string;
1794
+ /** Returns response with indentations and line breaks. */
1795
+ prettyPrint?: boolean;
1796
+ /** 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. */
1797
+ quotaUser?: string;
1798
+ /**
1799
+ * Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1800
+ * should not start with a number. E.g. "server_mtls_policy".
1801
+ */
1802
+ serverTlsPolicyId?: string;
1803
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1804
+ upload_protocol?: string;
1805
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1806
+ uploadType?: string;
1807
+ /** Request body */
1808
+ resource: ServerTlsPolicy;
1809
+ }): Request<Operation>;
1810
+ create(request: {
1811
+ /** V1 error format. */
1812
+ "$.xgafv"?: string;
1813
+ /** OAuth access token. */
1814
+ access_token?: string;
1815
+ /** Data format for response. */
1816
+ alt?: string;
1817
+ /** JSONP */
1818
+ callback?: string;
1819
+ /** Selector specifying which fields to include in a partial response. */
1820
+ fields?: string;
1821
+ /** 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. */
1822
+ key?: string;
1823
+ /** OAuth 2.0 token for the current user. */
1824
+ oauth_token?: string;
1825
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
1826
+ parent: string;
1827
+ /** Returns response with indentations and line breaks. */
1828
+ prettyPrint?: boolean;
1829
+ /** 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. */
1830
+ quotaUser?: string;
1831
+ /**
1832
+ * Required. Short name of the ServerTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and
1833
+ * should not start with a number. E.g. "server_mtls_policy".
1834
+ */
1835
+ serverTlsPolicyId?: string;
1836
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1837
+ upload_protocol?: string;
1838
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1839
+ uploadType?: string;
1840
+ },
1841
+ body: ServerTlsPolicy): Request<Operation>;
1842
+ /** Deletes a single ServerTlsPolicy. */
1843
+ delete(request?: {
1844
+ /** V1 error format. */
1845
+ "$.xgafv"?: string;
1846
+ /** OAuth access token. */
1847
+ access_token?: string;
1848
+ /** Data format for response. */
1849
+ alt?: string;
1850
+ /** JSONP */
1851
+ callback?: string;
1852
+ /** Selector specifying which fields to include in a partial response. */
1853
+ fields?: string;
1854
+ /** 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. */
1855
+ key?: string;
1856
+ /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
1857
+ name: string;
1858
+ /** OAuth 2.0 token for the current user. */
1859
+ oauth_token?: string;
1860
+ /** Returns response with indentations and line breaks. */
1861
+ prettyPrint?: boolean;
1862
+ /** 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. */
1863
+ quotaUser?: string;
1864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1865
+ upload_protocol?: string;
1866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1867
+ uploadType?: string;
1868
+ }): Request<Operation>;
1869
+ /** Gets details of a single ServerTlsPolicy. */
1870
+ get(request?: {
1871
+ /** V1 error format. */
1872
+ "$.xgafv"?: string;
1873
+ /** OAuth access token. */
1874
+ access_token?: string;
1875
+ /** Data format for response. */
1876
+ alt?: string;
1877
+ /** JSONP */
1878
+ callback?: string;
1879
+ /** Selector specifying which fields to include in a partial response. */
1880
+ fields?: string;
1881
+ /** 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. */
1882
+ key?: string;
1883
+ /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
1884
+ name: string;
1885
+ /** OAuth 2.0 token for the current user. */
1886
+ oauth_token?: string;
1887
+ /** Returns response with indentations and line breaks. */
1888
+ prettyPrint?: boolean;
1889
+ /** 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. */
1890
+ quotaUser?: string;
1891
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1892
+ upload_protocol?: string;
1893
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1894
+ uploadType?: string;
1895
+ }): Request<ServerTlsPolicy>;
1896
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1897
+ getIamPolicy(request?: {
1898
+ /** V1 error format. */
1899
+ "$.xgafv"?: string;
1900
+ /** OAuth access token. */
1901
+ access_token?: string;
1902
+ /** Data format for response. */
1903
+ alt?: string;
1904
+ /** JSONP */
1905
+ callback?: string;
1906
+ /** Selector specifying which fields to include in a partial response. */
1907
+ fields?: string;
1908
+ /** 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. */
1909
+ key?: string;
1910
+ /** OAuth 2.0 token for the current user. */
1911
+ oauth_token?: string;
1912
+ /**
1913
+ * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
1914
+ * policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
1915
+ * in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
1916
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
1917
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1918
+ */
1919
+ "options.requestedPolicyVersion"?: number;
1920
+ /** Returns response with indentations and line breaks. */
1921
+ prettyPrint?: boolean;
1922
+ /** 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. */
1923
+ quotaUser?: string;
1924
+ /**
1925
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
1926
+ * field.
1927
+ */
1928
+ resource: string;
1929
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1930
+ upload_protocol?: string;
1931
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1932
+ uploadType?: string;
1933
+ }): Request<GoogleIamV1Policy>;
1934
+ /** Lists ServerTlsPolicies in a given project and location. */
1935
+ list(request?: {
1936
+ /** V1 error format. */
1937
+ "$.xgafv"?: string;
1938
+ /** OAuth access token. */
1939
+ access_token?: string;
1940
+ /** Data format for response. */
1941
+ alt?: string;
1942
+ /** JSONP */
1943
+ callback?: string;
1944
+ /** Selector specifying which fields to include in a partial response. */
1945
+ fields?: string;
1946
+ /** 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. */
1947
+ key?: string;
1948
+ /** OAuth 2.0 token for the current user. */
1949
+ oauth_token?: string;
1950
+ /** Maximum number of ServerTlsPolicies to return per call. */
1951
+ pageSize?: number;
1952
+ /**
1953
+ * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
1954
+ * the next page of data.
1955
+ */
1956
+ pageToken?: string;
1957
+ /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
1958
+ parent: string;
1959
+ /** Returns response with indentations and line breaks. */
1960
+ prettyPrint?: boolean;
1961
+ /** 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. */
1962
+ quotaUser?: string;
1963
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1964
+ upload_protocol?: string;
1965
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1966
+ uploadType?: string;
1967
+ }): Request<ListServerTlsPoliciesResponse>;
1968
+ /** Updates the parameters of a single ServerTlsPolicy. */
1969
+ patch(request: {
1970
+ /** V1 error format. */
1971
+ "$.xgafv"?: string;
1972
+ /** OAuth access token. */
1973
+ access_token?: string;
1974
+ /** Data format for response. */
1975
+ alt?: string;
1976
+ /** JSONP */
1977
+ callback?: string;
1978
+ /** Selector specifying which fields to include in a partial response. */
1979
+ fields?: string;
1980
+ /** 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. */
1981
+ key?: string;
1982
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
1983
+ name: string;
1984
+ /** OAuth 2.0 token for the current user. */
1985
+ oauth_token?: string;
1986
+ /** Returns response with indentations and line breaks. */
1987
+ prettyPrint?: boolean;
1988
+ /** 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. */
1989
+ quotaUser?: string;
1990
+ /**
1991
+ * Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the
1992
+ * 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.
1993
+ */
1994
+ updateMask?: string;
1995
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1996
+ upload_protocol?: string;
1997
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1998
+ uploadType?: string;
1999
+ /** Request body */
2000
+ resource: ServerTlsPolicy;
2001
+ }): Request<Operation>;
2002
+ patch(request: {
2003
+ /** V1 error format. */
2004
+ "$.xgafv"?: string;
2005
+ /** OAuth access token. */
2006
+ access_token?: string;
2007
+ /** Data format for response. */
2008
+ alt?: string;
2009
+ /** JSONP */
2010
+ callback?: string;
2011
+ /** Selector specifying which fields to include in a partial response. */
2012
+ fields?: string;
2013
+ /** 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. */
2014
+ key?: string;
2015
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
2016
+ name: string;
2017
+ /** OAuth 2.0 token for the current user. */
2018
+ oauth_token?: string;
2019
+ /** Returns response with indentations and line breaks. */
2020
+ prettyPrint?: boolean;
2021
+ /** 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. */
2022
+ quotaUser?: string;
2023
+ /**
2024
+ * Optional. Field mask is used to specify the fields to be overwritten in the ServerTlsPolicy resource by the update. The fields specified in the update_mask are relative to the
2025
+ * 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.
2026
+ */
2027
+ updateMask?: string;
2028
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2029
+ upload_protocol?: string;
2030
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2031
+ uploadType?: string;
2032
+ },
2033
+ body: ServerTlsPolicy): Request<Operation>;
2034
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2035
+ setIamPolicy(request: {
2036
+ /** V1 error format. */
2037
+ "$.xgafv"?: string;
2038
+ /** OAuth access token. */
2039
+ access_token?: string;
2040
+ /** Data format for response. */
2041
+ alt?: string;
2042
+ /** JSONP */
2043
+ callback?: string;
2044
+ /** Selector specifying which fields to include in a partial response. */
2045
+ fields?: string;
2046
+ /** 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. */
2047
+ key?: string;
2048
+ /** OAuth 2.0 token for the current user. */
2049
+ oauth_token?: string;
2050
+ /** Returns response with indentations and line breaks. */
2051
+ prettyPrint?: boolean;
2052
+ /** 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. */
2053
+ quotaUser?: string;
2054
+ /**
2055
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
2056
+ * field.
2057
+ */
2058
+ resource: string;
2059
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2060
+ upload_protocol?: string;
2061
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2062
+ uploadType?: string;
2063
+ },
2064
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2065
+ /**
2066
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
2067
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
2068
+ */
2069
+ testIamPermissions(request: {
2070
+ /** V1 error format. */
2071
+ "$.xgafv"?: string;
2072
+ /** OAuth access token. */
2073
+ access_token?: string;
2074
+ /** Data format for response. */
2075
+ alt?: string;
2076
+ /** JSONP */
2077
+ callback?: string;
2078
+ /** Selector specifying which fields to include in a partial response. */
2079
+ fields?: string;
2080
+ /** 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. */
2081
+ key?: string;
2082
+ /** OAuth 2.0 token for the current user. */
2083
+ oauth_token?: string;
2084
+ /** Returns response with indentations and line breaks. */
2085
+ prettyPrint?: boolean;
2086
+ /** 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. */
2087
+ quotaUser?: string;
2088
+ /**
2089
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
2090
+ * this field.
2091
+ */
2092
+ resource: string;
2093
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2094
+ upload_protocol?: string;
2095
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2096
+ uploadType?: string;
2097
+ },
2098
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2099
+ }
2100
+ interface TlsInspectionPoliciesResource {
2101
+ /** Creates a new TlsInspectionPolicy in a given project and location. */
2102
+ create(request: {
2103
+ /** V1 error format. */
2104
+ "$.xgafv"?: string;
2105
+ /** OAuth access token. */
2106
+ access_token?: string;
2107
+ /** Data format for response. */
2108
+ alt?: string;
2109
+ /** JSONP */
2110
+ callback?: string;
2111
+ /** Selector specifying which fields to include in a partial response. */
2112
+ fields?: string;
2113
+ /** 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. */
2114
+ key?: string;
2115
+ /** OAuth 2.0 token for the current user. */
2116
+ oauth_token?: string;
2117
+ /** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2118
+ parent: string;
2119
+ /** Returns response with indentations and line breaks. */
2120
+ prettyPrint?: boolean;
2121
+ /** 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. */
2122
+ quotaUser?: string;
2123
+ /**
2124
+ * 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,
2125
+ * and should not start with a number. E.g. "tls_inspection_policy1".
2126
+ */
2127
+ tlsInspectionPolicyId?: string;
2128
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2129
+ upload_protocol?: string;
2130
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2131
+ uploadType?: string;
2132
+ /** Request body */
2133
+ resource: TlsInspectionPolicy;
2134
+ }): Request<Operation>;
2135
+ create(request: {
2136
+ /** V1 error format. */
2137
+ "$.xgafv"?: string;
2138
+ /** OAuth access token. */
2139
+ access_token?: string;
2140
+ /** Data format for response. */
2141
+ alt?: string;
2142
+ /** JSONP */
2143
+ callback?: string;
2144
+ /** Selector specifying which fields to include in a partial response. */
2145
+ fields?: string;
2146
+ /** 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. */
2147
+ key?: string;
2148
+ /** OAuth 2.0 token for the current user. */
2149
+ oauth_token?: string;
2150
+ /** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2151
+ parent: string;
2152
+ /** Returns response with indentations and line breaks. */
2153
+ prettyPrint?: boolean;
2154
+ /** 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. */
2155
+ quotaUser?: string;
2156
+ /**
2157
+ * 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,
2158
+ * and should not start with a number. E.g. "tls_inspection_policy1".
2159
+ */
2160
+ tlsInspectionPolicyId?: string;
2161
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2162
+ upload_protocol?: string;
2163
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2164
+ uploadType?: string;
2165
+ },
2166
+ body: TlsInspectionPolicy): Request<Operation>;
2167
+ /** Deletes a single TlsInspectionPolicy. */
2168
+ delete(request?: {
2169
+ /** V1 error format. */
2170
+ "$.xgafv"?: string;
2171
+ /** OAuth access token. */
2172
+ access_token?: string;
2173
+ /** Data format for response. */
2174
+ alt?: string;
2175
+ /** JSONP */
2176
+ callback?: string;
2177
+ /** Selector specifying which fields to include in a partial response. */
2178
+ fields?: string;
2179
+ /** 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.) */
2180
+ force?: boolean;
2181
+ /** 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. */
2182
+ key?: string;
2183
+ /** Required. A name of the TlsInspectionPolicy to delete. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
2184
+ name: string;
2185
+ /** OAuth 2.0 token for the current user. */
2186
+ oauth_token?: string;
2187
+ /** Returns response with indentations and line breaks. */
2188
+ prettyPrint?: boolean;
2189
+ /** 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. */
2190
+ quotaUser?: string;
2191
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2192
+ upload_protocol?: string;
2193
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2194
+ uploadType?: string;
2195
+ }): Request<Operation>;
2196
+ /** Gets details of a single TlsInspectionPolicy. */
2197
+ get(request?: {
2198
+ /** V1 error format. */
2199
+ "$.xgafv"?: string;
2200
+ /** OAuth access token. */
2201
+ access_token?: string;
2202
+ /** Data format for response. */
2203
+ alt?: string;
2204
+ /** JSONP */
2205
+ callback?: string;
2206
+ /** Selector specifying which fields to include in a partial response. */
2207
+ fields?: string;
2208
+ /** 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. */
2209
+ key?: string;
2210
+ /** Required. A name of the TlsInspectionPolicy to get. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
2211
+ name: string;
2212
+ /** OAuth 2.0 token for the current user. */
2213
+ oauth_token?: string;
2214
+ /** Returns response with indentations and line breaks. */
2215
+ prettyPrint?: boolean;
2216
+ /** 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. */
2217
+ quotaUser?: string;
2218
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2219
+ upload_protocol?: string;
2220
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2221
+ uploadType?: string;
2222
+ }): Request<TlsInspectionPolicy>;
2223
+ /** Lists TlsInspectionPolicies in a given project and location. */
2224
+ list(request?: {
2225
+ /** V1 error format. */
2226
+ "$.xgafv"?: string;
2227
+ /** OAuth access token. */
2228
+ access_token?: string;
2229
+ /** Data format for response. */
2230
+ alt?: string;
2231
+ /** JSONP */
2232
+ callback?: string;
2233
+ /** Selector specifying which fields to include in a partial response. */
2234
+ fields?: string;
2235
+ /** 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. */
2236
+ key?: string;
2237
+ /** OAuth 2.0 token for the current user. */
2238
+ oauth_token?: string;
2239
+ /** Maximum number of TlsInspectionPolicies to return per call. */
2240
+ pageSize?: number;
2241
+ /**
2242
+ * The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and that the system should
2243
+ * return the next page of data.
2244
+ */
2245
+ pageToken?: string;
2246
+ /** Required. The project and location from which the TlsInspectionPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
2247
+ parent: string;
2248
+ /** Returns response with indentations and line breaks. */
2249
+ prettyPrint?: boolean;
2250
+ /** 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. */
2251
+ quotaUser?: string;
2252
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2253
+ upload_protocol?: string;
2254
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2255
+ uploadType?: string;
2256
+ }): Request<ListTlsInspectionPoliciesResponse>;
2257
+ /** Updates the parameters of a single TlsInspectionPolicy. */
2258
+ patch(request: {
2259
+ /** V1 error format. */
2260
+ "$.xgafv"?: string;
2261
+ /** OAuth access token. */
2262
+ access_token?: string;
2263
+ /** Data format for response. */
2264
+ alt?: string;
2265
+ /** JSONP */
2266
+ callback?: string;
2267
+ /** Selector specifying which fields to include in a partial response. */
2268
+ fields?: string;
2269
+ /** 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. */
2270
+ key?: string;
2271
+ /**
2272
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
2273
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2274
+ */
2275
+ name: string;
2276
+ /** OAuth 2.0 token for the current user. */
2277
+ oauth_token?: string;
2278
+ /** Returns response with indentations and line breaks. */
2279
+ prettyPrint?: boolean;
2280
+ /** 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. */
2281
+ quotaUser?: string;
2282
+ /**
2283
+ * 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
2284
+ * 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.
2285
+ */
2286
+ updateMask?: string;
2287
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2288
+ upload_protocol?: string;
2289
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2290
+ uploadType?: string;
2291
+ /** Request body */
2292
+ resource: TlsInspectionPolicy;
2293
+ }): Request<Operation>;
2294
+ patch(request: {
2295
+ /** V1 error format. */
2296
+ "$.xgafv"?: string;
2297
+ /** OAuth access token. */
2298
+ access_token?: string;
2299
+ /** Data format for response. */
2300
+ alt?: string;
2301
+ /** JSONP */
2302
+ callback?: string;
2303
+ /** Selector specifying which fields to include in a partial response. */
2304
+ fields?: string;
2305
+ /** 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. */
2306
+ key?: string;
2307
+ /**
2308
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
2309
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2310
+ */
2311
+ name: string;
2312
+ /** OAuth 2.0 token for the current user. */
2313
+ oauth_token?: string;
2314
+ /** Returns response with indentations and line breaks. */
2315
+ prettyPrint?: boolean;
2316
+ /** 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. */
2317
+ quotaUser?: string;
2318
+ /**
2319
+ * 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
2320
+ * 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.
2321
+ */
2322
+ updateMask?: string;
2323
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2324
+ upload_protocol?: string;
2325
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2326
+ uploadType?: string;
2327
+ },
2328
+ body: TlsInspectionPolicy): Request<Operation>;
2329
+ }
2330
+ interface UrlListsResource {
2331
+ /** Creates a new UrlList in a given project and location. */
2332
+ create(request: {
2333
+ /** V1 error format. */
2334
+ "$.xgafv"?: string;
2335
+ /** OAuth access token. */
2336
+ access_token?: string;
2337
+ /** Data format for response. */
2338
+ alt?: string;
2339
+ /** JSONP */
2340
+ callback?: string;
2341
+ /** Selector specifying which fields to include in a partial response. */
2342
+ fields?: string;
2343
+ /** 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. */
2344
+ key?: string;
2345
+ /** OAuth 2.0 token for the current user. */
2346
+ oauth_token?: string;
2347
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
2348
+ parent: string;
2349
+ /** Returns response with indentations and line breaks. */
2350
+ prettyPrint?: boolean;
2351
+ /** 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. */
2352
+ quotaUser?: string;
2353
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2354
+ upload_protocol?: string;
2355
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2356
+ uploadType?: string;
2357
+ /**
2358
+ * Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not
2359
+ * start with a number. E.g. "url_list".
2360
+ */
2361
+ urlListId?: string;
2362
+ /** Request body */
2363
+ resource: UrlList;
2364
+ }): Request<Operation>;
2365
+ create(request: {
2366
+ /** V1 error format. */
2367
+ "$.xgafv"?: string;
2368
+ /** OAuth access token. */
2369
+ access_token?: string;
2370
+ /** Data format for response. */
2371
+ alt?: string;
2372
+ /** JSONP */
2373
+ callback?: string;
2374
+ /** Selector specifying which fields to include in a partial response. */
2375
+ fields?: string;
2376
+ /** 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. */
2377
+ key?: string;
2378
+ /** OAuth 2.0 token for the current user. */
2379
+ oauth_token?: string;
2380
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
2381
+ parent: string;
2382
+ /** Returns response with indentations and line breaks. */
2383
+ prettyPrint?: boolean;
2384
+ /** 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. */
2385
+ quotaUser?: string;
2386
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2387
+ upload_protocol?: string;
2388
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2389
+ uploadType?: string;
2390
+ /**
2391
+ * Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not
2392
+ * start with a number. E.g. "url_list".
2393
+ */
2394
+ urlListId?: string;
2395
+ },
2396
+ body: UrlList): Request<Operation>;
2397
+ /** Deletes a single UrlList. */
2398
+ delete(request?: {
2399
+ /** V1 error format. */
2400
+ "$.xgafv"?: string;
2401
+ /** OAuth access token. */
2402
+ access_token?: string;
2403
+ /** Data format for response. */
2404
+ alt?: string;
2405
+ /** JSONP */
2406
+ callback?: string;
2407
+ /** Selector specifying which fields to include in a partial response. */
2408
+ fields?: string;
2409
+ /** 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. */
2410
+ key?: string;
2411
+ /** Required. A name of the UrlList to delete. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
2412
+ name: string;
2413
+ /** OAuth 2.0 token for the current user. */
2414
+ oauth_token?: string;
2415
+ /** Returns response with indentations and line breaks. */
2416
+ prettyPrint?: boolean;
2417
+ /** 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. */
2418
+ quotaUser?: string;
2419
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2420
+ upload_protocol?: string;
2421
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2422
+ uploadType?: string;
2423
+ }): Request<Operation>;
2424
+ /** Gets details of a single UrlList. */
2425
+ get(request?: {
2426
+ /** V1 error format. */
2427
+ "$.xgafv"?: string;
2428
+ /** OAuth access token. */
2429
+ access_token?: string;
2430
+ /** Data format for response. */
2431
+ alt?: string;
2432
+ /** JSONP */
2433
+ callback?: string;
2434
+ /** Selector specifying which fields to include in a partial response. */
2435
+ fields?: string;
2436
+ /** 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. */
2437
+ key?: string;
2438
+ /** Required. A name of the UrlList to get. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
2439
+ name: string;
2440
+ /** OAuth 2.0 token for the current user. */
2441
+ oauth_token?: string;
2442
+ /** Returns response with indentations and line breaks. */
2443
+ prettyPrint?: boolean;
2444
+ /** 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. */
2445
+ quotaUser?: string;
2446
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2447
+ upload_protocol?: string;
2448
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2449
+ uploadType?: string;
2450
+ }): Request<UrlList>;
2451
+ /** Lists UrlLists in a given project and location. */
2452
+ list(request?: {
2453
+ /** V1 error format. */
2454
+ "$.xgafv"?: string;
2455
+ /** OAuth access token. */
2456
+ access_token?: string;
2457
+ /** Data format for response. */
2458
+ alt?: string;
2459
+ /** JSONP */
2460
+ callback?: string;
2461
+ /** Selector specifying which fields to include in a partial response. */
2462
+ fields?: string;
2463
+ /** 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. */
2464
+ key?: string;
2465
+ /** OAuth 2.0 token for the current user. */
2466
+ oauth_token?: string;
2467
+ /** Maximum number of UrlLists to return per call. */
2468
+ pageSize?: number;
2469
+ /**
2470
+ * The value returned by the last `ListUrlListsResponse` Indicates that this is a continuation of a prior `ListUrlLists` call, and that the system should return the next page of
2471
+ * data.
2472
+ */
2473
+ pageToken?: string;
2474
+ /** Required. The project and location from which the UrlLists should be listed, specified in the format `projects/{project}/locations/{location}`. */
2475
+ parent: string;
2476
+ /** Returns response with indentations and line breaks. */
2477
+ prettyPrint?: boolean;
2478
+ /** 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. */
2479
+ quotaUser?: string;
2480
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2481
+ upload_protocol?: string;
2482
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2483
+ uploadType?: string;
2484
+ }): Request<ListUrlListsResponse>;
2485
+ /** Updates the parameters of a single UrlList. */
2486
+ patch(request: {
2487
+ /** V1 error format. */
2488
+ "$.xgafv"?: string;
2489
+ /** OAuth access token. */
2490
+ access_token?: string;
2491
+ /** Data format for response. */
2492
+ alt?: string;
2493
+ /** JSONP */
2494
+ callback?: string;
2495
+ /** Selector specifying which fields to include in a partial response. */
2496
+ fields?: string;
2497
+ /** 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. */
2498
+ key?: string;
2499
+ /**
2500
+ * Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the
2501
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2502
+ */
2503
+ name: string;
2504
+ /** OAuth 2.0 token for the current user. */
2505
+ oauth_token?: string;
2506
+ /** Returns response with indentations and line breaks. */
2507
+ prettyPrint?: boolean;
2508
+ /** 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. */
2509
+ quotaUser?: string;
2510
+ /**
2511
+ * Optional. Field mask is used to specify the fields to be overwritten in the UrlList resource by the update. The fields specified in the update_mask are relative to the resource,
2512
+ * 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.
2513
+ */
2514
+ updateMask?: string;
2515
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2516
+ upload_protocol?: string;
2517
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2518
+ uploadType?: string;
2519
+ /** Request body */
2520
+ resource: UrlList;
2521
+ }): Request<Operation>;
2522
+ patch(request: {
2523
+ /** V1 error format. */
2524
+ "$.xgafv"?: string;
2525
+ /** OAuth access token. */
2526
+ access_token?: string;
2527
+ /** Data format for response. */
2528
+ alt?: string;
2529
+ /** JSONP */
2530
+ callback?: string;
2531
+ /** Selector specifying which fields to include in a partial response. */
2532
+ fields?: string;
2533
+ /** 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. */
2534
+ key?: string;
2535
+ /**
2536
+ * Required. Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the
2537
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2538
+ */
2539
+ name: string;
2540
+ /** OAuth 2.0 token for the current user. */
2541
+ oauth_token?: string;
2542
+ /** Returns response with indentations and line breaks. */
2543
+ prettyPrint?: boolean;
2544
+ /** 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. */
2545
+ quotaUser?: string;
2546
+ /**
2547
+ * Optional. Field mask is used to specify the fields to be overwritten in the UrlList resource by the update. The fields specified in the update_mask are relative to the resource,
2548
+ * 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.
2549
+ */
2550
+ updateMask?: string;
2551
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2552
+ upload_protocol?: string;
2553
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2554
+ uploadType?: string;
2555
+ },
2556
+ body: UrlList): Request<Operation>;
1510
2557
  }
1511
2558
  interface LocationsResource {
1512
2559
  /** Gets information about a location. */
@@ -1574,8 +2621,11 @@ declare namespace gapi.client {
1574
2621
  }): Request<ListLocationsResponse>;
1575
2622
  authorizationPolicies: AuthorizationPoliciesResource;
1576
2623
  clientTlsPolicies: ClientTlsPoliciesResource;
2624
+ gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
1577
2625
  operations: OperationsResource;
1578
2626
  serverTlsPolicies: ServerTlsPoliciesResource;
2627
+ tlsInspectionPolicies: TlsInspectionPoliciesResource;
2628
+ urlLists: UrlListsResource;
1579
2629
  }
1580
2630
  interface ProjectsResource {
1581
2631
  locations: LocationsResource;