@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230208 → 0.0.20230309

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 +901 -144
  2. package/package.json +1 -1
  3. package/tests.ts +121 -13
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: 20230208
12
+ // Revision: 20230309
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,7 +27,7 @@ declare namespace gapi.client {
27
27
  items?: string[];
28
28
  /**
29
29
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
30
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
30
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
31
31
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
32
32
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
33
33
  * (00000000-0000-0000-0000-000000000000).
@@ -104,7 +104,7 @@ declare namespace gapi.client {
104
104
  interface CloneAddressGroupItemsRequest {
105
105
  /**
106
106
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
107
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
107
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
108
108
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
109
109
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
110
110
  * (00000000-0000-0000-0000-000000000000).
@@ -142,6 +142,42 @@ declare namespace gapi.client {
142
142
  /** 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. */
143
143
  title?: string;
144
144
  }
145
+ interface GatewaySecurityPolicy {
146
+ /** Output only. The timestamp when the resource was created. */
147
+ createTime?: string;
148
+ /** Optional. Free-text description of the resource. */
149
+ description?: string;
150
+ /**
151
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match
152
+ * the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
153
+ */
154
+ name?: string;
155
+ /** Output only. The timestamp when the resource was updated. */
156
+ updateTime?: string;
157
+ }
158
+ interface GatewaySecurityPolicyRule {
159
+ /** Optional. CEL expression for matching on L7/application level criteria. */
160
+ applicationMatcher?: string;
161
+ /** Required. Profile which tells what the primitive action should be. */
162
+ basicProfile?: string;
163
+ /** Output only. Time when the rule was created. */
164
+ createTime?: string;
165
+ /** Optional. Free-text description of the resource. */
166
+ description?: string;
167
+ /** Required. Whether the rule is enforced. */
168
+ enabled?: boolean;
169
+ /**
170
+ * Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule}
171
+ * rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
172
+ */
173
+ name?: string;
174
+ /** Required. Priority of the rule. Lower number corresponds to higher precedence. */
175
+ priority?: number;
176
+ /** Required. CEL expression for matching on session criteria. */
177
+ sessionMatcher?: string;
178
+ /** Output only. Time when the rule was updated. */
179
+ updateTime?: string;
180
+ }
145
181
  interface GoogleCloudNetworksecurityV1beta1CertificateProvider {
146
182
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
147
183
  certificateProviderInstance?: CertificateProviderInstance;
@@ -300,6 +336,24 @@ declare namespace gapi.client {
300
336
  */
301
337
  nextPageToken?: string;
302
338
  }
339
+ interface ListGatewaySecurityPoliciesResponse {
340
+ /** List of GatewaySecurityPolicies resources. */
341
+ gatewaySecurityPolicies?: GatewaySecurityPolicy[];
342
+ /**
343
+ * 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
344
+ * 'next_page_token' as 'page_token'.
345
+ */
346
+ nextPageToken?: string;
347
+ }
348
+ interface ListGatewaySecurityPolicyRulesResponse {
349
+ /** List of GatewaySecurityPolicyRule resources. */
350
+ gatewaySecurityPolicyRules?: GatewaySecurityPolicyRule[];
351
+ /**
352
+ * 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
353
+ * 'next_page_token' as 'page_token'.
354
+ */
355
+ nextPageToken?: string;
356
+ }
303
357
  interface ListLocationsResponse {
304
358
  /** A list of locations that matches the specified filter in the request. */
305
359
  locations?: Location[];
@@ -321,6 +375,17 @@ declare namespace gapi.client {
321
375
  /** List of ServerTlsPolicy resources. */
322
376
  serverTlsPolicies?: ServerTlsPolicy[];
323
377
  }
378
+ interface ListUrlListsResponse {
379
+ /**
380
+ * 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
381
+ * `next_page_token` as `page_token`.
382
+ */
383
+ nextPageToken?: string;
384
+ /** Locations that could not be reached. */
385
+ unreachable?: string[];
386
+ /** List of UrlList resources. */
387
+ urlLists?: UrlList[];
388
+ }
324
389
  interface Location {
325
390
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
326
391
  displayName?: string;
@@ -383,7 +448,7 @@ declare namespace gapi.client {
383
448
  items?: string[];
384
449
  /**
385
450
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
386
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
451
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
387
452
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
388
453
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
389
454
  * (00000000-0000-0000-0000-000000000000).
@@ -454,6 +519,21 @@ declare namespace gapi.client {
454
519
  */
455
520
  message?: string;
456
521
  }
522
+ interface UrlList {
523
+ /** Output only. Time when the security policy was created. */
524
+ createTime?: string;
525
+ /** Optional. Free-text description of the resource. */
526
+ description?: string;
527
+ /**
528
+ * 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
529
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
530
+ */
531
+ name?: string;
532
+ /** Output only. Time when the security policy was updated. */
533
+ updateTime?: string;
534
+ /** Required. FQDNs and URLs. */
535
+ values?: string[];
536
+ }
457
537
  interface ValidationCA {
458
538
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
459
539
  certificateProviderInstance?: CertificateProviderInstance;
@@ -602,8 +682,8 @@ declare namespace gapi.client {
602
682
  quotaUser?: string;
603
683
  /**
604
684
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
605
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
606
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
685
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
686
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
607
687
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
608
688
  * supported (00000000-0000-0000-0000-000000000000).
609
689
  */
@@ -643,8 +723,8 @@ declare namespace gapi.client {
643
723
  quotaUser?: string;
644
724
  /**
645
725
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
646
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
647
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
726
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
727
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
648
728
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
649
729
  * supported (00000000-0000-0000-0000-000000000000).
650
730
  */
@@ -679,8 +759,8 @@ declare namespace gapi.client {
679
759
  quotaUser?: string;
680
760
  /**
681
761
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
682
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
683
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
762
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
763
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
684
764
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
685
765
  * supported (00000000-0000-0000-0000-000000000000).
686
766
  */
@@ -809,8 +889,8 @@ declare namespace gapi.client {
809
889
  quotaUser?: string;
810
890
  /**
811
891
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
812
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
813
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
892
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
893
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
814
894
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
815
895
  * supported (00000000-0000-0000-0000-000000000000).
816
896
  */
@@ -850,8 +930,8 @@ declare namespace gapi.client {
850
930
  quotaUser?: string;
851
931
  /**
852
932
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
853
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
854
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
933
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
934
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
855
935
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
856
936
  * supported (00000000-0000-0000-0000-000000000000).
857
937
  */
@@ -1043,12 +1123,7 @@ declare namespace gapi.client {
1043
1123
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1124
  uploadType?: string;
1045
1125
  }): Request<Operation>;
1046
- /**
1047
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
1048
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1049
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1050
- * ensure the name binding is the parent resource, without the operations collection id.
1051
- */
1126
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1052
1127
  list(request?: {
1053
1128
  /** V1 error format. */
1054
1129
  "$.xgafv"?: string;
@@ -1231,8 +1306,8 @@ declare namespace gapi.client {
1231
1306
  quotaUser?: string;
1232
1307
  /**
1233
1308
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1234
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1235
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1309
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1310
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1236
1311
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1237
1312
  * supported (00000000-0000-0000-0000-000000000000).
1238
1313
  */
@@ -1272,8 +1347,8 @@ declare namespace gapi.client {
1272
1347
  quotaUser?: string;
1273
1348
  /**
1274
1349
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1275
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1276
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1350
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1351
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1277
1352
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1278
1353
  * supported (00000000-0000-0000-0000-000000000000).
1279
1354
  */
@@ -1308,8 +1383,8 @@ declare namespace gapi.client {
1308
1383
  quotaUser?: string;
1309
1384
  /**
1310
1385
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1311
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1312
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1386
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1387
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1313
1388
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1314
1389
  * supported (00000000-0000-0000-0000-000000000000).
1315
1390
  */
@@ -1476,8 +1551,8 @@ declare namespace gapi.client {
1476
1551
  quotaUser?: string;
1477
1552
  /**
1478
1553
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1479
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1480
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1554
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1555
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1481
1556
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1482
1557
  * supported (00000000-0000-0000-0000-000000000000).
1483
1558
  */
@@ -1517,8 +1592,8 @@ declare namespace gapi.client {
1517
1592
  quotaUser?: string;
1518
1593
  /**
1519
1594
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1520
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1521
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1595
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1596
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1522
1597
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1523
1598
  * supported (00000000-0000-0000-0000-000000000000).
1524
1599
  */
@@ -2306,14 +2381,9 @@ declare namespace gapi.client {
2306
2381
  },
2307
2382
  body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2308
2383
  }
2309
- interface OperationsResource {
2310
- /**
2311
- * 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
2312
- * 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
2313
- * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
2314
- * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2315
- */
2316
- cancel(request: {
2384
+ interface RulesResource {
2385
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
2386
+ create(request: {
2317
2387
  /** V1 error format. */
2318
2388
  "$.xgafv"?: string;
2319
2389
  /** OAuth access token. */
@@ -2324,12 +2394,14 @@ declare namespace gapi.client {
2324
2394
  callback?: string;
2325
2395
  /** Selector specifying which fields to include in a partial response. */
2326
2396
  fields?: string;
2397
+ /** 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-/. */
2398
+ gatewaySecurityPolicyRuleId?: string;
2327
2399
  /** 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. */
2328
2400
  key?: string;
2329
- /** The name of the operation resource to be cancelled. */
2330
- name: string;
2331
2401
  /** OAuth 2.0 token for the current user. */
2332
2402
  oauth_token?: string;
2403
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
2404
+ parent: string;
2333
2405
  /** Returns response with indentations and line breaks. */
2334
2406
  prettyPrint?: boolean;
2335
2407
  /** 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. */
@@ -2339,9 +2411,9 @@ declare namespace gapi.client {
2339
2411
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2340
2412
  uploadType?: string;
2341
2413
  /** Request body */
2342
- resource: CancelOperationRequest;
2343
- }): Request<{}>;
2344
- cancel(request: {
2414
+ resource: GatewaySecurityPolicyRule;
2415
+ }): Request<Operation>;
2416
+ create(request: {
2345
2417
  /** V1 error format. */
2346
2418
  "$.xgafv"?: string;
2347
2419
  /** OAuth access token. */
@@ -2352,12 +2424,14 @@ declare namespace gapi.client {
2352
2424
  callback?: string;
2353
2425
  /** Selector specifying which fields to include in a partial response. */
2354
2426
  fields?: string;
2427
+ /** 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-/. */
2428
+ gatewaySecurityPolicyRuleId?: string;
2355
2429
  /** 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. */
2356
2430
  key?: string;
2357
- /** The name of the operation resource to be cancelled. */
2358
- name: string;
2359
2431
  /** OAuth 2.0 token for the current user. */
2360
2432
  oauth_token?: string;
2433
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
2434
+ parent: string;
2361
2435
  /** Returns response with indentations and line breaks. */
2362
2436
  prettyPrint?: boolean;
2363
2437
  /** 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. */
@@ -2367,11 +2441,8 @@ declare namespace gapi.client {
2367
2441
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2368
2442
  uploadType?: string;
2369
2443
  },
2370
- body: CancelOperationRequest): Request<{}>;
2371
- /**
2372
- * 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
2373
- * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2374
- */
2444
+ body: GatewaySecurityPolicyRule): Request<Operation>;
2445
+ /** Deletes a single GatewaySecurityPolicyRule. */
2375
2446
  delete(request?: {
2376
2447
  /** V1 error format. */
2377
2448
  "$.xgafv"?: string;
@@ -2385,7 +2456,10 @@ declare namespace gapi.client {
2385
2456
  fields?: string;
2386
2457
  /** 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. */
2387
2458
  key?: string;
2388
- /** The name of the operation resource to be deleted. */
2459
+ /**
2460
+ * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format
2461
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`.
2462
+ */
2389
2463
  name: string;
2390
2464
  /** OAuth 2.0 token for the current user. */
2391
2465
  oauth_token?: string;
@@ -2397,8 +2471,8 @@ declare namespace gapi.client {
2397
2471
  upload_protocol?: string;
2398
2472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2399
2473
  uploadType?: string;
2400
- }): Request<{}>;
2401
- /** 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. */
2474
+ }): Request<Operation>;
2475
+ /** Gets details of a single GatewaySecurityPolicyRule. */
2402
2476
  get(request?: {
2403
2477
  /** V1 error format. */
2404
2478
  "$.xgafv"?: string;
@@ -2412,7 +2486,7 @@ declare namespace gapi.client {
2412
2486
  fields?: string;
2413
2487
  /** 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. */
2414
2488
  key?: string;
2415
- /** The name of the operation resource. */
2489
+ /** Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies/*‍/rules/* */
2416
2490
  name: string;
2417
2491
  /** OAuth 2.0 token for the current user. */
2418
2492
  oauth_token?: string;
@@ -2424,13 +2498,8 @@ declare namespace gapi.client {
2424
2498
  upload_protocol?: string;
2425
2499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2426
2500
  uploadType?: string;
2427
- }): Request<Operation>;
2428
- /**
2429
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
2430
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
2431
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
2432
- * ensure the name binding is the parent resource, without the operations collection id.
2433
- */
2501
+ }): Request<GatewaySecurityPolicyRule>;
2502
+ /** Lists GatewaySecurityPolicyRules in a given project and location. */
2434
2503
  list(request?: {
2435
2504
  /** V1 error format. */
2436
2505
  "$.xgafv"?: string;
@@ -2442,18 +2511,22 @@ declare namespace gapi.client {
2442
2511
  callback?: string;
2443
2512
  /** Selector specifying which fields to include in a partial response. */
2444
2513
  fields?: string;
2445
- /** The standard list filter. */
2446
- filter?: string;
2447
2514
  /** 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. */
2448
2515
  key?: string;
2449
- /** The name of the operation's parent resource. */
2450
- name: string;
2451
2516
  /** OAuth 2.0 token for the current user. */
2452
2517
  oauth_token?: string;
2453
- /** The standard list page size. */
2518
+ /** Maximum number of GatewaySecurityPolicyRules to return per call. */
2454
2519
  pageSize?: number;
2455
- /** The standard list page token. */
2520
+ /**
2521
+ * The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the
2522
+ * system should return the next page of data.
2523
+ */
2456
2524
  pageToken?: string;
2525
+ /**
2526
+ * Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format
2527
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`.
2528
+ */
2529
+ parent: string;
2457
2530
  /** Returns response with indentations and line breaks. */
2458
2531
  prettyPrint?: boolean;
2459
2532
  /** 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. */
@@ -2462,11 +2535,9 @@ declare namespace gapi.client {
2462
2535
  upload_protocol?: string;
2463
2536
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2464
2537
  uploadType?: string;
2465
- }): Request<ListOperationsResponse>;
2466
- }
2467
- interface ServerTlsPoliciesResource {
2468
- /** Creates a new ServerTlsPolicy in a given project and location. */
2469
- create(request: {
2538
+ }): Request<ListGatewaySecurityPolicyRulesResponse>;
2539
+ /** Updates the parameters of a single GatewaySecurityPolicyRule. */
2540
+ patch(request: {
2470
2541
  /** V1 error format. */
2471
2542
  "$.xgafv"?: string;
2472
2543
  /** OAuth access token. */
@@ -2479,27 +2550,30 @@ declare namespace gapi.client {
2479
2550
  fields?: string;
2480
2551
  /** 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. */
2481
2552
  key?: string;
2553
+ /**
2554
+ * Required. Immutable. Name of the resource. ame is the full resource name so
2555
+ * 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])?$).
2556
+ */
2557
+ name: string;
2482
2558
  /** OAuth 2.0 token for the current user. */
2483
2559
  oauth_token?: string;
2484
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
2485
- parent: string;
2486
2560
  /** Returns response with indentations and line breaks. */
2487
2561
  prettyPrint?: boolean;
2488
2562
  /** 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. */
2489
2563
  quotaUser?: string;
2490
2564
  /**
2491
- * 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
2492
- * should not start with a number. E.g. "server_mtls_policy".
2565
+ * 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
2566
+ * 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.
2493
2567
  */
2494
- serverTlsPolicyId?: string;
2568
+ updateMask?: string;
2495
2569
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2496
2570
  upload_protocol?: string;
2497
2571
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2498
2572
  uploadType?: string;
2499
2573
  /** Request body */
2500
- resource: ServerTlsPolicy;
2574
+ resource: GatewaySecurityPolicyRule;
2501
2575
  }): Request<Operation>;
2502
- create(request: {
2576
+ patch(request: {
2503
2577
  /** V1 error format. */
2504
2578
  "$.xgafv"?: string;
2505
2579
  /** OAuth access token. */
@@ -2512,27 +2586,32 @@ declare namespace gapi.client {
2512
2586
  fields?: string;
2513
2587
  /** 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. */
2514
2588
  key?: string;
2589
+ /**
2590
+ * Required. Immutable. Name of the resource. ame is the full resource name so
2591
+ * 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])?$).
2592
+ */
2593
+ name: string;
2515
2594
  /** OAuth 2.0 token for the current user. */
2516
2595
  oauth_token?: string;
2517
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
2518
- parent: string;
2519
2596
  /** Returns response with indentations and line breaks. */
2520
2597
  prettyPrint?: boolean;
2521
2598
  /** 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. */
2522
2599
  quotaUser?: string;
2523
2600
  /**
2524
- * 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
2525
- * should not start with a number. E.g. "server_mtls_policy".
2601
+ * 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
2602
+ * 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.
2526
2603
  */
2527
- serverTlsPolicyId?: string;
2604
+ updateMask?: string;
2528
2605
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2529
2606
  upload_protocol?: string;
2530
2607
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2531
2608
  uploadType?: string;
2532
2609
  },
2533
- body: ServerTlsPolicy): Request<Operation>;
2534
- /** Deletes a single ServerTlsPolicy. */
2535
- delete(request?: {
2610
+ body: GatewaySecurityPolicyRule): Request<Operation>;
2611
+ }
2612
+ interface GatewaySecurityPoliciesResource {
2613
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
2614
+ create(request: {
2536
2615
  /** V1 error format. */
2537
2616
  "$.xgafv"?: string;
2538
2617
  /** OAuth access token. */
@@ -2543,12 +2622,17 @@ declare namespace gapi.client {
2543
2622
  callback?: string;
2544
2623
  /** Selector specifying which fields to include in a partial response. */
2545
2624
  fields?: string;
2625
+ /**
2626
+ * 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,
2627
+ * and should not start with a number. E.g. "gateway_security_policy1".
2628
+ */
2629
+ gatewaySecurityPolicyId?: string;
2546
2630
  /** 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. */
2547
2631
  key?: string;
2548
- /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
2549
- name: string;
2550
2632
  /** OAuth 2.0 token for the current user. */
2551
2633
  oauth_token?: string;
2634
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2635
+ parent: string;
2552
2636
  /** Returns response with indentations and line breaks. */
2553
2637
  prettyPrint?: boolean;
2554
2638
  /** 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. */
@@ -2557,9 +2641,10 @@ declare namespace gapi.client {
2557
2641
  upload_protocol?: string;
2558
2642
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2559
2643
  uploadType?: string;
2644
+ /** Request body */
2645
+ resource: GatewaySecurityPolicy;
2560
2646
  }): Request<Operation>;
2561
- /** Gets details of a single ServerTlsPolicy. */
2562
- get(request?: {
2647
+ create(request: {
2563
2648
  /** V1 error format. */
2564
2649
  "$.xgafv"?: string;
2565
2650
  /** OAuth access token. */
@@ -2570,9 +2655,42 @@ declare namespace gapi.client {
2570
2655
  callback?: string;
2571
2656
  /** Selector specifying which fields to include in a partial response. */
2572
2657
  fields?: string;
2658
+ /**
2659
+ * 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,
2660
+ * and should not start with a number. E.g. "gateway_security_policy1".
2661
+ */
2662
+ gatewaySecurityPolicyId?: string;
2573
2663
  /** 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. */
2574
2664
  key?: string;
2575
- /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
2665
+ /** OAuth 2.0 token for the current user. */
2666
+ oauth_token?: string;
2667
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2668
+ parent: string;
2669
+ /** Returns response with indentations and line breaks. */
2670
+ prettyPrint?: boolean;
2671
+ /** 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. */
2672
+ quotaUser?: string;
2673
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2674
+ upload_protocol?: string;
2675
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2676
+ uploadType?: string;
2677
+ },
2678
+ body: GatewaySecurityPolicy): Request<Operation>;
2679
+ /** Deletes a single GatewaySecurityPolicy. */
2680
+ delete(request?: {
2681
+ /** V1 error format. */
2682
+ "$.xgafv"?: string;
2683
+ /** OAuth access token. */
2684
+ access_token?: string;
2685
+ /** Data format for response. */
2686
+ alt?: string;
2687
+ /** JSONP */
2688
+ callback?: string;
2689
+ /** Selector specifying which fields to include in a partial response. */
2690
+ fields?: string;
2691
+ /** 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. */
2692
+ key?: string;
2693
+ /** Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
2576
2694
  name: string;
2577
2695
  /** OAuth 2.0 token for the current user. */
2578
2696
  oauth_token?: string;
@@ -2584,9 +2702,9 @@ declare namespace gapi.client {
2584
2702
  upload_protocol?: string;
2585
2703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2586
2704
  uploadType?: string;
2587
- }): Request<ServerTlsPolicy>;
2588
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2589
- getIamPolicy(request?: {
2705
+ }): Request<Operation>;
2706
+ /** Gets details of a single GatewaySecurityPolicy. */
2707
+ get(request?: {
2590
2708
  /** V1 error format. */
2591
2709
  "$.xgafv"?: string;
2592
2710
  /** OAuth access token. */
@@ -2599,31 +2717,20 @@ declare namespace gapi.client {
2599
2717
  fields?: string;
2600
2718
  /** 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. */
2601
2719
  key?: string;
2720
+ /** Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
2721
+ name: string;
2602
2722
  /** OAuth 2.0 token for the current user. */
2603
2723
  oauth_token?: string;
2604
- /**
2605
- * 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
2606
- * 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
2607
- * 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
2608
- * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
2609
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2610
- */
2611
- "options.requestedPolicyVersion"?: number;
2612
2724
  /** Returns response with indentations and line breaks. */
2613
2725
  prettyPrint?: boolean;
2614
2726
  /** 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. */
2615
2727
  quotaUser?: string;
2616
- /**
2617
- * 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
2618
- * field.
2619
- */
2620
- resource: string;
2621
2728
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2622
2729
  upload_protocol?: string;
2623
2730
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2624
2731
  uploadType?: string;
2625
- }): Request<GoogleIamV1Policy>;
2626
- /** Lists ServerTlsPolicies in a given project and location. */
2732
+ }): Request<GatewaySecurityPolicy>;
2733
+ /** Lists GatewaySecurityPolicies in a given project and location. */
2627
2734
  list(request?: {
2628
2735
  /** V1 error format. */
2629
2736
  "$.xgafv"?: string;
@@ -2639,14 +2746,14 @@ declare namespace gapi.client {
2639
2746
  key?: string;
2640
2747
  /** OAuth 2.0 token for the current user. */
2641
2748
  oauth_token?: string;
2642
- /** Maximum number of ServerTlsPolicies to return per call. */
2749
+ /** Maximum number of GatewaySecurityPolicies to return per call. */
2643
2750
  pageSize?: number;
2644
2751
  /**
2645
- * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
2646
- * the next page of data.
2752
+ * The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system
2753
+ * should return the next page of data.
2647
2754
  */
2648
2755
  pageToken?: string;
2649
- /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
2756
+ /** Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
2650
2757
  parent: string;
2651
2758
  /** Returns response with indentations and line breaks. */
2652
2759
  prettyPrint?: boolean;
@@ -2656,8 +2763,8 @@ declare namespace gapi.client {
2656
2763
  upload_protocol?: string;
2657
2764
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2658
2765
  uploadType?: string;
2659
- }): Request<ListServerTlsPoliciesResponse>;
2660
- /** Updates the parameters of a single ServerTlsPolicy. */
2766
+ }): Request<ListGatewaySecurityPoliciesResponse>;
2767
+ /** Updates the parameters of a single GatewaySecurityPolicy. */
2661
2768
  patch(request: {
2662
2769
  /** V1 error format. */
2663
2770
  "$.xgafv"?: string;
@@ -2671,7 +2778,10 @@ declare namespace gapi.client {
2671
2778
  fields?: string;
2672
2779
  /** 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. */
2673
2780
  key?: string;
2674
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
2781
+ /**
2782
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
2783
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2784
+ */
2675
2785
  name: string;
2676
2786
  /** OAuth 2.0 token for the current user. */
2677
2787
  oauth_token?: string;
@@ -2680,8 +2790,8 @@ declare namespace gapi.client {
2680
2790
  /** 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. */
2681
2791
  quotaUser?: string;
2682
2792
  /**
2683
- * 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
2684
- * 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.
2793
+ * 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
2794
+ * 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.
2685
2795
  */
2686
2796
  updateMask?: string;
2687
2797
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2689,7 +2799,7 @@ declare namespace gapi.client {
2689
2799
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2690
2800
  uploadType?: string;
2691
2801
  /** Request body */
2692
- resource: ServerTlsPolicy;
2802
+ resource: GatewaySecurityPolicy;
2693
2803
  }): Request<Operation>;
2694
2804
  patch(request: {
2695
2805
  /** V1 error format. */
@@ -2704,7 +2814,10 @@ declare namespace gapi.client {
2704
2814
  fields?: string;
2705
2815
  /** 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. */
2706
2816
  key?: string;
2707
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
2817
+ /**
2818
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
2819
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2820
+ */
2708
2821
  name: string;
2709
2822
  /** OAuth 2.0 token for the current user. */
2710
2823
  oauth_token?: string;
@@ -2713,8 +2826,8 @@ declare namespace gapi.client {
2713
2826
  /** 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. */
2714
2827
  quotaUser?: string;
2715
2828
  /**
2716
- * 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
2717
- * 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.
2829
+ * 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
2830
+ * 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.
2718
2831
  */
2719
2832
  updateMask?: string;
2720
2833
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2722,9 +2835,17 @@ declare namespace gapi.client {
2722
2835
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2723
2836
  uploadType?: string;
2724
2837
  },
2725
- body: ServerTlsPolicy): Request<Operation>;
2726
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2727
- setIamPolicy(request: {
2838
+ body: GatewaySecurityPolicy): Request<Operation>;
2839
+ rules: RulesResource;
2840
+ }
2841
+ interface OperationsResource {
2842
+ /**
2843
+ * 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
2844
+ * 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
2845
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
2846
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2847
+ */
2848
+ cancel(request: {
2728
2849
  /** V1 error format. */
2729
2850
  "$.xgafv"?: string;
2730
2851
  /** OAuth access token. */
@@ -2737,28 +2858,22 @@ declare namespace gapi.client {
2737
2858
  fields?: string;
2738
2859
  /** 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. */
2739
2860
  key?: string;
2861
+ /** The name of the operation resource to be cancelled. */
2862
+ name: string;
2740
2863
  /** OAuth 2.0 token for the current user. */
2741
2864
  oauth_token?: string;
2742
2865
  /** Returns response with indentations and line breaks. */
2743
2866
  prettyPrint?: boolean;
2744
2867
  /** 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. */
2745
2868
  quotaUser?: string;
2746
- /**
2747
- * 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
2748
- * field.
2749
- */
2750
- resource: string;
2751
2869
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2752
2870
  upload_protocol?: string;
2753
2871
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2754
2872
  uploadType?: string;
2755
- },
2756
- body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2757
- /**
2758
- * 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
2759
- * 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.
2760
- */
2761
- testIamPermissions(request: {
2873
+ /** Request body */
2874
+ resource: CancelOperationRequest;
2875
+ }): Request<{}>;
2876
+ cancel(request: {
2762
2877
  /** V1 error format. */
2763
2878
  "$.xgafv"?: string;
2764
2879
  /** OAuth access token. */
@@ -2771,23 +2886,663 @@ declare namespace gapi.client {
2771
2886
  fields?: string;
2772
2887
  /** 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. */
2773
2888
  key?: string;
2889
+ /** The name of the operation resource to be cancelled. */
2890
+ name: string;
2774
2891
  /** OAuth 2.0 token for the current user. */
2775
2892
  oauth_token?: string;
2776
2893
  /** Returns response with indentations and line breaks. */
2777
2894
  prettyPrint?: boolean;
2778
2895
  /** 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. */
2779
2896
  quotaUser?: string;
2780
- /**
2781
- * 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
2782
- * this field.
2783
- */
2784
- resource: string;
2785
2897
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2786
2898
  upload_protocol?: string;
2787
2899
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2788
2900
  uploadType?: string;
2789
2901
  },
2790
- body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2902
+ body: CancelOperationRequest): Request<{}>;
2903
+ /**
2904
+ * 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
2905
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2906
+ */
2907
+ delete(request?: {
2908
+ /** V1 error format. */
2909
+ "$.xgafv"?: string;
2910
+ /** OAuth access token. */
2911
+ access_token?: string;
2912
+ /** Data format for response. */
2913
+ alt?: string;
2914
+ /** JSONP */
2915
+ callback?: string;
2916
+ /** Selector specifying which fields to include in a partial response. */
2917
+ fields?: string;
2918
+ /** 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. */
2919
+ key?: string;
2920
+ /** The name of the operation resource to be deleted. */
2921
+ name: string;
2922
+ /** OAuth 2.0 token for the current user. */
2923
+ oauth_token?: string;
2924
+ /** Returns response with indentations and line breaks. */
2925
+ prettyPrint?: boolean;
2926
+ /** 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. */
2927
+ quotaUser?: string;
2928
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2929
+ upload_protocol?: string;
2930
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2931
+ uploadType?: string;
2932
+ }): Request<{}>;
2933
+ /** 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. */
2934
+ get(request?: {
2935
+ /** V1 error format. */
2936
+ "$.xgafv"?: string;
2937
+ /** OAuth access token. */
2938
+ access_token?: string;
2939
+ /** Data format for response. */
2940
+ alt?: string;
2941
+ /** JSONP */
2942
+ callback?: string;
2943
+ /** Selector specifying which fields to include in a partial response. */
2944
+ fields?: string;
2945
+ /** 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. */
2946
+ key?: string;
2947
+ /** The name of the operation resource. */
2948
+ name: string;
2949
+ /** OAuth 2.0 token for the current user. */
2950
+ oauth_token?: string;
2951
+ /** Returns response with indentations and line breaks. */
2952
+ prettyPrint?: boolean;
2953
+ /** 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. */
2954
+ quotaUser?: string;
2955
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2956
+ upload_protocol?: string;
2957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2958
+ uploadType?: string;
2959
+ }): Request<Operation>;
2960
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2961
+ list(request?: {
2962
+ /** V1 error format. */
2963
+ "$.xgafv"?: string;
2964
+ /** OAuth access token. */
2965
+ access_token?: string;
2966
+ /** Data format for response. */
2967
+ alt?: string;
2968
+ /** JSONP */
2969
+ callback?: string;
2970
+ /** Selector specifying which fields to include in a partial response. */
2971
+ fields?: string;
2972
+ /** The standard list filter. */
2973
+ filter?: string;
2974
+ /** 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. */
2975
+ key?: string;
2976
+ /** The name of the operation's parent resource. */
2977
+ name: string;
2978
+ /** OAuth 2.0 token for the current user. */
2979
+ oauth_token?: string;
2980
+ /** The standard list page size. */
2981
+ pageSize?: number;
2982
+ /** The standard list page token. */
2983
+ pageToken?: string;
2984
+ /** Returns response with indentations and line breaks. */
2985
+ prettyPrint?: boolean;
2986
+ /** 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. */
2987
+ quotaUser?: string;
2988
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2989
+ upload_protocol?: string;
2990
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2991
+ uploadType?: string;
2992
+ }): Request<ListOperationsResponse>;
2993
+ }
2994
+ interface ServerTlsPoliciesResource {
2995
+ /** Creates a new ServerTlsPolicy in a given project and location. */
2996
+ create(request: {
2997
+ /** V1 error format. */
2998
+ "$.xgafv"?: string;
2999
+ /** OAuth access token. */
3000
+ access_token?: string;
3001
+ /** Data format for response. */
3002
+ alt?: string;
3003
+ /** JSONP */
3004
+ callback?: string;
3005
+ /** Selector specifying which fields to include in a partial response. */
3006
+ fields?: string;
3007
+ /** 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. */
3008
+ key?: string;
3009
+ /** OAuth 2.0 token for the current user. */
3010
+ oauth_token?: string;
3011
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
3012
+ parent: string;
3013
+ /** Returns response with indentations and line breaks. */
3014
+ prettyPrint?: boolean;
3015
+ /** 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. */
3016
+ quotaUser?: string;
3017
+ /**
3018
+ * 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
3019
+ * should not start with a number. E.g. "server_mtls_policy".
3020
+ */
3021
+ serverTlsPolicyId?: string;
3022
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3023
+ upload_protocol?: string;
3024
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3025
+ uploadType?: string;
3026
+ /** Request body */
3027
+ resource: ServerTlsPolicy;
3028
+ }): Request<Operation>;
3029
+ create(request: {
3030
+ /** V1 error format. */
3031
+ "$.xgafv"?: string;
3032
+ /** OAuth access token. */
3033
+ access_token?: string;
3034
+ /** Data format for response. */
3035
+ alt?: string;
3036
+ /** JSONP */
3037
+ callback?: string;
3038
+ /** Selector specifying which fields to include in a partial response. */
3039
+ fields?: string;
3040
+ /** 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. */
3041
+ key?: string;
3042
+ /** OAuth 2.0 token for the current user. */
3043
+ oauth_token?: string;
3044
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
3045
+ parent: string;
3046
+ /** Returns response with indentations and line breaks. */
3047
+ prettyPrint?: boolean;
3048
+ /** 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. */
3049
+ quotaUser?: string;
3050
+ /**
3051
+ * 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
3052
+ * should not start with a number. E.g. "server_mtls_policy".
3053
+ */
3054
+ serverTlsPolicyId?: string;
3055
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3056
+ upload_protocol?: string;
3057
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3058
+ uploadType?: string;
3059
+ },
3060
+ body: ServerTlsPolicy): Request<Operation>;
3061
+ /** Deletes a single ServerTlsPolicy. */
3062
+ delete(request?: {
3063
+ /** V1 error format. */
3064
+ "$.xgafv"?: string;
3065
+ /** OAuth access token. */
3066
+ access_token?: string;
3067
+ /** Data format for response. */
3068
+ alt?: string;
3069
+ /** JSONP */
3070
+ callback?: string;
3071
+ /** Selector specifying which fields to include in a partial response. */
3072
+ fields?: string;
3073
+ /** 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. */
3074
+ key?: string;
3075
+ /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
3076
+ name: string;
3077
+ /** OAuth 2.0 token for the current user. */
3078
+ oauth_token?: string;
3079
+ /** Returns response with indentations and line breaks. */
3080
+ prettyPrint?: boolean;
3081
+ /** 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. */
3082
+ quotaUser?: string;
3083
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3084
+ upload_protocol?: string;
3085
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3086
+ uploadType?: string;
3087
+ }): Request<Operation>;
3088
+ /** Gets details of a single ServerTlsPolicy. */
3089
+ get(request?: {
3090
+ /** V1 error format. */
3091
+ "$.xgafv"?: string;
3092
+ /** OAuth access token. */
3093
+ access_token?: string;
3094
+ /** Data format for response. */
3095
+ alt?: string;
3096
+ /** JSONP */
3097
+ callback?: string;
3098
+ /** Selector specifying which fields to include in a partial response. */
3099
+ fields?: string;
3100
+ /** 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. */
3101
+ key?: string;
3102
+ /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
3103
+ name: string;
3104
+ /** OAuth 2.0 token for the current user. */
3105
+ oauth_token?: string;
3106
+ /** Returns response with indentations and line breaks. */
3107
+ prettyPrint?: boolean;
3108
+ /** 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. */
3109
+ quotaUser?: string;
3110
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3111
+ upload_protocol?: string;
3112
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3113
+ uploadType?: string;
3114
+ }): Request<ServerTlsPolicy>;
3115
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3116
+ getIamPolicy(request?: {
3117
+ /** V1 error format. */
3118
+ "$.xgafv"?: string;
3119
+ /** OAuth access token. */
3120
+ access_token?: string;
3121
+ /** Data format for response. */
3122
+ alt?: string;
3123
+ /** JSONP */
3124
+ callback?: string;
3125
+ /** Selector specifying which fields to include in a partial response. */
3126
+ fields?: string;
3127
+ /** 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. */
3128
+ key?: string;
3129
+ /** OAuth 2.0 token for the current user. */
3130
+ oauth_token?: string;
3131
+ /**
3132
+ * 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
3133
+ * 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
3134
+ * 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
3135
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
3136
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3137
+ */
3138
+ "options.requestedPolicyVersion"?: number;
3139
+ /** Returns response with indentations and line breaks. */
3140
+ prettyPrint?: boolean;
3141
+ /** 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. */
3142
+ quotaUser?: string;
3143
+ /**
3144
+ * 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
3145
+ * field.
3146
+ */
3147
+ resource: string;
3148
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3149
+ upload_protocol?: string;
3150
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3151
+ uploadType?: string;
3152
+ }): Request<GoogleIamV1Policy>;
3153
+ /** Lists ServerTlsPolicies in a given project and location. */
3154
+ list(request?: {
3155
+ /** V1 error format. */
3156
+ "$.xgafv"?: string;
3157
+ /** OAuth access token. */
3158
+ access_token?: string;
3159
+ /** Data format for response. */
3160
+ alt?: string;
3161
+ /** JSONP */
3162
+ callback?: string;
3163
+ /** Selector specifying which fields to include in a partial response. */
3164
+ fields?: string;
3165
+ /** 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. */
3166
+ key?: string;
3167
+ /** OAuth 2.0 token for the current user. */
3168
+ oauth_token?: string;
3169
+ /** Maximum number of ServerTlsPolicies to return per call. */
3170
+ pageSize?: number;
3171
+ /**
3172
+ * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
3173
+ * the next page of data.
3174
+ */
3175
+ pageToken?: string;
3176
+ /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
3177
+ parent: string;
3178
+ /** Returns response with indentations and line breaks. */
3179
+ prettyPrint?: boolean;
3180
+ /** 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. */
3181
+ quotaUser?: string;
3182
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3183
+ upload_protocol?: string;
3184
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3185
+ uploadType?: string;
3186
+ }): Request<ListServerTlsPoliciesResponse>;
3187
+ /** Updates the parameters of a single ServerTlsPolicy. */
3188
+ patch(request: {
3189
+ /** V1 error format. */
3190
+ "$.xgafv"?: string;
3191
+ /** OAuth access token. */
3192
+ access_token?: string;
3193
+ /** Data format for response. */
3194
+ alt?: string;
3195
+ /** JSONP */
3196
+ callback?: string;
3197
+ /** Selector specifying which fields to include in a partial response. */
3198
+ fields?: string;
3199
+ /** 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. */
3200
+ key?: string;
3201
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
3202
+ name: string;
3203
+ /** OAuth 2.0 token for the current user. */
3204
+ oauth_token?: string;
3205
+ /** Returns response with indentations and line breaks. */
3206
+ prettyPrint?: boolean;
3207
+ /** 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. */
3208
+ quotaUser?: string;
3209
+ /**
3210
+ * 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
3211
+ * 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.
3212
+ */
3213
+ updateMask?: string;
3214
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3215
+ upload_protocol?: string;
3216
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3217
+ uploadType?: string;
3218
+ /** Request body */
3219
+ resource: ServerTlsPolicy;
3220
+ }): Request<Operation>;
3221
+ patch(request: {
3222
+ /** V1 error format. */
3223
+ "$.xgafv"?: string;
3224
+ /** OAuth access token. */
3225
+ access_token?: string;
3226
+ /** Data format for response. */
3227
+ alt?: string;
3228
+ /** JSONP */
3229
+ callback?: string;
3230
+ /** Selector specifying which fields to include in a partial response. */
3231
+ fields?: string;
3232
+ /** 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. */
3233
+ key?: string;
3234
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
3235
+ name: string;
3236
+ /** OAuth 2.0 token for the current user. */
3237
+ oauth_token?: string;
3238
+ /** Returns response with indentations and line breaks. */
3239
+ prettyPrint?: boolean;
3240
+ /** 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. */
3241
+ quotaUser?: string;
3242
+ /**
3243
+ * 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
3244
+ * 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.
3245
+ */
3246
+ updateMask?: string;
3247
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3248
+ upload_protocol?: string;
3249
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3250
+ uploadType?: string;
3251
+ },
3252
+ body: ServerTlsPolicy): Request<Operation>;
3253
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3254
+ setIamPolicy(request: {
3255
+ /** V1 error format. */
3256
+ "$.xgafv"?: string;
3257
+ /** OAuth access token. */
3258
+ access_token?: string;
3259
+ /** Data format for response. */
3260
+ alt?: string;
3261
+ /** JSONP */
3262
+ callback?: string;
3263
+ /** Selector specifying which fields to include in a partial response. */
3264
+ fields?: string;
3265
+ /** 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. */
3266
+ key?: string;
3267
+ /** OAuth 2.0 token for the current user. */
3268
+ oauth_token?: string;
3269
+ /** Returns response with indentations and line breaks. */
3270
+ prettyPrint?: boolean;
3271
+ /** 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. */
3272
+ quotaUser?: string;
3273
+ /**
3274
+ * 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
3275
+ * field.
3276
+ */
3277
+ resource: string;
3278
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3279
+ upload_protocol?: string;
3280
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3281
+ uploadType?: string;
3282
+ },
3283
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
3284
+ /**
3285
+ * 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
3286
+ * 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.
3287
+ */
3288
+ testIamPermissions(request: {
3289
+ /** V1 error format. */
3290
+ "$.xgafv"?: string;
3291
+ /** OAuth access token. */
3292
+ access_token?: string;
3293
+ /** Data format for response. */
3294
+ alt?: string;
3295
+ /** JSONP */
3296
+ callback?: string;
3297
+ /** Selector specifying which fields to include in a partial response. */
3298
+ fields?: string;
3299
+ /** 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. */
3300
+ key?: string;
3301
+ /** OAuth 2.0 token for the current user. */
3302
+ oauth_token?: string;
3303
+ /** Returns response with indentations and line breaks. */
3304
+ prettyPrint?: boolean;
3305
+ /** 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. */
3306
+ quotaUser?: string;
3307
+ /**
3308
+ * 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
3309
+ * this field.
3310
+ */
3311
+ resource: string;
3312
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3313
+ upload_protocol?: string;
3314
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3315
+ uploadType?: string;
3316
+ },
3317
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
3318
+ }
3319
+ interface UrlListsResource {
3320
+ /** Creates a new UrlList in a given project and location. */
3321
+ create(request: {
3322
+ /** V1 error format. */
3323
+ "$.xgafv"?: string;
3324
+ /** OAuth access token. */
3325
+ access_token?: string;
3326
+ /** Data format for response. */
3327
+ alt?: string;
3328
+ /** JSONP */
3329
+ callback?: string;
3330
+ /** Selector specifying which fields to include in a partial response. */
3331
+ fields?: string;
3332
+ /** 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. */
3333
+ key?: string;
3334
+ /** OAuth 2.0 token for the current user. */
3335
+ oauth_token?: string;
3336
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
3337
+ parent: string;
3338
+ /** Returns response with indentations and line breaks. */
3339
+ prettyPrint?: boolean;
3340
+ /** 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. */
3341
+ quotaUser?: string;
3342
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3343
+ upload_protocol?: string;
3344
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3345
+ uploadType?: string;
3346
+ /**
3347
+ * 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
3348
+ * start with a number. E.g. "url_list".
3349
+ */
3350
+ urlListId?: string;
3351
+ /** Request body */
3352
+ resource: UrlList;
3353
+ }): Request<Operation>;
3354
+ create(request: {
3355
+ /** V1 error format. */
3356
+ "$.xgafv"?: string;
3357
+ /** OAuth access token. */
3358
+ access_token?: string;
3359
+ /** Data format for response. */
3360
+ alt?: string;
3361
+ /** JSONP */
3362
+ callback?: string;
3363
+ /** Selector specifying which fields to include in a partial response. */
3364
+ fields?: string;
3365
+ /** 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. */
3366
+ key?: string;
3367
+ /** OAuth 2.0 token for the current user. */
3368
+ oauth_token?: string;
3369
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
3370
+ parent: string;
3371
+ /** Returns response with indentations and line breaks. */
3372
+ prettyPrint?: boolean;
3373
+ /** 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. */
3374
+ quotaUser?: string;
3375
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3376
+ upload_protocol?: string;
3377
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3378
+ uploadType?: string;
3379
+ /**
3380
+ * 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
3381
+ * start with a number. E.g. "url_list".
3382
+ */
3383
+ urlListId?: string;
3384
+ },
3385
+ body: UrlList): Request<Operation>;
3386
+ /** Deletes a single UrlList. */
3387
+ delete(request?: {
3388
+ /** V1 error format. */
3389
+ "$.xgafv"?: string;
3390
+ /** OAuth access token. */
3391
+ access_token?: string;
3392
+ /** Data format for response. */
3393
+ alt?: string;
3394
+ /** JSONP */
3395
+ callback?: string;
3396
+ /** Selector specifying which fields to include in a partial response. */
3397
+ fields?: string;
3398
+ /** 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. */
3399
+ key?: string;
3400
+ /** Required. A name of the UrlList to delete. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
3401
+ name: string;
3402
+ /** OAuth 2.0 token for the current user. */
3403
+ oauth_token?: string;
3404
+ /** Returns response with indentations and line breaks. */
3405
+ prettyPrint?: boolean;
3406
+ /** 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. */
3407
+ quotaUser?: string;
3408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3409
+ upload_protocol?: string;
3410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3411
+ uploadType?: string;
3412
+ }): Request<Operation>;
3413
+ /** Gets details of a single UrlList. */
3414
+ get(request?: {
3415
+ /** V1 error format. */
3416
+ "$.xgafv"?: string;
3417
+ /** OAuth access token. */
3418
+ access_token?: string;
3419
+ /** Data format for response. */
3420
+ alt?: string;
3421
+ /** JSONP */
3422
+ callback?: string;
3423
+ /** Selector specifying which fields to include in a partial response. */
3424
+ fields?: string;
3425
+ /** 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. */
3426
+ key?: string;
3427
+ /** Required. A name of the UrlList to get. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
3428
+ name: string;
3429
+ /** OAuth 2.0 token for the current user. */
3430
+ oauth_token?: string;
3431
+ /** Returns response with indentations and line breaks. */
3432
+ prettyPrint?: boolean;
3433
+ /** 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. */
3434
+ quotaUser?: string;
3435
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3436
+ upload_protocol?: string;
3437
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3438
+ uploadType?: string;
3439
+ }): Request<UrlList>;
3440
+ /** Lists UrlLists in a given project and location. */
3441
+ list(request?: {
3442
+ /** V1 error format. */
3443
+ "$.xgafv"?: string;
3444
+ /** OAuth access token. */
3445
+ access_token?: string;
3446
+ /** Data format for response. */
3447
+ alt?: string;
3448
+ /** JSONP */
3449
+ callback?: string;
3450
+ /** Selector specifying which fields to include in a partial response. */
3451
+ fields?: string;
3452
+ /** 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. */
3453
+ key?: string;
3454
+ /** OAuth 2.0 token for the current user. */
3455
+ oauth_token?: string;
3456
+ /** Maximum number of UrlLists to return per call. */
3457
+ pageSize?: number;
3458
+ /**
3459
+ * 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
3460
+ * data.
3461
+ */
3462
+ pageToken?: string;
3463
+ /** Required. The project and location from which the UrlLists should be listed, specified in the format `projects/{project}/locations/{location}`. */
3464
+ parent: string;
3465
+ /** Returns response with indentations and line breaks. */
3466
+ prettyPrint?: boolean;
3467
+ /** 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. */
3468
+ quotaUser?: string;
3469
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3470
+ upload_protocol?: string;
3471
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3472
+ uploadType?: string;
3473
+ }): Request<ListUrlListsResponse>;
3474
+ /** Updates the parameters of a single UrlList. */
3475
+ patch(request: {
3476
+ /** V1 error format. */
3477
+ "$.xgafv"?: string;
3478
+ /** OAuth access token. */
3479
+ access_token?: string;
3480
+ /** Data format for response. */
3481
+ alt?: string;
3482
+ /** JSONP */
3483
+ callback?: string;
3484
+ /** Selector specifying which fields to include in a partial response. */
3485
+ fields?: string;
3486
+ /** 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. */
3487
+ key?: string;
3488
+ /**
3489
+ * 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
3490
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3491
+ */
3492
+ name: string;
3493
+ /** OAuth 2.0 token for the current user. */
3494
+ oauth_token?: string;
3495
+ /** Returns response with indentations and line breaks. */
3496
+ prettyPrint?: boolean;
3497
+ /** 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. */
3498
+ quotaUser?: string;
3499
+ /**
3500
+ * 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,
3501
+ * 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.
3502
+ */
3503
+ updateMask?: string;
3504
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3505
+ upload_protocol?: string;
3506
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3507
+ uploadType?: string;
3508
+ /** Request body */
3509
+ resource: UrlList;
3510
+ }): Request<Operation>;
3511
+ patch(request: {
3512
+ /** V1 error format. */
3513
+ "$.xgafv"?: string;
3514
+ /** OAuth access token. */
3515
+ access_token?: string;
3516
+ /** Data format for response. */
3517
+ alt?: string;
3518
+ /** JSONP */
3519
+ callback?: string;
3520
+ /** Selector specifying which fields to include in a partial response. */
3521
+ fields?: string;
3522
+ /** 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. */
3523
+ key?: string;
3524
+ /**
3525
+ * 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
3526
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3527
+ */
3528
+ name: string;
3529
+ /** OAuth 2.0 token for the current user. */
3530
+ oauth_token?: string;
3531
+ /** Returns response with indentations and line breaks. */
3532
+ prettyPrint?: boolean;
3533
+ /** 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. */
3534
+ quotaUser?: string;
3535
+ /**
3536
+ * 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,
3537
+ * 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.
3538
+ */
3539
+ updateMask?: string;
3540
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3541
+ upload_protocol?: string;
3542
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3543
+ uploadType?: string;
3544
+ },
3545
+ body: UrlList): Request<Operation>;
2791
3546
  }
2792
3547
  interface LocationsResource {
2793
3548
  /** Gets information about a location. */
@@ -2856,8 +3611,10 @@ declare namespace gapi.client {
2856
3611
  addressGroups: AddressGroupsResource;
2857
3612
  authorizationPolicies: AuthorizationPoliciesResource;
2858
3613
  clientTlsPolicies: ClientTlsPoliciesResource;
3614
+ gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
2859
3615
  operations: OperationsResource;
2860
3616
  serverTlsPolicies: ServerTlsPoliciesResource;
3617
+ urlLists: UrlListsResource;
2861
3618
  }
2862
3619
  interface ProjectsResource {
2863
3620
  locations: LocationsResource;