@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230306 → 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.
- package/index.d.ts +877 -110
- package/package.json +1 -1
- package/tests.ts +119 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230309
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2301,14 +2381,9 @@ declare namespace gapi.client {
|
|
|
2301
2381
|
},
|
|
2302
2382
|
body: GoogleIamV1TestIamPermissionsRequest): Request<GoogleIamV1TestIamPermissionsResponse>;
|
|
2303
2383
|
}
|
|
2304
|
-
interface
|
|
2305
|
-
/**
|
|
2306
|
-
|
|
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: {
|
|
2384
|
+
interface RulesResource {
|
|
2385
|
+
/** Creates a new GatewaySecurityPolicy in a given project and location. */
|
|
2386
|
+
create(request: {
|
|
2312
2387
|
/** V1 error format. */
|
|
2313
2388
|
"$.xgafv"?: string;
|
|
2314
2389
|
/** OAuth access token. */
|
|
@@ -2319,12 +2394,14 @@ declare namespace gapi.client {
|
|
|
2319
2394
|
callback?: string;
|
|
2320
2395
|
/** Selector specifying which fields to include in a partial response. */
|
|
2321
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;
|
|
2322
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. */
|
|
2323
2400
|
key?: string;
|
|
2324
|
-
/** The name of the operation resource to be cancelled. */
|
|
2325
|
-
name: string;
|
|
2326
2401
|
/** OAuth 2.0 token for the current user. */
|
|
2327
2402
|
oauth_token?: string;
|
|
2403
|
+
/** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
|
|
2404
|
+
parent: string;
|
|
2328
2405
|
/** Returns response with indentations and line breaks. */
|
|
2329
2406
|
prettyPrint?: boolean;
|
|
2330
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. */
|
|
@@ -2334,9 +2411,9 @@ declare namespace gapi.client {
|
|
|
2334
2411
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2335
2412
|
uploadType?: string;
|
|
2336
2413
|
/** Request body */
|
|
2337
|
-
resource:
|
|
2338
|
-
}): Request<
|
|
2339
|
-
|
|
2414
|
+
resource: GatewaySecurityPolicyRule;
|
|
2415
|
+
}): Request<Operation>;
|
|
2416
|
+
create(request: {
|
|
2340
2417
|
/** V1 error format. */
|
|
2341
2418
|
"$.xgafv"?: string;
|
|
2342
2419
|
/** OAuth access token. */
|
|
@@ -2347,12 +2424,14 @@ declare namespace gapi.client {
|
|
|
2347
2424
|
callback?: string;
|
|
2348
2425
|
/** Selector specifying which fields to include in a partial response. */
|
|
2349
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;
|
|
2350
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. */
|
|
2351
2430
|
key?: string;
|
|
2352
|
-
/** The name of the operation resource to be cancelled. */
|
|
2353
|
-
name: string;
|
|
2354
2431
|
/** OAuth 2.0 token for the current user. */
|
|
2355
2432
|
oauth_token?: string;
|
|
2433
|
+
/** Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/* */
|
|
2434
|
+
parent: string;
|
|
2356
2435
|
/** Returns response with indentations and line breaks. */
|
|
2357
2436
|
prettyPrint?: boolean;
|
|
2358
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. */
|
|
@@ -2362,11 +2441,8 @@ declare namespace gapi.client {
|
|
|
2362
2441
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2363
2442
|
uploadType?: string;
|
|
2364
2443
|
},
|
|
2365
|
-
body:
|
|
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
|
-
*/
|
|
2444
|
+
body: GatewaySecurityPolicyRule): Request<Operation>;
|
|
2445
|
+
/** Deletes a single GatewaySecurityPolicyRule. */
|
|
2370
2446
|
delete(request?: {
|
|
2371
2447
|
/** V1 error format. */
|
|
2372
2448
|
"$.xgafv"?: string;
|
|
@@ -2380,7 +2456,10 @@ declare namespace gapi.client {
|
|
|
2380
2456
|
fields?: string;
|
|
2381
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. */
|
|
2382
2458
|
key?: string;
|
|
2383
|
-
/**
|
|
2459
|
+
/**
|
|
2460
|
+
* Required. A name of the GatewaySecurityPolicyRule to delete. Must be in the format
|
|
2461
|
+
* `projects/{project}/locations/{location}/gatewaySecurityPolicies/{gatewaySecurityPolicy}/rules/*`.
|
|
2462
|
+
*/
|
|
2384
2463
|
name: string;
|
|
2385
2464
|
/** OAuth 2.0 token for the current user. */
|
|
2386
2465
|
oauth_token?: string;
|
|
@@ -2392,8 +2471,8 @@ declare namespace gapi.client {
|
|
|
2392
2471
|
upload_protocol?: string;
|
|
2393
2472
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2394
2473
|
uploadType?: string;
|
|
2395
|
-
}): Request<
|
|
2396
|
-
/** Gets
|
|
2474
|
+
}): Request<Operation>;
|
|
2475
|
+
/** Gets details of a single GatewaySecurityPolicyRule. */
|
|
2397
2476
|
get(request?: {
|
|
2398
2477
|
/** V1 error format. */
|
|
2399
2478
|
"$.xgafv"?: string;
|
|
@@ -2407,7 +2486,7 @@ declare namespace gapi.client {
|
|
|
2407
2486
|
fields?: string;
|
|
2408
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. */
|
|
2409
2488
|
key?: string;
|
|
2410
|
-
/** The name of the
|
|
2489
|
+
/** Required. The name of the GatewaySecurityPolicyRule to retrieve. Format: projects/{project}/location/{location}/gatewaySecurityPolicies/*/rules/* */
|
|
2411
2490
|
name: string;
|
|
2412
2491
|
/** OAuth 2.0 token for the current user. */
|
|
2413
2492
|
oauth_token?: string;
|
|
@@ -2419,8 +2498,8 @@ declare namespace gapi.client {
|
|
|
2419
2498
|
upload_protocol?: string;
|
|
2420
2499
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2421
2500
|
uploadType?: string;
|
|
2422
|
-
}): Request<
|
|
2423
|
-
/** Lists
|
|
2501
|
+
}): Request<GatewaySecurityPolicyRule>;
|
|
2502
|
+
/** Lists GatewaySecurityPolicyRules in a given project and location. */
|
|
2424
2503
|
list(request?: {
|
|
2425
2504
|
/** V1 error format. */
|
|
2426
2505
|
"$.xgafv"?: string;
|
|
@@ -2432,18 +2511,22 @@ declare namespace gapi.client {
|
|
|
2432
2511
|
callback?: string;
|
|
2433
2512
|
/** Selector specifying which fields to include in a partial response. */
|
|
2434
2513
|
fields?: string;
|
|
2435
|
-
/** The standard list filter. */
|
|
2436
|
-
filter?: string;
|
|
2437
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. */
|
|
2438
2515
|
key?: string;
|
|
2439
|
-
/** The name of the operation's parent resource. */
|
|
2440
|
-
name: string;
|
|
2441
2516
|
/** OAuth 2.0 token for the current user. */
|
|
2442
2517
|
oauth_token?: string;
|
|
2443
|
-
/**
|
|
2518
|
+
/** Maximum number of GatewaySecurityPolicyRules to return per call. */
|
|
2444
2519
|
pageSize?: number;
|
|
2445
|
-
/**
|
|
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
|
+
*/
|
|
2446
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;
|
|
2447
2530
|
/** Returns response with indentations and line breaks. */
|
|
2448
2531
|
prettyPrint?: boolean;
|
|
2449
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. */
|
|
@@ -2452,11 +2535,9 @@ declare namespace gapi.client {
|
|
|
2452
2535
|
upload_protocol?: string;
|
|
2453
2536
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2454
2537
|
uploadType?: string;
|
|
2455
|
-
}): Request<
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
/** Creates a new ServerTlsPolicy in a given project and location. */
|
|
2459
|
-
create(request: {
|
|
2538
|
+
}): Request<ListGatewaySecurityPolicyRulesResponse>;
|
|
2539
|
+
/** Updates the parameters of a single GatewaySecurityPolicyRule. */
|
|
2540
|
+
patch(request: {
|
|
2460
2541
|
/** V1 error format. */
|
|
2461
2542
|
"$.xgafv"?: string;
|
|
2462
2543
|
/** OAuth access token. */
|
|
@@ -2469,27 +2550,30 @@ declare namespace gapi.client {
|
|
|
2469
2550
|
fields?: string;
|
|
2470
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. */
|
|
2471
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;
|
|
2472
2558
|
/** OAuth 2.0 token for the current user. */
|
|
2473
2559
|
oauth_token?: string;
|
|
2474
|
-
/** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`. */
|
|
2475
|
-
parent: string;
|
|
2476
2560
|
/** Returns response with indentations and line breaks. */
|
|
2477
2561
|
prettyPrint?: boolean;
|
|
2478
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. */
|
|
2479
2563
|
quotaUser?: string;
|
|
2480
2564
|
/**
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
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.
|
|
2483
2567
|
*/
|
|
2484
|
-
|
|
2568
|
+
updateMask?: string;
|
|
2485
2569
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2486
2570
|
upload_protocol?: string;
|
|
2487
2571
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2488
2572
|
uploadType?: string;
|
|
2489
2573
|
/** Request body */
|
|
2490
|
-
resource:
|
|
2574
|
+
resource: GatewaySecurityPolicyRule;
|
|
2491
2575
|
}): Request<Operation>;
|
|
2492
|
-
|
|
2576
|
+
patch(request: {
|
|
2493
2577
|
/** V1 error format. */
|
|
2494
2578
|
"$.xgafv"?: string;
|
|
2495
2579
|
/** OAuth access token. */
|
|
@@ -2502,27 +2586,32 @@ declare namespace gapi.client {
|
|
|
2502
2586
|
fields?: string;
|
|
2503
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. */
|
|
2504
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;
|
|
2505
2594
|
/** OAuth 2.0 token for the current user. */
|
|
2506
2595
|
oauth_token?: string;
|
|
2507
|
-
/** Required. The parent resource of the ServerTlsPolicy. Must be in the format `projects/*/locations/{location}`. */
|
|
2508
|
-
parent: string;
|
|
2509
2596
|
/** Returns response with indentations and line breaks. */
|
|
2510
2597
|
prettyPrint?: boolean;
|
|
2511
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. */
|
|
2512
2599
|
quotaUser?: string;
|
|
2513
2600
|
/**
|
|
2514
|
-
*
|
|
2515
|
-
*
|
|
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.
|
|
2516
2603
|
*/
|
|
2517
|
-
|
|
2604
|
+
updateMask?: string;
|
|
2518
2605
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2519
2606
|
upload_protocol?: string;
|
|
2520
2607
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2521
2608
|
uploadType?: string;
|
|
2522
2609
|
},
|
|
2523
|
-
body:
|
|
2524
|
-
|
|
2525
|
-
|
|
2610
|
+
body: GatewaySecurityPolicyRule): Request<Operation>;
|
|
2611
|
+
}
|
|
2612
|
+
interface GatewaySecurityPoliciesResource {
|
|
2613
|
+
/** Creates a new GatewaySecurityPolicy in a given project and location. */
|
|
2614
|
+
create(request: {
|
|
2526
2615
|
/** V1 error format. */
|
|
2527
2616
|
"$.xgafv"?: string;
|
|
2528
2617
|
/** OAuth access token. */
|
|
@@ -2533,12 +2622,17 @@ declare namespace gapi.client {
|
|
|
2533
2622
|
callback?: string;
|
|
2534
2623
|
/** Selector specifying which fields to include in a partial response. */
|
|
2535
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;
|
|
2536
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. */
|
|
2537
2631
|
key?: string;
|
|
2538
|
-
/** Required. A name of the ServerTlsPolicy to delete. Must be in the format `projects/*/locations/{location}/serverTlsPolicies/*`. */
|
|
2539
|
-
name: string;
|
|
2540
2632
|
/** OAuth 2.0 token for the current user. */
|
|
2541
2633
|
oauth_token?: string;
|
|
2634
|
+
/** Required. The parent resource of the GatewaySecurityPolicy. Must be in the format `projects/{project}/locations/{location}`. */
|
|
2635
|
+
parent: string;
|
|
2542
2636
|
/** Returns response with indentations and line breaks. */
|
|
2543
2637
|
prettyPrint?: boolean;
|
|
2544
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. */
|
|
@@ -2547,9 +2641,10 @@ declare namespace gapi.client {
|
|
|
2547
2641
|
upload_protocol?: string;
|
|
2548
2642
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2549
2643
|
uploadType?: string;
|
|
2644
|
+
/** Request body */
|
|
2645
|
+
resource: GatewaySecurityPolicy;
|
|
2550
2646
|
}): Request<Operation>;
|
|
2551
|
-
|
|
2552
|
-
get(request?: {
|
|
2647
|
+
create(request: {
|
|
2553
2648
|
/** V1 error format. */
|
|
2554
2649
|
"$.xgafv"?: string;
|
|
2555
2650
|
/** OAuth access token. */
|
|
@@ -2560,9 +2655,42 @@ declare namespace gapi.client {
|
|
|
2560
2655
|
callback?: string;
|
|
2561
2656
|
/** Selector specifying which fields to include in a partial response. */
|
|
2562
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;
|
|
2563
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. */
|
|
2564
2664
|
key?: string;
|
|
2565
|
-
/**
|
|
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/*`. */
|
|
2566
2694
|
name: string;
|
|
2567
2695
|
/** OAuth 2.0 token for the current user. */
|
|
2568
2696
|
oauth_token?: string;
|
|
@@ -2574,9 +2702,9 @@ declare namespace gapi.client {
|
|
|
2574
2702
|
upload_protocol?: string;
|
|
2575
2703
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2576
2704
|
uploadType?: string;
|
|
2577
|
-
}): Request<
|
|
2578
|
-
/** Gets
|
|
2579
|
-
|
|
2705
|
+
}): Request<Operation>;
|
|
2706
|
+
/** Gets details of a single GatewaySecurityPolicy. */
|
|
2707
|
+
get(request?: {
|
|
2580
2708
|
/** V1 error format. */
|
|
2581
2709
|
"$.xgafv"?: string;
|
|
2582
2710
|
/** OAuth access token. */
|
|
@@ -2589,31 +2717,20 @@ declare namespace gapi.client {
|
|
|
2589
2717
|
fields?: string;
|
|
2590
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. */
|
|
2591
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;
|
|
2592
2722
|
/** OAuth 2.0 token for the current user. */
|
|
2593
2723
|
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
2724
|
/** Returns response with indentations and line breaks. */
|
|
2603
2725
|
prettyPrint?: boolean;
|
|
2604
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. */
|
|
2605
2727
|
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
2728
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2612
2729
|
upload_protocol?: string;
|
|
2613
2730
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2614
2731
|
uploadType?: string;
|
|
2615
|
-
}): Request<
|
|
2616
|
-
/** Lists
|
|
2732
|
+
}): Request<GatewaySecurityPolicy>;
|
|
2733
|
+
/** Lists GatewaySecurityPolicies in a given project and location. */
|
|
2617
2734
|
list(request?: {
|
|
2618
2735
|
/** V1 error format. */
|
|
2619
2736
|
"$.xgafv"?: string;
|
|
@@ -2629,14 +2746,14 @@ declare namespace gapi.client {
|
|
|
2629
2746
|
key?: string;
|
|
2630
2747
|
/** OAuth 2.0 token for the current user. */
|
|
2631
2748
|
oauth_token?: string;
|
|
2632
|
-
/** Maximum number of
|
|
2749
|
+
/** Maximum number of GatewaySecurityPolicies to return per call. */
|
|
2633
2750
|
pageSize?: number;
|
|
2634
2751
|
/**
|
|
2635
|
-
* The value returned by the last
|
|
2636
|
-
* 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.
|
|
2637
2754
|
*/
|
|
2638
2755
|
pageToken?: string;
|
|
2639
|
-
/** Required. The project and location from which the
|
|
2756
|
+
/** Required. The project and location from which the GatewaySecurityPolicies should be listed, specified in the format `projects/{project}/locations/{location}`. */
|
|
2640
2757
|
parent: string;
|
|
2641
2758
|
/** Returns response with indentations and line breaks. */
|
|
2642
2759
|
prettyPrint?: boolean;
|
|
@@ -2646,8 +2763,8 @@ declare namespace gapi.client {
|
|
|
2646
2763
|
upload_protocol?: string;
|
|
2647
2764
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2648
2765
|
uploadType?: string;
|
|
2649
|
-
}): Request<
|
|
2650
|
-
/** Updates the parameters of a single
|
|
2766
|
+
}): Request<ListGatewaySecurityPoliciesResponse>;
|
|
2767
|
+
/** Updates the parameters of a single GatewaySecurityPolicy. */
|
|
2651
2768
|
patch(request: {
|
|
2652
2769
|
/** V1 error format. */
|
|
2653
2770
|
"$.xgafv"?: string;
|
|
@@ -2661,7 +2778,10 @@ declare namespace gapi.client {
|
|
|
2661
2778
|
fields?: string;
|
|
2662
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. */
|
|
2663
2780
|
key?: string;
|
|
2664
|
-
/**
|
|
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
|
+
*/
|
|
2665
2785
|
name: string;
|
|
2666
2786
|
/** OAuth 2.0 token for the current user. */
|
|
2667
2787
|
oauth_token?: string;
|
|
@@ -2670,8 +2790,8 @@ declare namespace gapi.client {
|
|
|
2670
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. */
|
|
2671
2791
|
quotaUser?: string;
|
|
2672
2792
|
/**
|
|
2673
|
-
* Optional. Field mask is used to specify the fields to be overwritten in 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.
|
|
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.
|
|
2675
2795
|
*/
|
|
2676
2796
|
updateMask?: string;
|
|
2677
2797
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2679,7 +2799,7 @@ declare namespace gapi.client {
|
|
|
2679
2799
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2680
2800
|
uploadType?: string;
|
|
2681
2801
|
/** Request body */
|
|
2682
|
-
resource:
|
|
2802
|
+
resource: GatewaySecurityPolicy;
|
|
2683
2803
|
}): Request<Operation>;
|
|
2684
2804
|
patch(request: {
|
|
2685
2805
|
/** V1 error format. */
|
|
@@ -2694,7 +2814,10 @@ declare namespace gapi.client {
|
|
|
2694
2814
|
fields?: string;
|
|
2695
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. */
|
|
2696
2816
|
key?: string;
|
|
2697
|
-
/**
|
|
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
|
+
*/
|
|
2698
2821
|
name: string;
|
|
2699
2822
|
/** OAuth 2.0 token for the current user. */
|
|
2700
2823
|
oauth_token?: string;
|
|
@@ -2703,8 +2826,8 @@ declare namespace gapi.client {
|
|
|
2703
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. */
|
|
2704
2827
|
quotaUser?: string;
|
|
2705
2828
|
/**
|
|
2706
|
-
* Optional. Field mask is used to specify the fields to be overwritten in 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.
|
|
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.
|
|
2708
2831
|
*/
|
|
2709
2832
|
updateMask?: string;
|
|
2710
2833
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
@@ -2712,9 +2835,17 @@ declare namespace gapi.client {
|
|
|
2712
2835
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2713
2836
|
uploadType?: string;
|
|
2714
2837
|
},
|
|
2715
|
-
body:
|
|
2716
|
-
|
|
2717
|
-
|
|
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: {
|
|
2718
2849
|
/** V1 error format. */
|
|
2719
2850
|
"$.xgafv"?: string;
|
|
2720
2851
|
/** OAuth access token. */
|
|
@@ -2727,28 +2858,22 @@ declare namespace gapi.client {
|
|
|
2727
2858
|
fields?: string;
|
|
2728
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. */
|
|
2729
2860
|
key?: string;
|
|
2861
|
+
/** The name of the operation resource to be cancelled. */
|
|
2862
|
+
name: string;
|
|
2730
2863
|
/** OAuth 2.0 token for the current user. */
|
|
2731
2864
|
oauth_token?: string;
|
|
2732
2865
|
/** Returns response with indentations and line breaks. */
|
|
2733
2866
|
prettyPrint?: boolean;
|
|
2734
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. */
|
|
2735
2868
|
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
2869
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2742
2870
|
upload_protocol?: string;
|
|
2743
2871
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2744
2872
|
uploadType?: string;
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
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: {
|
|
2873
|
+
/** Request body */
|
|
2874
|
+
resource: CancelOperationRequest;
|
|
2875
|
+
}): Request<{}>;
|
|
2876
|
+
cancel(request: {
|
|
2752
2877
|
/** V1 error format. */
|
|
2753
2878
|
"$.xgafv"?: string;
|
|
2754
2879
|
/** OAuth access token. */
|
|
@@ -2761,23 +2886,663 @@ declare namespace gapi.client {
|
|
|
2761
2886
|
fields?: string;
|
|
2762
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. */
|
|
2763
2888
|
key?: string;
|
|
2889
|
+
/** The name of the operation resource to be cancelled. */
|
|
2890
|
+
name: string;
|
|
2764
2891
|
/** OAuth 2.0 token for the current user. */
|
|
2765
2892
|
oauth_token?: string;
|
|
2766
2893
|
/** Returns response with indentations and line breaks. */
|
|
2767
2894
|
prettyPrint?: boolean;
|
|
2768
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. */
|
|
2769
2896
|
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
2897
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2776
2898
|
upload_protocol?: string;
|
|
2777
2899
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2778
2900
|
uploadType?: string;
|
|
2779
2901
|
},
|
|
2780
|
-
body:
|
|
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>;
|
|
2781
3546
|
}
|
|
2782
3547
|
interface LocationsResource {
|
|
2783
3548
|
/** Gets information about a location. */
|
|
@@ -2846,8 +3611,10 @@ declare namespace gapi.client {
|
|
|
2846
3611
|
addressGroups: AddressGroupsResource;
|
|
2847
3612
|
authorizationPolicies: AuthorizationPoliciesResource;
|
|
2848
3613
|
clientTlsPolicies: ClientTlsPoliciesResource;
|
|
3614
|
+
gatewaySecurityPolicies: GatewaySecurityPoliciesResource;
|
|
2849
3615
|
operations: OperationsResource;
|
|
2850
3616
|
serverTlsPolicies: ServerTlsPoliciesResource;
|
|
3617
|
+
urlLists: UrlListsResource;
|
|
2851
3618
|
}
|
|
2852
3619
|
interface ProjectsResource {
|
|
2853
3620
|
locations: LocationsResource;
|