@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230306 → 0.0.20230316

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 +1139 -110
  2. package/package.json +1 -1
  3. package/tests.ts +160 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230306
12
+ // Revision: 20230316
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -142,6 +142,46 @@ 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
+ /** Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it. */
156
+ tlsInspectionPolicy?: string;
157
+ /** Output only. The timestamp when the resource was updated. */
158
+ updateTime?: string;
159
+ }
160
+ interface GatewaySecurityPolicyRule {
161
+ /** Optional. CEL expression for matching on L7/application level criteria. */
162
+ applicationMatcher?: string;
163
+ /** Required. Profile which tells what the primitive action should be. */
164
+ basicProfile?: string;
165
+ /** Output only. Time when the rule was created. */
166
+ createTime?: string;
167
+ /** Optional. Free-text description of the resource. */
168
+ description?: string;
169
+ /** Required. Whether the rule is enforced. */
170
+ enabled?: boolean;
171
+ /**
172
+ * Required. Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule}
173
+ * rule should match the pattern: (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
174
+ */
175
+ name?: string;
176
+ /** Required. Priority of the rule. Lower number corresponds to higher precedence. */
177
+ priority?: number;
178
+ /** Required. CEL expression for matching on session criteria. */
179
+ sessionMatcher?: string;
180
+ /** Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig. */
181
+ tlsInspectionEnabled?: boolean;
182
+ /** Output only. Time when the rule was updated. */
183
+ updateTime?: string;
184
+ }
145
185
  interface GoogleCloudNetworksecurityV1beta1CertificateProvider {
146
186
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
147
187
  certificateProviderInstance?: CertificateProviderInstance;
@@ -300,6 +340,24 @@ declare namespace gapi.client {
300
340
  */
301
341
  nextPageToken?: string;
302
342
  }
343
+ interface ListGatewaySecurityPoliciesResponse {
344
+ /** List of GatewaySecurityPolicies resources. */
345
+ gatewaySecurityPolicies?: GatewaySecurityPolicy[];
346
+ /**
347
+ * 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
348
+ * 'next_page_token' as 'page_token'.
349
+ */
350
+ nextPageToken?: string;
351
+ }
352
+ interface ListGatewaySecurityPolicyRulesResponse {
353
+ /** List of GatewaySecurityPolicyRule resources. */
354
+ gatewaySecurityPolicyRules?: GatewaySecurityPolicyRule[];
355
+ /**
356
+ * 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
357
+ * 'next_page_token' as 'page_token'.
358
+ */
359
+ nextPageToken?: string;
360
+ }
303
361
  interface ListLocationsResponse {
304
362
  /** A list of locations that matches the specified filter in the request. */
305
363
  locations?: Location[];
@@ -321,6 +379,26 @@ declare namespace gapi.client {
321
379
  /** List of ServerTlsPolicy resources. */
322
380
  serverTlsPolicies?: ServerTlsPolicy[];
323
381
  }
382
+ interface ListTlsInspectionPoliciesResponse {
383
+ /**
384
+ * 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
385
+ * 'next_page_token' as 'page_token'.
386
+ */
387
+ nextPageToken?: string;
388
+ /** List of TlsInspectionPolicies resources. */
389
+ tlsInspectionPolicies?: TlsInspectionPolicy[];
390
+ }
391
+ interface ListUrlListsResponse {
392
+ /**
393
+ * 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
394
+ * `next_page_token` as `page_token`.
395
+ */
396
+ nextPageToken?: string;
397
+ /** Locations that could not be reached. */
398
+ unreachable?: string[];
399
+ /** List of UrlList resources. */
400
+ urlLists?: UrlList[];
401
+ }
324
402
  interface Location {
325
403
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
326
404
  displayName?: string;
@@ -454,6 +532,39 @@ declare namespace gapi.client {
454
532
  */
455
533
  message?: string;
456
534
  }
535
+ interface TlsInspectionPolicy {
536
+ /**
537
+ * Required. A CA pool resource used to issue interception certificates. The CA pool string has a relative resource path following the form
538
+ * "projects/{project}/locations/{location}/caPools/{ca_pool}".
539
+ */
540
+ caPool?: string;
541
+ /** Output only. The timestamp when the resource was created. */
542
+ createTime?: string;
543
+ /** Optional. Free-text description of the resource. */
544
+ description?: string;
545
+ /**
546
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
547
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
548
+ */
549
+ name?: string;
550
+ /** Output only. The timestamp when the resource was updated. */
551
+ updateTime?: string;
552
+ }
553
+ interface UrlList {
554
+ /** Output only. Time when the security policy was created. */
555
+ createTime?: string;
556
+ /** Optional. Free-text description of the resource. */
557
+ description?: string;
558
+ /**
559
+ * 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
560
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
561
+ */
562
+ name?: string;
563
+ /** Output only. Time when the security policy was updated. */
564
+ updateTime?: string;
565
+ /** Required. FQDNs and URLs. */
566
+ values?: string[];
567
+ }
457
568
  interface ValidationCA {
458
569
  /** The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information. */
459
570
  certificateProviderInstance?: CertificateProviderInstance;
@@ -2301,14 +2412,9 @@ declare namespace gapi.client {
2301
2412
  },
2302
2413
  body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2303
2414
  }
2304
- interface OperationsResource {
2305
- /**
2306
- * 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
2307
- * 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
2308
- * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
2309
- * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2310
- */
2311
- cancel(request: {
2415
+ interface RulesResource {
2416
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
2417
+ create(request: {
2312
2418
  /** V1 error format. */
2313
2419
  "$.xgafv"?: string;
2314
2420
  /** OAuth access token. */
@@ -2319,12 +2425,14 @@ declare namespace gapi.client {
2319
2425
  callback?: string;
2320
2426
  /** Selector specifying which fields to include in a partial response. */
2321
2427
  fields?: string;
2428
+ /** 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-/. */
2429
+ gatewaySecurityPolicyRuleId?: string;
2322
2430
  /** 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. */
2323
2431
  key?: string;
2324
- /** The name of the operation resource to be cancelled. */
2325
- name: string;
2326
2432
  /** OAuth 2.0 token for the current user. */
2327
2433
  oauth_token?: string;
2434
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
2435
+ parent: string;
2328
2436
  /** Returns response with indentations and line breaks. */
2329
2437
  prettyPrint?: boolean;
2330
2438
  /** 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. */
@@ -2334,9 +2442,9 @@ declare namespace gapi.client {
2334
2442
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2335
2443
  uploadType?: string;
2336
2444
  /** Request body */
2337
- resource: CancelOperationRequest;
2338
- }): Request<{}>;
2339
- cancel(request: {
2445
+ resource: GatewaySecurityPolicyRule;
2446
+ }): Request<Operation>;
2447
+ create(request: {
2340
2448
  /** V1 error format. */
2341
2449
  "$.xgafv"?: string;
2342
2450
  /** OAuth access token. */
@@ -2347,12 +2455,14 @@ declare namespace gapi.client {
2347
2455
  callback?: string;
2348
2456
  /** Selector specifying which fields to include in a partial response. */
2349
2457
  fields?: string;
2458
+ /** 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-/. */
2459
+ gatewaySecurityPolicyRuleId?: string;
2350
2460
  /** 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. */
2351
2461
  key?: string;
2352
- /** The name of the operation resource to be cancelled. */
2353
- name: string;
2354
2462
  /** OAuth 2.0 token for the current user. */
2355
2463
  oauth_token?: string;
2464
+ /** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
2465
+ parent: string;
2356
2466
  /** Returns response with indentations and line breaks. */
2357
2467
  prettyPrint?: boolean;
2358
2468
  /** 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. */
@@ -2362,11 +2472,8 @@ declare namespace gapi.client {
2362
2472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2363
2473
  uploadType?: string;
2364
2474
  },
2365
- body: CancelOperationRequest): Request<{}>;
2366
- /**
2367
- * 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
2368
- * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2369
- */
2475
+ body: GatewaySecurityPolicyRule): Request<Operation>;
2476
+ /** Deletes a single GatewaySecurityPolicyRule. */
2370
2477
  delete(request?: {
2371
2478
  /** V1 error format. */
2372
2479
  "$.xgafv"?: string;
@@ -2380,7 +2487,10 @@ declare namespace gapi.client {
2380
2487
  fields?: string;
2381
2488
  /** 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. */
2382
2489
  key?: string;
2383
- /** The name of the operation resource to be deleted. */
2490
+ /**
2491
+ * Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format
2492
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`.
2493
+ */
2384
2494
  name: string;
2385
2495
  /** OAuth 2.0 token for the current user. */
2386
2496
  oauth_token?: string;
@@ -2392,8 +2502,8 @@ declare namespace gapi.client {
2392
2502
  upload_protocol?: string;
2393
2503
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2394
2504
  uploadType?: string;
2395
- }): Request<{}>;
2396
- /** 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. */
2505
+ }): Request<Operation>;
2506
+ /** Gets details of a single GatewaySecurityPolicyRule. */
2397
2507
  get(request?: {
2398
2508
  /** V1 error format. */
2399
2509
  "$.xgafv"?: string;
@@ -2407,7 +2517,7 @@ declare namespace gapi.client {
2407
2517
  fields?: string;
2408
2518
  /** 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. */
2409
2519
  key?: string;
2410
- /** The name of the operation resource. */
2520
+ /** Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies/*‍/rules/* */
2411
2521
  name: string;
2412
2522
  /** OAuth 2.0 token for the current user. */
2413
2523
  oauth_token?: string;
@@ -2419,8 +2529,8 @@ declare namespace gapi.client {
2419
2529
  upload_protocol?: string;
2420
2530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2421
2531
  uploadType?: string;
2422
- }): Request<Operation>;
2423
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2532
+ }): Request<GatewaySecurityPolicyRule>;
2533
+ /** Lists GatewaySecurityPolicyRules in a given project and location. */
2424
2534
  list(request?: {
2425
2535
  /** V1 error format. */
2426
2536
  "$.xgafv"?: string;
@@ -2432,18 +2542,22 @@ declare namespace gapi.client {
2432
2542
  callback?: string;
2433
2543
  /** Selector specifying which fields to include in a partial response. */
2434
2544
  fields?: string;
2435
- /** The standard list filter. */
2436
- filter?: string;
2437
2545
  /** 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. */
2438
2546
  key?: string;
2439
- /** The name of the operation's parent resource. */
2440
- name: string;
2441
2547
  /** OAuth 2.0 token for the current user. */
2442
2548
  oauth_token?: string;
2443
- /** The standard list page size. */
2549
+ /** Maximum number of GatewaySecurityPolicyRules to return per call. */
2444
2550
  pageSize?: number;
2445
- /** The standard list page token. */
2551
+ /**
2552
+ * The value returned by the last 'ListGatewaySecurityPolicyRulesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicyRules' call, and that the
2553
+ * system should return the next page of data.
2554
+ */
2446
2555
  pageToken?: string;
2556
+ /**
2557
+ * Required. The project, location and GatewaySecurityPolicy from which the GatewaySecurityPolicyRules should be listed, specified in the format
2558
+ * `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}`.
2559
+ */
2560
+ parent: string;
2447
2561
  /** Returns response with indentations and line breaks. */
2448
2562
  prettyPrint?: boolean;
2449
2563
  /** 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. */
@@ -2452,11 +2566,9 @@ declare namespace gapi.client {
2452
2566
  upload_protocol?: string;
2453
2567
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2454
2568
  uploadType?: string;
2455
- }): Request<ListOperationsResponse>;
2456
- }
2457
- interface ServerTlsPoliciesResource {
2458
- /** Creates a new ServerTlsPolicy in a given project and location. */
2459
- create(request: {
2569
+ }): Request<ListGatewaySecurityPolicyRulesResponse>;
2570
+ /** Updates the parameters of a single GatewaySecurityPolicyRule. */
2571
+ patch(request: {
2460
2572
  /** V1 error format. */
2461
2573
  "$.xgafv"?: string;
2462
2574
  /** OAuth access token. */
@@ -2469,27 +2581,30 @@ declare namespace gapi.client {
2469
2581
  fields?: string;
2470
2582
  /** 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. */
2471
2583
  key?: string;
2584
+ /**
2585
+ * Required. Immutable. Name of the resource. ame is the full resource name so
2586
+ * 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])?$).
2587
+ */
2588
+ name: string;
2472
2589
  /** OAuth 2.0 token for the current user. */
2473
2590
  oauth_token?: string;
2474
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
2475
- parent: string;
2476
2591
  /** Returns response with indentations and line breaks. */
2477
2592
  prettyPrint?: boolean;
2478
2593
  /** 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
2594
  quotaUser?: string;
2480
2595
  /**
2481
- * 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
2482
- * should not start with a number. E.g. "server_mtls_policy".
2596
+ * 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
2597
+ * 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.
2483
2598
  */
2484
- serverTlsPolicyId?: string;
2599
+ updateMask?: string;
2485
2600
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2486
2601
  upload_protocol?: string;
2487
2602
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2488
2603
  uploadType?: string;
2489
2604
  /** Request body */
2490
- resource: ServerTlsPolicy;
2605
+ resource: GatewaySecurityPolicyRule;
2491
2606
  }): Request<Operation>;
2492
- create(request: {
2607
+ patch(request: {
2493
2608
  /** V1 error format. */
2494
2609
  "$.xgafv"?: string;
2495
2610
  /** OAuth access token. */
@@ -2502,27 +2617,32 @@ declare namespace gapi.client {
2502
2617
  fields?: string;
2503
2618
  /** 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. */
2504
2619
  key?: string;
2620
+ /**
2621
+ * Required. Immutable. Name of the resource. ame is the full resource name so
2622
+ * 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])?$).
2623
+ */
2624
+ name: string;
2505
2625
  /** OAuth 2.0 token for the current user. */
2506
2626
  oauth_token?: string;
2507
- /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
2508
- parent: string;
2509
2627
  /** Returns response with indentations and line breaks. */
2510
2628
  prettyPrint?: boolean;
2511
2629
  /** 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. */
2512
2630
  quotaUser?: string;
2513
2631
  /**
2514
- * 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
2515
- * should not start with a number. E.g. "server_mtls_policy".
2632
+ * 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
2633
+ * 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.
2516
2634
  */
2517
- serverTlsPolicyId?: string;
2635
+ updateMask?: string;
2518
2636
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2519
2637
  upload_protocol?: string;
2520
2638
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2521
2639
  uploadType?: string;
2522
2640
  },
2523
- body: ServerTlsPolicy): Request<Operation>;
2524
- /** Deletes a single ServerTlsPolicy. */
2525
- delete(request?: {
2641
+ body: GatewaySecurityPolicyRule): Request<Operation>;
2642
+ }
2643
+ interface GatewaySecurityPoliciesResource {
2644
+ /** Creates a new GatewaySecurityPolicy in a given project and location. */
2645
+ create(request: {
2526
2646
  /** V1 error format. */
2527
2647
  "$.xgafv"?: string;
2528
2648
  /** OAuth access token. */
@@ -2533,12 +2653,17 @@ declare namespace gapi.client {
2533
2653
  callback?: string;
2534
2654
  /** Selector specifying which fields to include in a partial response. */
2535
2655
  fields?: string;
2656
+ /**
2657
+ * 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,
2658
+ * and should not start with a number. E.g. "gateway_security_policy1".
2659
+ */
2660
+ gatewaySecurityPolicyId?: string;
2536
2661
  /** 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. */
2537
2662
  key?: string;
2538
- /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
2539
- name: string;
2540
2663
  /** OAuth 2.0 token for the current user. */
2541
2664
  oauth_token?: string;
2665
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2666
+ parent: string;
2542
2667
  /** Returns response with indentations and line breaks. */
2543
2668
  prettyPrint?: boolean;
2544
2669
  /** 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. */
@@ -2547,9 +2672,10 @@ declare namespace gapi.client {
2547
2672
  upload_protocol?: string;
2548
2673
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2549
2674
  uploadType?: string;
2675
+ /** Request body */
2676
+ resource: GatewaySecurityPolicy;
2550
2677
  }): Request<Operation>;
2551
- /** Gets details of a single ServerTlsPolicy. */
2552
- get(request?: {
2678
+ create(request: {
2553
2679
  /** V1 error format. */
2554
2680
  "$.xgafv"?: string;
2555
2681
  /** OAuth access token. */
@@ -2560,9 +2686,42 @@ declare namespace gapi.client {
2560
2686
  callback?: string;
2561
2687
  /** Selector specifying which fields to include in a partial response. */
2562
2688
  fields?: string;
2689
+ /**
2690
+ * 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,
2691
+ * and should not start with a number. E.g. "gateway_security_policy1".
2692
+ */
2693
+ gatewaySecurityPolicyId?: string;
2563
2694
  /** 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. */
2564
2695
  key?: string;
2565
- /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
2696
+ /** OAuth 2.0 token for the current user. */
2697
+ oauth_token?: string;
2698
+ /** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
2699
+ parent: string;
2700
+ /** Returns response with indentations and line breaks. */
2701
+ prettyPrint?: boolean;
2702
+ /** 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. */
2703
+ quotaUser?: string;
2704
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2705
+ upload_protocol?: string;
2706
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2707
+ uploadType?: string;
2708
+ },
2709
+ body: GatewaySecurityPolicy): Request<Operation>;
2710
+ /** Deletes a single GatewaySecurityPolicy. */
2711
+ delete(request?: {
2712
+ /** V1 error format. */
2713
+ "$.xgafv"?: string;
2714
+ /** OAuth access token. */
2715
+ access_token?: string;
2716
+ /** Data format for response. */
2717
+ alt?: string;
2718
+ /** JSONP */
2719
+ callback?: string;
2720
+ /** Selector specifying which fields to include in a partial response. */
2721
+ fields?: string;
2722
+ /** 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. */
2723
+ key?: string;
2724
+ /** Required. A name of the GatewaySecurityPolicy to delete. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
2566
2725
  name: string;
2567
2726
  /** OAuth 2.0 token for the current user. */
2568
2727
  oauth_token?: string;
@@ -2574,9 +2733,9 @@ declare namespace gapi.client {
2574
2733
  upload_protocol?: string;
2575
2734
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2576
2735
  uploadType?: string;
2577
- }): Request<ServerTlsPolicy>;
2578
- /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2579
- getIamPolicy(request?: {
2736
+ }): Request<Operation>;
2737
+ /** Gets details of a single GatewaySecurityPolicy. */
2738
+ get(request?: {
2580
2739
  /** V1 error format. */
2581
2740
  "$.xgafv"?: string;
2582
2741
  /** OAuth access token. */
@@ -2589,31 +2748,20 @@ declare namespace gapi.client {
2589
2748
  fields?: string;
2590
2749
  /** 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. */
2591
2750
  key?: string;
2751
+ /** Required. A name of the GatewaySecurityPolicy to get. Must be in the format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`. */
2752
+ name: string;
2592
2753
  /** OAuth 2.0 token for the current user. */
2593
2754
  oauth_token?: string;
2594
- /**
2595
- * 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
2596
- * 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
2597
- * 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
2598
- * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
2599
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2600
- */
2601
- "options.requestedPolicyVersion"?: number;
2602
2755
  /** Returns response with indentations and line breaks. */
2603
2756
  prettyPrint?: boolean;
2604
2757
  /** 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. */
2605
2758
  quotaUser?: string;
2606
- /**
2607
- * 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
2608
- * field.
2609
- */
2610
- resource: string;
2611
2759
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2612
2760
  upload_protocol?: string;
2613
2761
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2614
2762
  uploadType?: string;
2615
- }): Request<GoogleIamV1Policy>;
2616
- /** Lists ServerTlsPolicies in a given project and location. */
2763
+ }): Request<GatewaySecurityPolicy>;
2764
+ /** Lists GatewaySecurityPolicies in a given project and location. */
2617
2765
  list(request?: {
2618
2766
  /** V1 error format. */
2619
2767
  "$.xgafv"?: string;
@@ -2629,14 +2777,14 @@ declare namespace gapi.client {
2629
2777
  key?: string;
2630
2778
  /** OAuth 2.0 token for the current user. */
2631
2779
  oauth_token?: string;
2632
- /** Maximum number of ServerTlsPolicies to return per call. */
2780
+ /** Maximum number of GatewaySecurityPolicies to return per call. */
2633
2781
  pageSize?: number;
2634
2782
  /**
2635
- * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
2636
- * the next page of data.
2783
+ * The value returned by the last 'ListGatewaySecurityPoliciesResponse' Indicates that this is a continuation of a prior 'ListGatewaySecurityPolicies' call, and that the system
2784
+ * should return the next page of data.
2637
2785
  */
2638
2786
  pageToken?: string;
2639
- /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
2787
+ /** Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
2640
2788
  parent: string;
2641
2789
  /** Returns response with indentations and line breaks. */
2642
2790
  prettyPrint?: boolean;
@@ -2646,8 +2794,8 @@ declare namespace gapi.client {
2646
2794
  upload_protocol?: string;
2647
2795
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2648
2796
  uploadType?: string;
2649
- }): Request<ListServerTlsPoliciesResponse>;
2650
- /** Updates the parameters of a single ServerTlsPolicy. */
2797
+ }): Request<ListGatewaySecurityPoliciesResponse>;
2798
+ /** Updates the parameters of a single GatewaySecurityPolicy. */
2651
2799
  patch(request: {
2652
2800
  /** V1 error format. */
2653
2801
  "$.xgafv"?: string;
@@ -2661,7 +2809,10 @@ declare namespace gapi.client {
2661
2809
  fields?: string;
2662
2810
  /** 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. */
2663
2811
  key?: string;
2664
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
2812
+ /**
2813
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
2814
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2815
+ */
2665
2816
  name: string;
2666
2817
  /** OAuth 2.0 token for the current user. */
2667
2818
  oauth_token?: string;
@@ -2670,8 +2821,8 @@ declare namespace gapi.client {
2670
2821
  /** 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. */
2671
2822
  quotaUser?: string;
2672
2823
  /**
2673
- * 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
2674
- * 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.
2824
+ * 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
2825
+ * 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.
2675
2826
  */
2676
2827
  updateMask?: string;
2677
2828
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2679,7 +2830,7 @@ declare namespace gapi.client {
2679
2830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2680
2831
  uploadType?: string;
2681
2832
  /** Request body */
2682
- resource: ServerTlsPolicy;
2833
+ resource: GatewaySecurityPolicy;
2683
2834
  }): Request<Operation>;
2684
2835
  patch(request: {
2685
2836
  /** V1 error format. */
@@ -2694,7 +2845,10 @@ declare namespace gapi.client {
2694
2845
  fields?: string;
2695
2846
  /** 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. */
2696
2847
  key?: string;
2697
- /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
2848
+ /**
2849
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should
2850
+ * match the pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2851
+ */
2698
2852
  name: string;
2699
2853
  /** OAuth 2.0 token for the current user. */
2700
2854
  oauth_token?: string;
@@ -2703,8 +2857,8 @@ declare namespace gapi.client {
2703
2857
  /** 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. */
2704
2858
  quotaUser?: string;
2705
2859
  /**
2706
- * 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
2707
- * 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.
2860
+ * 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
2861
+ * 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.
2708
2862
  */
2709
2863
  updateMask?: string;
2710
2864
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2712,9 +2866,17 @@ declare namespace gapi.client {
2712
2866
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2713
2867
  uploadType?: string;
2714
2868
  },
2715
- body: ServerTlsPolicy): Request<Operation>;
2716
- /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
2717
- setIamPolicy(request: {
2869
+ body: GatewaySecurityPolicy): Request<Operation>;
2870
+ rules: RulesResource;
2871
+ }
2872
+ interface OperationsResource {
2873
+ /**
2874
+ * 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
2875
+ * 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
2876
+ * operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
2877
+ * google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
2878
+ */
2879
+ cancel(request: {
2718
2880
  /** V1 error format. */
2719
2881
  "$.xgafv"?: string;
2720
2882
  /** OAuth access token. */
@@ -2727,28 +2889,22 @@ declare namespace gapi.client {
2727
2889
  fields?: string;
2728
2890
  /** 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. */
2729
2891
  key?: string;
2892
+ /** The name of the operation resource to be cancelled. */
2893
+ name: string;
2730
2894
  /** OAuth 2.0 token for the current user. */
2731
2895
  oauth_token?: string;
2732
2896
  /** Returns response with indentations and line breaks. */
2733
2897
  prettyPrint?: boolean;
2734
2898
  /** 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. */
2735
2899
  quotaUser?: string;
2736
- /**
2737
- * 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
2738
- * field.
2739
- */
2740
- resource: string;
2741
2900
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2742
2901
  upload_protocol?: string;
2743
2902
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2744
2903
  uploadType?: string;
2745
- },
2746
- body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
2747
- /**
2748
- * 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
2749
- * 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.
2750
- */
2751
- testIamPermissions(request: {
2904
+ /** Request body */
2905
+ resource: CancelOperationRequest;
2906
+ }): Request<{}>;
2907
+ cancel(request: {
2752
2908
  /** V1 error format. */
2753
2909
  "$.xgafv"?: string;
2754
2910
  /** OAuth access token. */
@@ -2761,23 +2917,893 @@ declare namespace gapi.client {
2761
2917
  fields?: string;
2762
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. */
2763
2919
  key?: string;
2920
+ /** The name of the operation resource to be cancelled. */
2921
+ name: string;
2764
2922
  /** OAuth 2.0 token for the current user. */
2765
2923
  oauth_token?: string;
2766
2924
  /** Returns response with indentations and line breaks. */
2767
2925
  prettyPrint?: boolean;
2768
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. */
2769
2927
  quotaUser?: string;
2770
- /**
2771
- * 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
2772
- * this field.
2773
- */
2774
- resource: string;
2775
2928
  /** Upload protocol for media (e.g. "raw", "multipart"). */
2776
2929
  upload_protocol?: string;
2777
2930
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2778
2931
  uploadType?: string;
2779
2932
  },
2780
- body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
2933
+ body: CancelOperationRequest): Request<{}>;
2934
+ /**
2935
+ * 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
2936
+ * support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2937
+ */
2938
+ delete(request?: {
2939
+ /** V1 error format. */
2940
+ "$.xgafv"?: string;
2941
+ /** OAuth access token. */
2942
+ access_token?: string;
2943
+ /** Data format for response. */
2944
+ alt?: string;
2945
+ /** JSONP */
2946
+ callback?: string;
2947
+ /** Selector specifying which fields to include in a partial response. */
2948
+ fields?: string;
2949
+ /** 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. */
2950
+ key?: string;
2951
+ /** The name of the operation resource to be deleted. */
2952
+ name: string;
2953
+ /** OAuth 2.0 token for the current user. */
2954
+ oauth_token?: string;
2955
+ /** Returns response with indentations and line breaks. */
2956
+ prettyPrint?: boolean;
2957
+ /** 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. */
2958
+ quotaUser?: string;
2959
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2960
+ upload_protocol?: string;
2961
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2962
+ uploadType?: string;
2963
+ }): Request<{}>;
2964
+ /** 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. */
2965
+ get(request?: {
2966
+ /** V1 error format. */
2967
+ "$.xgafv"?: string;
2968
+ /** OAuth access token. */
2969
+ access_token?: string;
2970
+ /** Data format for response. */
2971
+ alt?: string;
2972
+ /** JSONP */
2973
+ callback?: string;
2974
+ /** Selector specifying which fields to include in a partial response. */
2975
+ fields?: string;
2976
+ /** 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. */
2977
+ key?: string;
2978
+ /** The name of the operation resource. */
2979
+ name: string;
2980
+ /** OAuth 2.0 token for the current user. */
2981
+ oauth_token?: string;
2982
+ /** Returns response with indentations and line breaks. */
2983
+ prettyPrint?: boolean;
2984
+ /** 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. */
2985
+ quotaUser?: string;
2986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2987
+ upload_protocol?: string;
2988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2989
+ uploadType?: string;
2990
+ }): Request<Operation>;
2991
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2992
+ list(request?: {
2993
+ /** V1 error format. */
2994
+ "$.xgafv"?: string;
2995
+ /** OAuth access token. */
2996
+ access_token?: string;
2997
+ /** Data format for response. */
2998
+ alt?: string;
2999
+ /** JSONP */
3000
+ callback?: string;
3001
+ /** Selector specifying which fields to include in a partial response. */
3002
+ fields?: string;
3003
+ /** The standard list filter. */
3004
+ filter?: string;
3005
+ /** 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. */
3006
+ key?: string;
3007
+ /** The name of the operation's parent resource. */
3008
+ name: string;
3009
+ /** OAuth 2.0 token for the current user. */
3010
+ oauth_token?: string;
3011
+ /** The standard list page size. */
3012
+ pageSize?: number;
3013
+ /** The standard list page token. */
3014
+ pageToken?: string;
3015
+ /** Returns response with indentations and line breaks. */
3016
+ prettyPrint?: boolean;
3017
+ /** 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. */
3018
+ quotaUser?: string;
3019
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3020
+ upload_protocol?: string;
3021
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3022
+ uploadType?: string;
3023
+ }): Request<ListOperationsResponse>;
3024
+ }
3025
+ interface ServerTlsPoliciesResource {
3026
+ /** Creates a new ServerTlsPolicy in a given project and location. */
3027
+ create(request: {
3028
+ /** V1 error format. */
3029
+ "$.xgafv"?: string;
3030
+ /** OAuth access token. */
3031
+ access_token?: string;
3032
+ /** Data format for response. */
3033
+ alt?: string;
3034
+ /** JSONP */
3035
+ callback?: string;
3036
+ /** Selector specifying which fields to include in a partial response. */
3037
+ fields?: string;
3038
+ /** 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. */
3039
+ key?: string;
3040
+ /** OAuth 2.0 token for the current user. */
3041
+ oauth_token?: string;
3042
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
3043
+ parent: string;
3044
+ /** Returns response with indentations and line breaks. */
3045
+ prettyPrint?: boolean;
3046
+ /** 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. */
3047
+ quotaUser?: string;
3048
+ /**
3049
+ * 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
3050
+ * should not start with a number. E.g. "server_mtls_policy".
3051
+ */
3052
+ serverTlsPolicyId?: string;
3053
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3054
+ upload_protocol?: string;
3055
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3056
+ uploadType?: string;
3057
+ /** Request body */
3058
+ resource: ServerTlsPolicy;
3059
+ }): Request<Operation>;
3060
+ create(request: {
3061
+ /** V1 error format. */
3062
+ "$.xgafv"?: string;
3063
+ /** OAuth access token. */
3064
+ access_token?: string;
3065
+ /** Data format for response. */
3066
+ alt?: string;
3067
+ /** JSONP */
3068
+ callback?: string;
3069
+ /** Selector specifying which fields to include in a partial response. */
3070
+ fields?: string;
3071
+ /** 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. */
3072
+ key?: string;
3073
+ /** OAuth 2.0 token for the current user. */
3074
+ oauth_token?: string;
3075
+ /** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*‍/locations/{location}`. */
3076
+ parent: string;
3077
+ /** Returns response with indentations and line breaks. */
3078
+ prettyPrint?: boolean;
3079
+ /** 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. */
3080
+ quotaUser?: string;
3081
+ /**
3082
+ * 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
3083
+ * should not start with a number. E.g. "server_mtls_policy".
3084
+ */
3085
+ serverTlsPolicyId?: string;
3086
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3087
+ upload_protocol?: string;
3088
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3089
+ uploadType?: string;
3090
+ },
3091
+ body: ServerTlsPolicy): Request<Operation>;
3092
+ /** Deletes a single ServerTlsPolicy. */
3093
+ delete(request?: {
3094
+ /** V1 error format. */
3095
+ "$.xgafv"?: string;
3096
+ /** OAuth access token. */
3097
+ access_token?: string;
3098
+ /** Data format for response. */
3099
+ alt?: string;
3100
+ /** JSONP */
3101
+ callback?: string;
3102
+ /** Selector specifying which fields to include in a partial response. */
3103
+ fields?: string;
3104
+ /** 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. */
3105
+ key?: string;
3106
+ /** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
3107
+ name: string;
3108
+ /** OAuth 2.0 token for the current user. */
3109
+ oauth_token?: string;
3110
+ /** Returns response with indentations and line breaks. */
3111
+ prettyPrint?: boolean;
3112
+ /** 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. */
3113
+ quotaUser?: string;
3114
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3115
+ upload_protocol?: string;
3116
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3117
+ uploadType?: string;
3118
+ }): Request<Operation>;
3119
+ /** Gets details of a single ServerTlsPolicy. */
3120
+ get(request?: {
3121
+ /** V1 error format. */
3122
+ "$.xgafv"?: string;
3123
+ /** OAuth access token. */
3124
+ access_token?: string;
3125
+ /** Data format for response. */
3126
+ alt?: string;
3127
+ /** JSONP */
3128
+ callback?: string;
3129
+ /** Selector specifying which fields to include in a partial response. */
3130
+ fields?: string;
3131
+ /** 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. */
3132
+ key?: string;
3133
+ /** Required. A name of the ServerTlsPolicy to get. Must be in the format `projects/*‍/locations/{location}/serverTlsPolicies/*`. */
3134
+ name: string;
3135
+ /** OAuth 2.0 token for the current user. */
3136
+ oauth_token?: string;
3137
+ /** Returns response with indentations and line breaks. */
3138
+ prettyPrint?: boolean;
3139
+ /** 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. */
3140
+ quotaUser?: string;
3141
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3142
+ upload_protocol?: string;
3143
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3144
+ uploadType?: string;
3145
+ }): Request<ServerTlsPolicy>;
3146
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3147
+ getIamPolicy(request?: {
3148
+ /** V1 error format. */
3149
+ "$.xgafv"?: string;
3150
+ /** OAuth access token. */
3151
+ access_token?: string;
3152
+ /** Data format for response. */
3153
+ alt?: string;
3154
+ /** JSONP */
3155
+ callback?: string;
3156
+ /** Selector specifying which fields to include in a partial response. */
3157
+ fields?: string;
3158
+ /** 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. */
3159
+ key?: string;
3160
+ /** OAuth 2.0 token for the current user. */
3161
+ oauth_token?: string;
3162
+ /**
3163
+ * 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
3164
+ * 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
3165
+ * 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
3166
+ * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
3167
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3168
+ */
3169
+ "options.requestedPolicyVersion"?: number;
3170
+ /** Returns response with indentations and line breaks. */
3171
+ prettyPrint?: boolean;
3172
+ /** 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. */
3173
+ quotaUser?: string;
3174
+ /**
3175
+ * 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
3176
+ * field.
3177
+ */
3178
+ resource: string;
3179
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3180
+ upload_protocol?: string;
3181
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3182
+ uploadType?: string;
3183
+ }): Request<GoogleIamV1Policy>;
3184
+ /** Lists ServerTlsPolicies in a given project and location. */
3185
+ list(request?: {
3186
+ /** V1 error format. */
3187
+ "$.xgafv"?: string;
3188
+ /** OAuth access token. */
3189
+ access_token?: string;
3190
+ /** Data format for response. */
3191
+ alt?: string;
3192
+ /** JSONP */
3193
+ callback?: string;
3194
+ /** Selector specifying which fields to include in a partial response. */
3195
+ fields?: string;
3196
+ /** 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. */
3197
+ key?: string;
3198
+ /** OAuth 2.0 token for the current user. */
3199
+ oauth_token?: string;
3200
+ /** Maximum number of ServerTlsPolicies to return per call. */
3201
+ pageSize?: number;
3202
+ /**
3203
+ * The value returned by the last `ListServerTlsPoliciesResponse` Indicates that this is a continuation of a prior `ListServerTlsPolicies` call, and that the system should return
3204
+ * the next page of data.
3205
+ */
3206
+ pageToken?: string;
3207
+ /** Required. The project and location from which the ServerTlsPolicies should be listed, specified in the format `projects/*‍/locations/{location}`. */
3208
+ parent: string;
3209
+ /** Returns response with indentations and line breaks. */
3210
+ prettyPrint?: boolean;
3211
+ /** 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. */
3212
+ quotaUser?: string;
3213
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3214
+ upload_protocol?: string;
3215
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3216
+ uploadType?: string;
3217
+ }): Request<ListServerTlsPoliciesResponse>;
3218
+ /** Updates the parameters of a single ServerTlsPolicy. */
3219
+ patch(request: {
3220
+ /** V1 error format. */
3221
+ "$.xgafv"?: string;
3222
+ /** OAuth access token. */
3223
+ access_token?: string;
3224
+ /** Data format for response. */
3225
+ alt?: string;
3226
+ /** JSONP */
3227
+ callback?: string;
3228
+ /** Selector specifying which fields to include in a partial response. */
3229
+ fields?: string;
3230
+ /** 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. */
3231
+ key?: string;
3232
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
3233
+ name: string;
3234
+ /** OAuth 2.0 token for the current user. */
3235
+ oauth_token?: string;
3236
+ /** Returns response with indentations and line breaks. */
3237
+ prettyPrint?: boolean;
3238
+ /** 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. */
3239
+ quotaUser?: string;
3240
+ /**
3241
+ * 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
3242
+ * 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.
3243
+ */
3244
+ updateMask?: string;
3245
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3246
+ upload_protocol?: string;
3247
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3248
+ uploadType?: string;
3249
+ /** Request body */
3250
+ resource: ServerTlsPolicy;
3251
+ }): Request<Operation>;
3252
+ patch(request: {
3253
+ /** V1 error format. */
3254
+ "$.xgafv"?: string;
3255
+ /** OAuth access token. */
3256
+ access_token?: string;
3257
+ /** Data format for response. */
3258
+ alt?: string;
3259
+ /** JSONP */
3260
+ callback?: string;
3261
+ /** Selector specifying which fields to include in a partial response. */
3262
+ fields?: string;
3263
+ /** 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. */
3264
+ key?: string;
3265
+ /** Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*‍/locations/{location}/serverTlsPolicies/{server_tls_policy}` */
3266
+ name: 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
+ * 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
3275
+ * 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.
3276
+ */
3277
+ updateMask?: 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: ServerTlsPolicy): Request<Operation>;
3284
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
3285
+ setIamPolicy(request: {
3286
+ /** V1 error format. */
3287
+ "$.xgafv"?: string;
3288
+ /** OAuth access token. */
3289
+ access_token?: string;
3290
+ /** Data format for response. */
3291
+ alt?: string;
3292
+ /** JSONP */
3293
+ callback?: string;
3294
+ /** Selector specifying which fields to include in a partial response. */
3295
+ fields?: string;
3296
+ /** 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. */
3297
+ key?: string;
3298
+ /** OAuth 2.0 token for the current user. */
3299
+ oauth_token?: string;
3300
+ /** Returns response with indentations and line breaks. */
3301
+ prettyPrint?: boolean;
3302
+ /** 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. */
3303
+ quotaUser?: string;
3304
+ /**
3305
+ * 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
3306
+ * field.
3307
+ */
3308
+ resource: string;
3309
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3310
+ upload_protocol?: string;
3311
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3312
+ uploadType?: string;
3313
+ },
3314
+ body: GoogleIamV1SetIamPolicyRequest): Request<GoogleIamV1Policy>;
3315
+ /**
3316
+ * 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
3317
+ * 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.
3318
+ */
3319
+ testIamPermissions(request: {
3320
+ /** V1 error format. */
3321
+ "$.xgafv"?: string;
3322
+ /** OAuth access token. */
3323
+ access_token?: string;
3324
+ /** Data format for response. */
3325
+ alt?: string;
3326
+ /** JSONP */
3327
+ callback?: string;
3328
+ /** Selector specifying which fields to include in a partial response. */
3329
+ fields?: string;
3330
+ /** 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. */
3331
+ key?: string;
3332
+ /** OAuth 2.0 token for the current user. */
3333
+ oauth_token?: string;
3334
+ /** Returns response with indentations and line breaks. */
3335
+ prettyPrint?: boolean;
3336
+ /** 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. */
3337
+ quotaUser?: string;
3338
+ /**
3339
+ * 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
3340
+ * this field.
3341
+ */
3342
+ resource: string;
3343
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3344
+ upload_protocol?: string;
3345
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3346
+ uploadType?: string;
3347
+ },
3348
+ body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
3349
+ }
3350
+ interface TlsInspectionPoliciesResource {
3351
+ /** Creates a new TlsInspectionPolicy in a given project and location. */
3352
+ create(request: {
3353
+ /** V1 error format. */
3354
+ "$.xgafv"?: string;
3355
+ /** OAuth access token. */
3356
+ access_token?: string;
3357
+ /** Data format for response. */
3358
+ alt?: string;
3359
+ /** JSONP */
3360
+ callback?: string;
3361
+ /** Selector specifying which fields to include in a partial response. */
3362
+ fields?: string;
3363
+ /** 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. */
3364
+ key?: string;
3365
+ /** OAuth 2.0 token for the current user. */
3366
+ oauth_token?: string;
3367
+ /** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
3368
+ parent: string;
3369
+ /** Returns response with indentations and line breaks. */
3370
+ prettyPrint?: boolean;
3371
+ /** 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. */
3372
+ quotaUser?: string;
3373
+ /**
3374
+ * 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,
3375
+ * and should not start with a number. E.g. "tls_inspection_policy1".
3376
+ */
3377
+ tlsInspectionPolicyId?: string;
3378
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3379
+ upload_protocol?: string;
3380
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3381
+ uploadType?: string;
3382
+ /** Request body */
3383
+ resource: TlsInspectionPolicy;
3384
+ }): Request<Operation>;
3385
+ create(request: {
3386
+ /** V1 error format. */
3387
+ "$.xgafv"?: string;
3388
+ /** OAuth access token. */
3389
+ access_token?: string;
3390
+ /** Data format for response. */
3391
+ alt?: string;
3392
+ /** JSONP */
3393
+ callback?: string;
3394
+ /** Selector specifying which fields to include in a partial response. */
3395
+ fields?: string;
3396
+ /** 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. */
3397
+ key?: string;
3398
+ /** OAuth 2.0 token for the current user. */
3399
+ oauth_token?: string;
3400
+ /** Required. The parent resource of the TlsInspectionPolicy. Must be in the format `projects/{project}/locations/{location}`. */
3401
+ parent: string;
3402
+ /** Returns response with indentations and line breaks. */
3403
+ prettyPrint?: boolean;
3404
+ /** 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. */
3405
+ quotaUser?: string;
3406
+ /**
3407
+ * 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,
3408
+ * and should not start with a number. E.g. "tls_inspection_policy1".
3409
+ */
3410
+ tlsInspectionPolicyId?: string;
3411
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3412
+ upload_protocol?: string;
3413
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3414
+ uploadType?: string;
3415
+ },
3416
+ body: TlsInspectionPolicy): Request<Operation>;
3417
+ /** Deletes a single TlsInspectionPolicy. */
3418
+ delete(request?: {
3419
+ /** V1 error format. */
3420
+ "$.xgafv"?: string;
3421
+ /** OAuth access token. */
3422
+ access_token?: string;
3423
+ /** Data format for response. */
3424
+ alt?: string;
3425
+ /** JSONP */
3426
+ callback?: string;
3427
+ /** Selector specifying which fields to include in a partial response. */
3428
+ fields?: string;
3429
+ /** 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.) */
3430
+ force?: boolean;
3431
+ /** 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. */
3432
+ key?: string;
3433
+ /** Required. A name of the TlsInspectionPolicy to delete. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
3434
+ name: string;
3435
+ /** OAuth 2.0 token for the current user. */
3436
+ oauth_token?: string;
3437
+ /** Returns response with indentations and line breaks. */
3438
+ prettyPrint?: boolean;
3439
+ /** 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. */
3440
+ quotaUser?: string;
3441
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3442
+ upload_protocol?: string;
3443
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3444
+ uploadType?: string;
3445
+ }): Request<Operation>;
3446
+ /** Gets details of a single TlsInspectionPolicy. */
3447
+ get(request?: {
3448
+ /** V1 error format. */
3449
+ "$.xgafv"?: string;
3450
+ /** OAuth access token. */
3451
+ access_token?: string;
3452
+ /** Data format for response. */
3453
+ alt?: string;
3454
+ /** JSONP */
3455
+ callback?: string;
3456
+ /** Selector specifying which fields to include in a partial response. */
3457
+ fields?: string;
3458
+ /** 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. */
3459
+ key?: string;
3460
+ /** Required. A name of the TlsInspectionPolicy to get. Must be in the format `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`. */
3461
+ name: string;
3462
+ /** OAuth 2.0 token for the current user. */
3463
+ oauth_token?: string;
3464
+ /** Returns response with indentations and line breaks. */
3465
+ prettyPrint?: boolean;
3466
+ /** 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. */
3467
+ quotaUser?: string;
3468
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3469
+ upload_protocol?: string;
3470
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3471
+ uploadType?: string;
3472
+ }): Request<TlsInspectionPolicy>;
3473
+ /** Lists TlsInspectionPolicies in a given project and location. */
3474
+ list(request?: {
3475
+ /** V1 error format. */
3476
+ "$.xgafv"?: string;
3477
+ /** OAuth access token. */
3478
+ access_token?: string;
3479
+ /** Data format for response. */
3480
+ alt?: string;
3481
+ /** JSONP */
3482
+ callback?: string;
3483
+ /** Selector specifying which fields to include in a partial response. */
3484
+ fields?: string;
3485
+ /** 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. */
3486
+ key?: string;
3487
+ /** OAuth 2.0 token for the current user. */
3488
+ oauth_token?: string;
3489
+ /** Maximum number of TlsInspectionPolicies to return per call. */
3490
+ pageSize?: number;
3491
+ /**
3492
+ * The value returned by the last 'ListTlsInspectionPoliciesResponse' Indicates that this is a continuation of a prior 'ListTlsInspectionPolicies' call, and that the system should
3493
+ * return the next page of data.
3494
+ */
3495
+ pageToken?: string;
3496
+ /** Required. The project and location from which the TlsInspectionPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
3497
+ parent: string;
3498
+ /** Returns response with indentations and line breaks. */
3499
+ prettyPrint?: boolean;
3500
+ /** 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. */
3501
+ quotaUser?: string;
3502
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3503
+ upload_protocol?: string;
3504
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3505
+ uploadType?: string;
3506
+ }): Request<ListTlsInspectionPoliciesResponse>;
3507
+ /** Updates the parameters of a single TlsInspectionPolicy. */
3508
+ patch(request: {
3509
+ /** V1 error format. */
3510
+ "$.xgafv"?: string;
3511
+ /** OAuth access token. */
3512
+ access_token?: string;
3513
+ /** Data format for response. */
3514
+ alt?: string;
3515
+ /** JSONP */
3516
+ callback?: string;
3517
+ /** Selector specifying which fields to include in a partial response. */
3518
+ fields?: string;
3519
+ /** 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. */
3520
+ key?: string;
3521
+ /**
3522
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
3523
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3524
+ */
3525
+ name: string;
3526
+ /** OAuth 2.0 token for the current user. */
3527
+ oauth_token?: string;
3528
+ /** Returns response with indentations and line breaks. */
3529
+ prettyPrint?: boolean;
3530
+ /** 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. */
3531
+ quotaUser?: string;
3532
+ /**
3533
+ * 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
3534
+ * 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.
3535
+ */
3536
+ updateMask?: string;
3537
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3538
+ upload_protocol?: string;
3539
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3540
+ uploadType?: string;
3541
+ /** Request body */
3542
+ resource: TlsInspectionPolicy;
3543
+ }): Request<Operation>;
3544
+ patch(request: {
3545
+ /** V1 error format. */
3546
+ "$.xgafv"?: string;
3547
+ /** OAuth access token. */
3548
+ access_token?: string;
3549
+ /** Data format for response. */
3550
+ alt?: string;
3551
+ /** JSONP */
3552
+ callback?: string;
3553
+ /** Selector specifying which fields to include in a partial response. */
3554
+ fields?: string;
3555
+ /** 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. */
3556
+ key?: string;
3557
+ /**
3558
+ * Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy} tls_inspection_policy should match the
3559
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3560
+ */
3561
+ name: string;
3562
+ /** OAuth 2.0 token for the current user. */
3563
+ oauth_token?: string;
3564
+ /** Returns response with indentations and line breaks. */
3565
+ prettyPrint?: boolean;
3566
+ /** 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. */
3567
+ quotaUser?: string;
3568
+ /**
3569
+ * 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
3570
+ * 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.
3571
+ */
3572
+ updateMask?: string;
3573
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3574
+ upload_protocol?: string;
3575
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3576
+ uploadType?: string;
3577
+ },
3578
+ body: TlsInspectionPolicy): Request<Operation>;
3579
+ }
3580
+ interface UrlListsResource {
3581
+ /** Creates a new UrlList in a given project and location. */
3582
+ create(request: {
3583
+ /** V1 error format. */
3584
+ "$.xgafv"?: string;
3585
+ /** OAuth access token. */
3586
+ access_token?: string;
3587
+ /** Data format for response. */
3588
+ alt?: string;
3589
+ /** JSONP */
3590
+ callback?: string;
3591
+ /** Selector specifying which fields to include in a partial response. */
3592
+ fields?: string;
3593
+ /** 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. */
3594
+ key?: string;
3595
+ /** OAuth 2.0 token for the current user. */
3596
+ oauth_token?: string;
3597
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
3598
+ parent: string;
3599
+ /** Returns response with indentations and line breaks. */
3600
+ prettyPrint?: boolean;
3601
+ /** 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. */
3602
+ quotaUser?: string;
3603
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3604
+ upload_protocol?: string;
3605
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3606
+ uploadType?: string;
3607
+ /**
3608
+ * 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
3609
+ * start with a number. E.g. "url_list".
3610
+ */
3611
+ urlListId?: string;
3612
+ /** Request body */
3613
+ resource: UrlList;
3614
+ }): Request<Operation>;
3615
+ create(request: {
3616
+ /** V1 error format. */
3617
+ "$.xgafv"?: string;
3618
+ /** OAuth access token. */
3619
+ access_token?: string;
3620
+ /** Data format for response. */
3621
+ alt?: string;
3622
+ /** JSONP */
3623
+ callback?: string;
3624
+ /** Selector specifying which fields to include in a partial response. */
3625
+ fields?: string;
3626
+ /** 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. */
3627
+ key?: string;
3628
+ /** OAuth 2.0 token for the current user. */
3629
+ oauth_token?: string;
3630
+ /** Required. The parent resource of the UrlList. Must be in the format `projects/*‍/locations/{location}`. */
3631
+ parent: string;
3632
+ /** Returns response with indentations and line breaks. */
3633
+ prettyPrint?: boolean;
3634
+ /** 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. */
3635
+ quotaUser?: string;
3636
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3637
+ upload_protocol?: string;
3638
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3639
+ uploadType?: string;
3640
+ /**
3641
+ * 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
3642
+ * start with a number. E.g. "url_list".
3643
+ */
3644
+ urlListId?: string;
3645
+ },
3646
+ body: UrlList): Request<Operation>;
3647
+ /** Deletes a single UrlList. */
3648
+ delete(request?: {
3649
+ /** V1 error format. */
3650
+ "$.xgafv"?: string;
3651
+ /** OAuth access token. */
3652
+ access_token?: string;
3653
+ /** Data format for response. */
3654
+ alt?: string;
3655
+ /** JSONP */
3656
+ callback?: string;
3657
+ /** Selector specifying which fields to include in a partial response. */
3658
+ fields?: string;
3659
+ /** 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. */
3660
+ key?: string;
3661
+ /** Required. A name of the UrlList to delete. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
3662
+ name: string;
3663
+ /** OAuth 2.0 token for the current user. */
3664
+ oauth_token?: string;
3665
+ /** Returns response with indentations and line breaks. */
3666
+ prettyPrint?: boolean;
3667
+ /** 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. */
3668
+ quotaUser?: string;
3669
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3670
+ upload_protocol?: string;
3671
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3672
+ uploadType?: string;
3673
+ }): Request<Operation>;
3674
+ /** Gets details of a single UrlList. */
3675
+ get(request?: {
3676
+ /** V1 error format. */
3677
+ "$.xgafv"?: string;
3678
+ /** OAuth access token. */
3679
+ access_token?: string;
3680
+ /** Data format for response. */
3681
+ alt?: string;
3682
+ /** JSONP */
3683
+ callback?: string;
3684
+ /** Selector specifying which fields to include in a partial response. */
3685
+ fields?: string;
3686
+ /** 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. */
3687
+ key?: string;
3688
+ /** Required. A name of the UrlList to get. Must be in the format `projects/*‍/locations/{location}/urlLists/*`. */
3689
+ name: string;
3690
+ /** OAuth 2.0 token for the current user. */
3691
+ oauth_token?: string;
3692
+ /** Returns response with indentations and line breaks. */
3693
+ prettyPrint?: boolean;
3694
+ /** 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. */
3695
+ quotaUser?: string;
3696
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3697
+ upload_protocol?: string;
3698
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3699
+ uploadType?: string;
3700
+ }): Request<UrlList>;
3701
+ /** Lists UrlLists in a given project and location. */
3702
+ list(request?: {
3703
+ /** V1 error format. */
3704
+ "$.xgafv"?: string;
3705
+ /** OAuth access token. */
3706
+ access_token?: string;
3707
+ /** Data format for response. */
3708
+ alt?: string;
3709
+ /** JSONP */
3710
+ callback?: string;
3711
+ /** Selector specifying which fields to include in a partial response. */
3712
+ fields?: string;
3713
+ /** 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. */
3714
+ key?: string;
3715
+ /** OAuth 2.0 token for the current user. */
3716
+ oauth_token?: string;
3717
+ /** Maximum number of UrlLists to return per call. */
3718
+ pageSize?: number;
3719
+ /**
3720
+ * 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
3721
+ * data.
3722
+ */
3723
+ pageToken?: string;
3724
+ /** Required. The project and location from which the UrlLists should be listed, specified in the format `projects/{project}/locations/{location}`. */
3725
+ parent: string;
3726
+ /** Returns response with indentations and line breaks. */
3727
+ prettyPrint?: boolean;
3728
+ /** 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. */
3729
+ quotaUser?: string;
3730
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3731
+ upload_protocol?: string;
3732
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3733
+ uploadType?: string;
3734
+ }): Request<ListUrlListsResponse>;
3735
+ /** Updates the parameters of a single UrlList. */
3736
+ patch(request: {
3737
+ /** V1 error format. */
3738
+ "$.xgafv"?: string;
3739
+ /** OAuth access token. */
3740
+ access_token?: string;
3741
+ /** Data format for response. */
3742
+ alt?: string;
3743
+ /** JSONP */
3744
+ callback?: string;
3745
+ /** Selector specifying which fields to include in a partial response. */
3746
+ fields?: string;
3747
+ /** 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. */
3748
+ key?: string;
3749
+ /**
3750
+ * 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
3751
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3752
+ */
3753
+ name: string;
3754
+ /** OAuth 2.0 token for the current user. */
3755
+ oauth_token?: string;
3756
+ /** Returns response with indentations and line breaks. */
3757
+ prettyPrint?: boolean;
3758
+ /** 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. */
3759
+ quotaUser?: string;
3760
+ /**
3761
+ * 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,
3762
+ * 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.
3763
+ */
3764
+ updateMask?: string;
3765
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3766
+ upload_protocol?: string;
3767
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3768
+ uploadType?: string;
3769
+ /** Request body */
3770
+ resource: UrlList;
3771
+ }): Request<Operation>;
3772
+ patch(request: {
3773
+ /** V1 error format. */
3774
+ "$.xgafv"?: string;
3775
+ /** OAuth access token. */
3776
+ access_token?: string;
3777
+ /** Data format for response. */
3778
+ alt?: string;
3779
+ /** JSONP */
3780
+ callback?: string;
3781
+ /** Selector specifying which fields to include in a partial response. */
3782
+ fields?: string;
3783
+ /** 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. */
3784
+ key?: string;
3785
+ /**
3786
+ * 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
3787
+ * pattern:(^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
3788
+ */
3789
+ name: string;
3790
+ /** OAuth 2.0 token for the current user. */
3791
+ oauth_token?: string;
3792
+ /** Returns response with indentations and line breaks. */
3793
+ prettyPrint?: boolean;
3794
+ /** 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. */
3795
+ quotaUser?: string;
3796
+ /**
3797
+ * 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,
3798
+ * 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.
3799
+ */
3800
+ updateMask?: string;
3801
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3802
+ upload_protocol?: string;
3803
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3804
+ uploadType?: string;
3805
+ },
3806
+ body: UrlList): Request<Operation>;
2781
3807
  }
2782
3808
  interface LocationsResource {
2783
3809
  /** Gets information about a location. */
@@ -2846,8 +3872,11 @@ declare namespace gapi.client {
2846
3872
  addressGroups: AddressGroupsResource;
2847
3873
  authorizationPolicies: AuthorizationPoliciesResource;
2848
3874
  clientTlsPolicies: ClientTlsPoliciesResource;
3875
+ gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
2849
3876
  operations: OperationsResource;
2850
3877
  serverTlsPolicies: ServerTlsPoliciesResource;
3878
+ tlsInspectionPolicies: TlsInspectionPoliciesResource;
3879
+ urlLists: UrlListsResource;
2851
3880
  }
2852
3881
  interface ProjectsResource {
2853
3882
  locations: LocationsResource;