@maxim_mazurok/gapi.client.iap-v1 0.0.20230421 → 0.0.20230427

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 +759 -380
  2. package/package.json +1 -1
  3. package/tests.ts +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://iap.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230421
12
+ // Revision: 20230427
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,48 +24,64 @@ declare namespace gapi.client {
24
24
  namespace iap {
25
25
  interface AccessDeniedPageSettings {
26
26
  /** The URI to be redirected to when access is denied. */
27
- accessDeniedPageUri?: string;
27
+ accessDeniedPageUri?:
28
+ string;
28
29
  /** Whether to generate a troubleshooting URL on access denied events to this application. */
29
- generateTroubleshootingUri?: boolean;
30
+ generateTroubleshootingUri?:
31
+ boolean;
30
32
  /** Whether to generate remediation token on access denied events to this application. */
31
- remediationTokenGenerationEnabled?: boolean;
33
+ remediationTokenGenerationEnabled?:
34
+ boolean;
32
35
  }
33
36
  interface AccessSettings {
34
37
  /** Settings to configure and enable allowed domains. */
35
- allowedDomainsSettings?: AllowedDomainsSettings;
38
+ allowedDomainsSettings?:
39
+ AllowedDomainsSettings;
36
40
  /** Configuration to allow cross-origin requests via IAP. */
37
- corsSettings?: CorsSettings;
41
+ corsSettings?:
42
+ CorsSettings;
38
43
  /** GCIP claims and endpoint configurations for 3p identity providers. */
39
- gcipSettings?: GcipSettings;
44
+ gcipSettings?:
45
+ GcipSettings;
40
46
  /** Settings to configure IAP's OAuth behavior. */
41
- oauthSettings?: OAuthSettings;
47
+ oauthSettings?:
48
+ OAuthSettings;
42
49
  /** Settings to configure Policy delegation for apps hosted in tenant projects. INTERNAL_ONLY. */
43
- policyDelegationSettings?: PolicyDelegationSettings;
50
+ policyDelegationSettings?:
51
+ PolicyDelegationSettings;
44
52
  /** Settings to configure reauthentication policies in IAP. */
45
- reauthSettings?: ReauthSettings;
53
+ reauthSettings?:
54
+ ReauthSettings;
46
55
  }
47
56
  interface AllowedDomainsSettings {
48
57
  /** List of trusted domains. */
49
- domains?: string[];
58
+ domains?:
59
+ string[];
50
60
  /** Configuration for customers to opt in for the feature. */
51
- enable?: boolean;
61
+ enable?:
62
+ boolean;
52
63
  }
53
64
  interface ApplicationSettings {
54
65
  /** Customization for Access Denied page. */
55
- accessDeniedPageSettings?: AccessDeniedPageSettings;
66
+ accessDeniedPageSettings?:
67
+ AccessDeniedPageSettings;
56
68
  /** Settings to configure attribute propagation. */
57
- attributePropagationSettings?: AttributePropagationSettings;
69
+ attributePropagationSettings?:
70
+ AttributePropagationSettings;
58
71
  /** The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid. */
59
- cookieDomain?: string;
72
+ cookieDomain?:
73
+ string;
60
74
  /** Settings to configure IAP's behavior for a service mesh. */
61
- csmSettings?: CsmSettings;
75
+ csmSettings?:
76
+ CsmSettings;
62
77
  }
63
78
  interface AttributePropagationSettings {
64
79
  /**
65
80
  * Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set
66
81
  * output credentials.
67
82
  */
68
- enable?: boolean;
83
+ enable?:
84
+ boolean;
69
85
  /**
70
86
  * Raw string CEL expression. Must return a list of attributes. A maximum of 45 attributes can be selected. Expressions can select different attribute types from `attributes`:
71
87
  * `attributes.saml_attributes`, `attributes.iap_attributes`. The following functions are supported: - filter `.filter(, )`: Returns a subset of `` where `` is true for every item. -
@@ -74,9 +90,11 @@ declare namespace gapi.client {
74
90
  * with the `HEADER` output credential, such as request headers. - append `.append()` OR `.append()`: Appends the provided `` or `` to the end of ``. Example expression:
75
91
  * `attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`
76
92
  */
77
- expression?: string;
93
+ expression?:
94
+ string;
78
95
  /** Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential. */
79
- outputCredentials?: string[];
96
+ outputCredentials?:
97
+ string[];
80
98
  }
81
99
  interface Binding {
82
100
  /**
@@ -84,7 +102,8 @@ declare namespace gapi.client {
84
102
  * then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
85
103
  * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
86
104
  */
87
- condition?: Expr;
105
+ condition?:
106
+ Expr;
88
107
  /**
89
108
  * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
90
109
  * the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
@@ -101,54 +120,69 @@ declare namespace gapi.client {
101
120
  * has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
102
121
  * retains the role in the binding.
103
122
  */
104
- members?: string[];
123
+ members?:
124
+ string[];
105
125
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
106
- role?: string;
126
+ role?:
127
+ string;
107
128
  }
108
129
  interface Brand {
109
130
  /** Application name displayed on OAuth consent screen. */
110
- applicationTitle?: string;
131
+ applicationTitle?:
132
+ string;
111
133
  /** Output only. Identifier of the brand. NOTE: GCP project number achieves the same brand identification purpose as only one brand per project can be created. */
112
- name?: string;
134
+ name?:
135
+ string;
113
136
  /** Output only. Whether the brand is only intended for usage inside the G Suite organization only. */
114
- orgInternalOnly?: boolean;
137
+ orgInternalOnly?:
138
+ boolean;
115
139
  /** Support email displayed on the OAuth consent screen. */
116
- supportEmail?: string;
140
+ supportEmail?:
141
+ string;
117
142
  }
118
143
  interface CorsSettings {
119
144
  /** Configuration to allow HTTP OPTIONS calls to skip authorization. If undefined, IAP will not apply any special logic to OPTIONS requests. */
120
- allowHttpOptions?: boolean;
145
+ allowHttpOptions?:
146
+ boolean;
121
147
  }
122
148
  interface CsmSettings {
123
149
  /** Audience claim set in the generated RCToken. This value is not validated by IAP. */
124
- rctokenAud?: string;
150
+ rctokenAud?:
151
+ string;
125
152
  }
126
153
  // tslint:disable-next-line:no-empty-interface
127
154
  interface Empty {
128
155
  }
129
156
  interface Expr {
130
157
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
131
- description?: string;
158
+ description?:
159
+ string;
132
160
  /** Textual representation of an expression in Common Expression Language syntax. */
133
- expression?: string;
161
+ expression?:
162
+ string;
134
163
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
135
- location?: string;
164
+ location?:
165
+ string;
136
166
  /** 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. */
137
- title?: string;
167
+ title?:
168
+ string;
138
169
  }
139
170
  interface GcipSettings {
140
171
  /** Login page URI associated with the GCIP tenants. Typically, all resources within the same project share the same login page, though it could be overridden at the sub resource level. */
141
- loginPageUri?: string;
172
+ loginPageUri?:
173
+ string;
142
174
  /**
143
175
  * GCIP tenant ids that are linked to the IAP resource. tenant_ids could be a string beginning with a number character to indicate authenticating with GCIP tenant flow, or in the
144
176
  * format of _ to indicate authenticating with GCIP agent flow. If agent flow is used, tenant_ids should only contain one single element, while for tenant flow, tenant_ids can contain
145
177
  * multiple elements.
146
178
  */
147
- tenantIds?: string[];
179
+ tenantIds?:
180
+ string[];
148
181
  }
149
182
  interface GetIamPolicyRequest {
150
183
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
151
- options?: GetPolicyOptions;
184
+ options?:
185
+ GetPolicyOptions;
152
186
  }
153
187
  interface GetPolicyOptions {
154
188
  /**
@@ -158,39 +192,51 @@ declare namespace gapi.client {
158
192
  * bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
159
193
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
160
194
  */
161
- requestedPolicyVersion?: number;
195
+ requestedPolicyVersion?:
196
+ number;
162
197
  }
163
198
  interface IapSettings {
164
199
  /** Top level wrapper for all access related setting in IAP */
165
- accessSettings?: AccessSettings;
200
+ accessSettings?:
201
+ AccessSettings;
166
202
  /** Top level wrapper for all application related settings in IAP */
167
- applicationSettings?: ApplicationSettings;
203
+ applicationSettings?:
204
+ ApplicationSettings;
168
205
  /** Required. The resource name of the IAP protected resource. */
169
- name?: string;
206
+ name?:
207
+ string;
170
208
  }
171
209
  interface IdentityAwareProxyClient {
172
210
  /** Human-friendly name given to the OAuth client. */
173
- displayName?: string;
211
+ displayName?:
212
+ string;
174
213
  /** Output only. Unique identifier of the OAuth client. */
175
- name?: string;
214
+ name?:
215
+ string;
176
216
  /** Output only. Client secret of the OAuth client. */
177
- secret?: string;
217
+ secret?:
218
+ string;
178
219
  }
179
220
  interface ListBrandsResponse {
180
221
  /** Brands existing in the project. */
181
- brands?: Brand[];
222
+ brands?:
223
+ Brand[];
182
224
  }
183
225
  interface ListIdentityAwareProxyClientsResponse {
184
226
  /** Clients existing in the brand. */
185
- identityAwareProxyClients?: IdentityAwareProxyClient[];
227
+ identityAwareProxyClients?:
228
+ IdentityAwareProxyClient[];
186
229
  /** A token, which can be send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
187
- nextPageToken?: string;
230
+ nextPageToken?:
231
+ string;
188
232
  }
189
233
  interface ListTunnelDestGroupsResponse {
190
234
  /** A token that you can send as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
191
- nextPageToken?: string;
235
+ nextPageToken?:
236
+ string;
192
237
  /** TunnelDestGroup existing in the project. */
193
- tunnelDestGroups?: TunnelDestGroup[];
238
+ tunnelDestGroups?:
239
+ TunnelDestGroup[];
194
240
  }
195
241
  interface OAuthSettings {
196
242
  /**
@@ -198,7 +244,8 @@ declare namespace gapi.client {
198
244
  * https://developers.google.com/identity/protocols/OpenIDConnect#hd-param Note: IAP does not verify that the id token's hd claim matches this value since access behavior is managed by
199
245
  * IAM policies.
200
246
  */
201
- loginHint?: string;
247
+ loginHint?:
248
+ string;
202
249
  }
203
250
  interface Policy {
204
251
  /**
@@ -207,7 +254,8 @@ declare namespace gapi.client {
207
254
  * principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
208
255
  * 1,450 principals to the `bindings` in the `Policy`.
209
256
  */
210
- bindings?: Binding[];
257
+ bindings?:
258
+ Binding[];
211
259
  /**
212
260
  * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
213
261
  * use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
@@ -215,7 +263,8 @@ declare namespace gapi.client {
215
263
  * Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
216
264
  * policy, and all of the conditions in the version `3` policy are lost.
217
265
  */
218
- etag?: string;
266
+ etag?:
267
+ string;
219
268
  /**
220
269
  * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
221
270
  * must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
@@ -224,39 +273,50 @@ declare namespace gapi.client {
224
273
  * policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
225
274
  * the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
226
275
  */
227
- version?: number;
276
+ version?:
277
+ number;
228
278
  }
229
279
  interface PolicyDelegationSettings {
230
280
  /** Permission to check in IAM. */
231
- iamPermission?: string;
281
+ iamPermission?:
282
+ string;
232
283
  /**
233
284
  * The DNS name of the service (e.g. "resourcemanager.googleapis.com"). This should be the domain name part of the full resource names (see https://aip.dev/122#full-resource-names),
234
285
  * which is usually the same as IamServiceSpec.service of the service where the resource type is defined.
235
286
  */
236
- iamServiceName?: string;
287
+ iamServiceName?:
288
+ string;
237
289
  /** Policy name to be checked */
238
- policyName?: PolicyName;
290
+ policyName?:
291
+ PolicyName;
239
292
  /** IAM resource to check permission on */
240
- resource?: Resource;
293
+ resource?:
294
+ Resource;
241
295
  }
242
296
  interface PolicyName {
243
297
  /** Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment. */
244
- id?: string;
298
+ id?:
299
+ string;
245
300
  /**
246
301
  * For Cloud IAM: The location of the Policy. Must be empty or "global" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM
247
302
  * Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to "local".
248
303
  */
249
- region?: string;
304
+ region?:
305
+ string;
250
306
  /** Resource type. Types are defined in IAM's .service files. Valid values for type might be 'gce', 'gcs', 'project', 'account' etc. */
251
- type?: string;
307
+ type?:
308
+ string;
252
309
  }
253
310
  interface ReauthSettings {
254
311
  /** Reauth session lifetime, how long before a user has to reauthenticate again. */
255
- maxAge?: string;
312
+ maxAge?:
313
+ string;
256
314
  /** Reauth method requested. */
257
- method?: string;
315
+ method?:
316
+ string;
258
317
  /** How IAP determines the effective policy in cases of hierarchial policies. Policies are merged from higher in the hierarchy to lower in the hierarchy. */
259
- policyType?: string;
318
+ policyType?:
319
+ string;
260
320
  }
261
321
  // tslint:disable-next-line:no-empty-interface
262
322
  interface ResetIdentityAwareProxyClientSecretRequest {
@@ -269,108 +329,143 @@ declare namespace gapi.client {
269
329
  * Conditions, leave this field empty. Before planning on using this attribute please: * Read go/iam-conditions-labels-comm and ensure your service can meet the data availability and
270
330
  * management requirements. * Talk to iam-conditions-eng@ about your use case.
271
331
  */
272
- labels?: { [P in string]: string };
332
+ labels?:
333
+ { [P in string]: string };
273
334
  /**
274
335
  * Name of the resource on which conditions will be evaluated. Must use the Relative Resource Name of the resource, which is the URI path of the resource without the leading "/".
275
336
  * Examples are "projects/_/buckets/[BUCKET-ID]" for storage buckets or "projects/[PROJECT-ID]/global/firewalls/[FIREWALL-ID]" for a firewall. This field is required for evaluating
276
337
  * conditions with rules on resource names. For a `list` permission check, the resource.name value must be set to the parent resource. If the parent resource is a project, this field
277
338
  * should be left unset.
278
339
  */
279
- name?: string;
340
+ name?:
341
+ string;
280
342
  /**
281
343
  * The name of the service this resource belongs to. It is configured using the official_service_name of the Service as defined in service configurations under
282
344
  * //configs/cloud/resourcetypes. For example, the official_service_name of cloud resource manager service is set as 'cloudresourcemanager.googleapis.com' according to
283
345
  * //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml
284
346
  */
285
- service?: string;
347
+ service?:
348
+ string;
286
349
  /**
287
350
  * The public resource type name of the resource on which conditions will be evaluated. It is configured using the official_name of the ResourceType as defined in service
288
351
  * configurations under //configs/cloud/resourcetypes. For example, the official_name for GCP projects is set as 'cloudresourcemanager.googleapis.com/Project' according to
289
352
  * //configs/cloud/resourcetypes/google/cloud/resourcemanager/prod.yaml For details see go/iam-conditions-integration-guide.
290
353
  */
291
- type?: string;
354
+ type?:
355
+ string;
292
356
  }
293
357
  interface SetIamPolicyRequest {
294
358
  /**
295
359
  * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
296
360
  * services (such as Projects) might reject them.
297
361
  */
298
- policy?: Policy;
362
+ policy?:
363
+ Policy;
299
364
  }
300
365
  interface TestIamPermissionsRequest {
301
366
  /**
302
367
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
303
368
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
304
369
  */
305
- permissions?: string[];
370
+ permissions?:
371
+ string[];
306
372
  }
307
373
  interface TestIamPermissionsResponse {
308
374
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
309
- permissions?: string[];
375
+ permissions?:
376
+ string[];
310
377
  }
311
378
  interface TunnelDestGroup {
312
379
  /** Unordered list. List of CIDRs that this group applies to. */
313
- cidrs?: string[];
380
+ cidrs?:
381
+ string[];
314
382
  /** Unordered list. List of FQDNs that this group applies to. */
315
- fqdns?: string[];
383
+ fqdns?:
384
+ string[];
316
385
  /** Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-). */
317
- name?: string;
386
+ name?:
387
+ string;
318
388
  }
319
389
  interface IdentityAwareProxyClientsResource {
320
390
  /** Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use. */
321
391
  create(request: {
322
392
  /** V1 error format. */
323
- "$.xgafv"?: string;
393
+ "$.xgafv"?:
394
+ string;
324
395
  /** OAuth access token. */
325
- access_token?: string;
396
+ access_token?:
397
+ string;
326
398
  /** Data format for response. */
327
- alt?: string;
399
+ alt?:
400
+ string;
328
401
  /** JSONP */
329
- callback?: string;
402
+ callback?:
403
+ string;
330
404
  /** Selector specifying which fields to include in a partial response. */
331
- fields?: string;
405
+ fields?:
406
+ string;
332
407
  /** 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. */
333
- key?: string;
408
+ key?:
409
+ string;
334
410
  /** OAuth 2.0 token for the current user. */
335
- oauth_token?: string;
411
+ oauth_token?:
412
+ string;
336
413
  /** Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a G Suite account. */
337
- parent: string;
414
+ parent:
415
+ string;
338
416
  /** Returns response with indentations and line breaks. */
339
- prettyPrint?: boolean;
417
+ prettyPrint?:
418
+ boolean;
340
419
  /** 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. */
341
- quotaUser?: string;
420
+ quotaUser?:
421
+ string;
342
422
  /** Upload protocol for media (e.g. "raw", "multipart"). */
343
- upload_protocol?: string;
423
+ upload_protocol?:
424
+ string;
344
425
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
345
- uploadType?: string;
426
+ uploadType?:
427
+ string;
346
428
  /** Request body */
347
- resource: IdentityAwareProxyClient;
429
+ resource:
430
+ IdentityAwareProxyClient;
348
431
  }): Request<IdentityAwareProxyClient>;
349
432
  create(request: {
350
433
  /** V1 error format. */
351
- "$.xgafv"?: string;
434
+ "$.xgafv"?:
435
+ string;
352
436
  /** OAuth access token. */
353
- access_token?: string;
437
+ access_token?:
438
+ string;
354
439
  /** Data format for response. */
355
- alt?: string;
440
+ alt?:
441
+ string;
356
442
  /** JSONP */
357
- callback?: string;
443
+ callback?:
444
+ string;
358
445
  /** Selector specifying which fields to include in a partial response. */
359
- fields?: string;
446
+ fields?:
447
+ string;
360
448
  /** 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. */
361
- key?: string;
449
+ key?:
450
+ string;
362
451
  /** OAuth 2.0 token for the current user. */
363
- oauth_token?: string;
452
+ oauth_token?:
453
+ string;
364
454
  /** Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a G Suite account. */
365
- parent: string;
455
+ parent:
456
+ string;
366
457
  /** Returns response with indentations and line breaks. */
367
- prettyPrint?: boolean;
458
+ prettyPrint?:
459
+ boolean;
368
460
  /** 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. */
369
- quotaUser?: string;
461
+ quotaUser?:
462
+ string;
370
463
  /** Upload protocol for media (e.g. "raw", "multipart"). */
371
- upload_protocol?: string;
464
+ upload_protocol?:
465
+ string;
372
466
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
373
- uploadType?: string;
467
+ uploadType?:
468
+ string;
374
469
  },
375
470
  body: IdentityAwareProxyClient): Request<IdentityAwareProxyClient>;
376
471
  /**
@@ -379,154 +474,217 @@ declare namespace gapi.client {
379
474
  */
380
475
  delete(request?: {
381
476
  /** V1 error format. */
382
- "$.xgafv"?: string;
477
+ "$.xgafv"?:
478
+ string;
383
479
  /** OAuth access token. */
384
- access_token?: string;
480
+ access_token?:
481
+ string;
385
482
  /** Data format for response. */
386
- alt?: string;
483
+ alt?:
484
+ string;
387
485
  /** JSONP */
388
- callback?: string;
486
+ callback?:
487
+ string;
389
488
  /** Selector specifying which fields to include in a partial response. */
390
- fields?: string;
489
+ fields?:
490
+ string;
391
491
  /** 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. */
392
- key?: string;
492
+ key?:
493
+ string;
393
494
  /** Required. Name of the Identity Aware Proxy client to be deleted. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. */
394
- name: string;
495
+ name:
496
+ string;
395
497
  /** OAuth 2.0 token for the current user. */
396
- oauth_token?: string;
498
+ oauth_token?:
499
+ string;
397
500
  /** Returns response with indentations and line breaks. */
398
- prettyPrint?: boolean;
501
+ prettyPrint?:
502
+ boolean;
399
503
  /** 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. */
400
- quotaUser?: string;
504
+ quotaUser?:
505
+ string;
401
506
  /** Upload protocol for media (e.g. "raw", "multipart"). */
402
- upload_protocol?: string;
507
+ upload_protocol?:
508
+ string;
403
509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
404
- uploadType?: string;
510
+ uploadType?:
511
+ string;
405
512
  }): Request<{}>;
406
513
  /** Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP. */
407
514
  get(request?: {
408
515
  /** V1 error format. */
409
- "$.xgafv"?: string;
516
+ "$.xgafv"?:
517
+ string;
410
518
  /** OAuth access token. */
411
- access_token?: string;
519
+ access_token?:
520
+ string;
412
521
  /** Data format for response. */
413
- alt?: string;
522
+ alt?:
523
+ string;
414
524
  /** JSONP */
415
- callback?: string;
525
+ callback?:
526
+ string;
416
527
  /** Selector specifying which fields to include in a partial response. */
417
- fields?: string;
528
+ fields?:
529
+ string;
418
530
  /** 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. */
419
- key?: string;
531
+ key?:
532
+ string;
420
533
  /** Required. Name of the Identity Aware Proxy client to be fetched. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. */
421
- name: string;
534
+ name:
535
+ string;
422
536
  /** OAuth 2.0 token for the current user. */
423
- oauth_token?: string;
537
+ oauth_token?:
538
+ string;
424
539
  /** Returns response with indentations and line breaks. */
425
- prettyPrint?: boolean;
540
+ prettyPrint?:
541
+ boolean;
426
542
  /** 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. */
427
- quotaUser?: string;
543
+ quotaUser?:
544
+ string;
428
545
  /** Upload protocol for media (e.g. "raw", "multipart"). */
429
- upload_protocol?: string;
546
+ upload_protocol?:
547
+ string;
430
548
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
431
- uploadType?: string;
549
+ uploadType?:
550
+ string;
432
551
  }): Request<IdentityAwareProxyClient>;
433
552
  /** Lists the existing clients for the brand. */
434
553
  list(request?: {
435
554
  /** V1 error format. */
436
- "$.xgafv"?: string;
555
+ "$.xgafv"?:
556
+ string;
437
557
  /** OAuth access token. */
438
- access_token?: string;
558
+ access_token?:
559
+ string;
439
560
  /** Data format for response. */
440
- alt?: string;
561
+ alt?:
562
+ string;
441
563
  /** JSONP */
442
- callback?: string;
564
+ callback?:
565
+ string;
443
566
  /** Selector specifying which fields to include in a partial response. */
444
- fields?: string;
567
+ fields?:
568
+ string;
445
569
  /** 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. */
446
- key?: string;
570
+ key?:
571
+ string;
447
572
  /** OAuth 2.0 token for the current user. */
448
- oauth_token?: string;
573
+ oauth_token?:
574
+ string;
449
575
  /**
450
576
  * The maximum number of clients to return. The service may return fewer than this value. If unspecified, at most 100 clients will be returned. The maximum value is 1000; values
451
577
  * above 1000 will be coerced to 1000.
452
578
  */
453
- pageSize?: number;
579
+ pageSize?:
580
+ number;
454
581
  /**
455
582
  * A page token, received from a previous `ListIdentityAwareProxyClients` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
456
583
  * `ListIdentityAwareProxyClients` must match the call that provided the page token.
457
584
  */
458
- pageToken?: string;
585
+ pageToken?:
586
+ string;
459
587
  /** Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}. */
460
- parent: string;
588
+ parent:
589
+ string;
461
590
  /** Returns response with indentations and line breaks. */
462
- prettyPrint?: boolean;
591
+ prettyPrint?:
592
+ boolean;
463
593
  /** 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. */
464
- quotaUser?: string;
594
+ quotaUser?:
595
+ string;
465
596
  /** Upload protocol for media (e.g. "raw", "multipart"). */
466
- upload_protocol?: string;
597
+ upload_protocol?:
598
+ string;
467
599
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
468
- uploadType?: string;
600
+ uploadType?:
601
+ string;
469
602
  }): Request<ListIdentityAwareProxyClientsResponse>;
470
603
  /** Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP. */
471
604
  resetSecret(request: {
472
605
  /** V1 error format. */
473
- "$.xgafv"?: string;
606
+ "$.xgafv"?:
607
+ string;
474
608
  /** OAuth access token. */
475
- access_token?: string;
609
+ access_token?:
610
+ string;
476
611
  /** Data format for response. */
477
- alt?: string;
612
+ alt?:
613
+ string;
478
614
  /** JSONP */
479
- callback?: string;
615
+ callback?:
616
+ string;
480
617
  /** Selector specifying which fields to include in a partial response. */
481
- fields?: string;
618
+ fields?:
619
+ string;
482
620
  /** 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. */
483
- key?: string;
621
+ key?:
622
+ string;
484
623
  /**
485
624
  * Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format:
486
625
  * projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.
487
626
  */
488
- name: string;
627
+ name:
628
+ string;
489
629
  /** OAuth 2.0 token for the current user. */
490
- oauth_token?: string;
630
+ oauth_token?:
631
+ string;
491
632
  /** Returns response with indentations and line breaks. */
492
- prettyPrint?: boolean;
633
+ prettyPrint?:
634
+ boolean;
493
635
  /** 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. */
494
- quotaUser?: string;
636
+ quotaUser?:
637
+ string;
495
638
  /** Upload protocol for media (e.g. "raw", "multipart"). */
496
- upload_protocol?: string;
639
+ upload_protocol?:
640
+ string;
497
641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
498
- uploadType?: string;
642
+ uploadType?:
643
+ string;
499
644
  /** Request body */
500
- resource: ResetIdentityAwareProxyClientSecretRequest;
645
+ resource:
646
+ ResetIdentityAwareProxyClientSecretRequest;
501
647
  }): Request<IdentityAwareProxyClient>;
502
648
  resetSecret(request: {
503
649
  /** V1 error format. */
504
- "$.xgafv"?: string;
650
+ "$.xgafv"?:
651
+ string;
505
652
  /** OAuth access token. */
506
- access_token?: string;
653
+ access_token?:
654
+ string;
507
655
  /** Data format for response. */
508
- alt?: string;
656
+ alt?:
657
+ string;
509
658
  /** JSONP */
510
- callback?: string;
659
+ callback?:
660
+ string;
511
661
  /** Selector specifying which fields to include in a partial response. */
512
- fields?: string;
662
+ fields?:
663
+ string;
513
664
  /** 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. */
514
- key?: string;
665
+ key?:
666
+ string;
515
667
  /**
516
668
  * Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format:
517
669
  * projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.
518
670
  */
519
- name: string;
671
+ name:
672
+ string;
520
673
  /** OAuth 2.0 token for the current user. */
521
- oauth_token?: string;
674
+ oauth_token?:
675
+ string;
522
676
  /** Returns response with indentations and line breaks. */
523
- prettyPrint?: boolean;
677
+ prettyPrint?:
678
+ boolean;
524
679
  /** 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. */
525
- quotaUser?: string;
680
+ quotaUser?:
681
+ string;
526
682
  /** Upload protocol for media (e.g. "raw", "multipart"). */
527
- upload_protocol?: string;
683
+ upload_protocol?:
684
+ string;
528
685
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
529
- uploadType?: string;
686
+ uploadType?:
687
+ string;
530
688
  },
531
689
  body: ResetIdentityAwareProxyClientSecretRequest): Request<IdentityAwareProxyClient>;
532
690
  }
@@ -538,346 +696,492 @@ declare namespace gapi.client {
538
696
  */
539
697
  create(request: {
540
698
  /** V1 error format. */
541
- "$.xgafv"?: string;
699
+ "$.xgafv"?:
700
+ string;
542
701
  /** OAuth access token. */
543
- access_token?: string;
702
+ access_token?:
703
+ string;
544
704
  /** Data format for response. */
545
- alt?: string;
705
+ alt?:
706
+ string;
546
707
  /** JSONP */
547
- callback?: string;
708
+ callback?:
709
+ string;
548
710
  /** Selector specifying which fields to include in a partial response. */
549
- fields?: string;
711
+ fields?:
712
+ string;
550
713
  /** 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. */
551
- key?: string;
714
+ key?:
715
+ string;
552
716
  /** OAuth 2.0 token for the current user. */
553
- oauth_token?: string;
717
+ oauth_token?:
718
+ string;
554
719
  /** Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}. */
555
- parent: string;
720
+ parent:
721
+ string;
556
722
  /** Returns response with indentations and line breaks. */
557
- prettyPrint?: boolean;
723
+ prettyPrint?:
724
+ boolean;
558
725
  /** 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. */
559
- quotaUser?: string;
726
+ quotaUser?:
727
+ string;
560
728
  /** Upload protocol for media (e.g. "raw", "multipart"). */
561
- upload_protocol?: string;
729
+ upload_protocol?:
730
+ string;
562
731
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
563
- uploadType?: string;
732
+ uploadType?:
733
+ string;
564
734
  /** Request body */
565
- resource: Brand;
735
+ resource:
736
+ Brand;
566
737
  }): Request<Brand>;
567
738
  create(request: {
568
739
  /** V1 error format. */
569
- "$.xgafv"?: string;
740
+ "$.xgafv"?:
741
+ string;
570
742
  /** OAuth access token. */
571
- access_token?: string;
743
+ access_token?:
744
+ string;
572
745
  /** Data format for response. */
573
- alt?: string;
746
+ alt?:
747
+ string;
574
748
  /** JSONP */
575
- callback?: string;
749
+ callback?:
750
+ string;
576
751
  /** Selector specifying which fields to include in a partial response. */
577
- fields?: string;
752
+ fields?:
753
+ string;
578
754
  /** 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. */
579
- key?: string;
755
+ key?:
756
+ string;
580
757
  /** OAuth 2.0 token for the current user. */
581
- oauth_token?: string;
758
+ oauth_token?:
759
+ string;
582
760
  /** Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}. */
583
- parent: string;
761
+ parent:
762
+ string;
584
763
  /** Returns response with indentations and line breaks. */
585
- prettyPrint?: boolean;
764
+ prettyPrint?:
765
+ boolean;
586
766
  /** 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. */
587
- quotaUser?: string;
767
+ quotaUser?:
768
+ string;
588
769
  /** Upload protocol for media (e.g. "raw", "multipart"). */
589
- upload_protocol?: string;
770
+ upload_protocol?:
771
+ string;
590
772
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
591
- uploadType?: string;
773
+ uploadType?:
774
+ string;
592
775
  },
593
776
  body: Brand): Request<Brand>;
594
777
  /** Retrieves the OAuth brand of the project. */
595
778
  get(request?: {
596
779
  /** V1 error format. */
597
- "$.xgafv"?: string;
780
+ "$.xgafv"?:
781
+ string;
598
782
  /** OAuth access token. */
599
- access_token?: string;
783
+ access_token?:
784
+ string;
600
785
  /** Data format for response. */
601
- alt?: string;
786
+ alt?:
787
+ string;
602
788
  /** JSONP */
603
- callback?: string;
789
+ callback?:
790
+ string;
604
791
  /** Selector specifying which fields to include in a partial response. */
605
- fields?: string;
792
+ fields?:
793
+ string;
606
794
  /** 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. */
607
- key?: string;
795
+ key?:
796
+ string;
608
797
  /** Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}. */
609
- name: string;
798
+ name:
799
+ string;
610
800
  /** OAuth 2.0 token for the current user. */
611
- oauth_token?: string;
801
+ oauth_token?:
802
+ string;
612
803
  /** Returns response with indentations and line breaks. */
613
- prettyPrint?: boolean;
804
+ prettyPrint?:
805
+ boolean;
614
806
  /** 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. */
615
- quotaUser?: string;
807
+ quotaUser?:
808
+ string;
616
809
  /** Upload protocol for media (e.g. "raw", "multipart"). */
617
- upload_protocol?: string;
810
+ upload_protocol?:
811
+ string;
618
812
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
619
- uploadType?: string;
813
+ uploadType?:
814
+ string;
620
815
  }): Request<Brand>;
621
816
  /** Lists the existing brands for the project. */
622
817
  list(request?: {
623
818
  /** V1 error format. */
624
- "$.xgafv"?: string;
819
+ "$.xgafv"?:
820
+ string;
625
821
  /** OAuth access token. */
626
- access_token?: string;
822
+ access_token?:
823
+ string;
627
824
  /** Data format for response. */
628
- alt?: string;
825
+ alt?:
826
+ string;
629
827
  /** JSONP */
630
- callback?: string;
828
+ callback?:
829
+ string;
631
830
  /** Selector specifying which fields to include in a partial response. */
632
- fields?: string;
831
+ fields?:
832
+ string;
633
833
  /** 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. */
634
- key?: string;
834
+ key?:
835
+ string;
635
836
  /** OAuth 2.0 token for the current user. */
636
- oauth_token?: string;
837
+ oauth_token?:
838
+ string;
637
839
  /** Required. GCP Project number/id. In the following format: projects/{project_number/id}. */
638
- parent: string;
840
+ parent:
841
+ string;
639
842
  /** Returns response with indentations and line breaks. */
640
- prettyPrint?: boolean;
843
+ prettyPrint?:
844
+ boolean;
641
845
  /** 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. */
642
- quotaUser?: string;
846
+ quotaUser?:
847
+ string;
643
848
  /** Upload protocol for media (e.g. "raw", "multipart"). */
644
- upload_protocol?: string;
849
+ upload_protocol?:
850
+ string;
645
851
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
646
- uploadType?: string;
852
+ uploadType?:
853
+ string;
647
854
  }): Request<ListBrandsResponse>;
648
- identityAwareProxyClients: IdentityAwareProxyClientsResource;
855
+ identityAwareProxyClients:
856
+ IdentityAwareProxyClientsResource;
649
857
  }
650
858
  interface DestGroupsResource {
651
859
  /** Creates a new TunnelDestGroup. */
652
860
  create(request: {
653
861
  /** V1 error format. */
654
- "$.xgafv"?: string;
862
+ "$.xgafv"?:
863
+ string;
655
864
  /** OAuth access token. */
656
- access_token?: string;
865
+ access_token?:
866
+ string;
657
867
  /** Data format for response. */
658
- alt?: string;
868
+ alt?:
869
+ string;
659
870
  /** JSONP */
660
- callback?: string;
871
+ callback?:
872
+ string;
661
873
  /** Selector specifying which fields to include in a partial response. */
662
- fields?: string;
874
+ fields?:
875
+ string;
663
876
  /** 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. */
664
- key?: string;
877
+ key?:
878
+ string;
665
879
  /** OAuth 2.0 token for the current user. */
666
- oauth_token?: string;
880
+ oauth_token?:
881
+ string;
667
882
  /** Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. */
668
- parent: string;
883
+ parent:
884
+ string;
669
885
  /** Returns response with indentations and line breaks. */
670
- prettyPrint?: boolean;
886
+ prettyPrint?:
887
+ boolean;
671
888
  /** 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. */
672
- quotaUser?: string;
889
+ quotaUser?:
890
+ string;
673
891
  /** Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are `[a-z]-`. */
674
- tunnelDestGroupId?: string;
892
+ tunnelDestGroupId?:
893
+ string;
675
894
  /** Upload protocol for media (e.g. "raw", "multipart"). */
676
- upload_protocol?: string;
895
+ upload_protocol?:
896
+ string;
677
897
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
678
- uploadType?: string;
898
+ uploadType?:
899
+ string;
679
900
  /** Request body */
680
- resource: TunnelDestGroup;
901
+ resource:
902
+ TunnelDestGroup;
681
903
  }): Request<TunnelDestGroup>;
682
904
  create(request: {
683
905
  /** V1 error format. */
684
- "$.xgafv"?: string;
906
+ "$.xgafv"?:
907
+ string;
685
908
  /** OAuth access token. */
686
- access_token?: string;
909
+ access_token?:
910
+ string;
687
911
  /** Data format for response. */
688
- alt?: string;
912
+ alt?:
913
+ string;
689
914
  /** JSONP */
690
- callback?: string;
915
+ callback?:
916
+ string;
691
917
  /** Selector specifying which fields to include in a partial response. */
692
- fields?: string;
918
+ fields?:
919
+ string;
693
920
  /** 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. */
694
- key?: string;
921
+ key?:
922
+ string;
695
923
  /** OAuth 2.0 token for the current user. */
696
- oauth_token?: string;
924
+ oauth_token?:
925
+ string;
697
926
  /** Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. */
698
- parent: string;
927
+ parent:
928
+ string;
699
929
  /** Returns response with indentations and line breaks. */
700
- prettyPrint?: boolean;
930
+ prettyPrint?:
931
+ boolean;
701
932
  /** 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. */
702
- quotaUser?: string;
933
+ quotaUser?:
934
+ string;
703
935
  /** Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are `[a-z]-`. */
704
- tunnelDestGroupId?: string;
936
+ tunnelDestGroupId?:
937
+ string;
705
938
  /** Upload protocol for media (e.g. "raw", "multipart"). */
706
- upload_protocol?: string;
939
+ upload_protocol?:
940
+ string;
707
941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
708
- uploadType?: string;
942
+ uploadType?:
943
+ string;
709
944
  },
710
945
  body: TunnelDestGroup): Request<TunnelDestGroup>;
711
946
  /** Deletes a TunnelDestGroup. */
712
947
  delete(request?: {
713
948
  /** V1 error format. */
714
- "$.xgafv"?: string;
949
+ "$.xgafv"?:
950
+ string;
715
951
  /** OAuth access token. */
716
- access_token?: string;
952
+ access_token?:
953
+ string;
717
954
  /** Data format for response. */
718
- alt?: string;
955
+ alt?:
956
+ string;
719
957
  /** JSONP */
720
- callback?: string;
958
+ callback?:
959
+ string;
721
960
  /** Selector specifying which fields to include in a partial response. */
722
- fields?: string;
961
+ fields?:
962
+ string;
723
963
  /** 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. */
724
- key?: string;
964
+ key?:
965
+ string;
725
966
  /** Required. Name of the TunnelDestGroup to delete. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`. */
726
- name: string;
967
+ name:
968
+ string;
727
969
  /** OAuth 2.0 token for the current user. */
728
- oauth_token?: string;
970
+ oauth_token?:
971
+ string;
729
972
  /** Returns response with indentations and line breaks. */
730
- prettyPrint?: boolean;
973
+ prettyPrint?:
974
+ boolean;
731
975
  /** 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. */
732
- quotaUser?: string;
976
+ quotaUser?:
977
+ string;
733
978
  /** Upload protocol for media (e.g. "raw", "multipart"). */
734
- upload_protocol?: string;
979
+ upload_protocol?:
980
+ string;
735
981
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
736
- uploadType?: string;
982
+ uploadType?:
983
+ string;
737
984
  }): Request<{}>;
738
985
  /** Retrieves an existing TunnelDestGroup. */
739
986
  get(request?: {
740
987
  /** V1 error format. */
741
- "$.xgafv"?: string;
988
+ "$.xgafv"?:
989
+ string;
742
990
  /** OAuth access token. */
743
- access_token?: string;
991
+ access_token?:
992
+ string;
744
993
  /** Data format for response. */
745
- alt?: string;
994
+ alt?:
995
+ string;
746
996
  /** JSONP */
747
- callback?: string;
997
+ callback?:
998
+ string;
748
999
  /** Selector specifying which fields to include in a partial response. */
749
- fields?: string;
1000
+ fields?:
1001
+ string;
750
1002
  /** 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. */
751
- key?: string;
1003
+ key?:
1004
+ string;
752
1005
  /** Required. Name of the TunnelDestGroup to be fetched. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`. */
753
- name: string;
1006
+ name:
1007
+ string;
754
1008
  /** OAuth 2.0 token for the current user. */
755
- oauth_token?: string;
1009
+ oauth_token?:
1010
+ string;
756
1011
  /** Returns response with indentations and line breaks. */
757
- prettyPrint?: boolean;
1012
+ prettyPrint?:
1013
+ boolean;
758
1014
  /** 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. */
759
- quotaUser?: string;
1015
+ quotaUser?:
1016
+ string;
760
1017
  /** Upload protocol for media (e.g. "raw", "multipart"). */
761
- upload_protocol?: string;
1018
+ upload_protocol?:
1019
+ string;
762
1020
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
763
- uploadType?: string;
1021
+ uploadType?:
1022
+ string;
764
1023
  }): Request<TunnelDestGroup>;
765
1024
  /** Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For example: `/v1/projects/123/iap_tunnel/locations/-/destGroups` */
766
1025
  list(request?: {
767
1026
  /** V1 error format. */
768
- "$.xgafv"?: string;
1027
+ "$.xgafv"?:
1028
+ string;
769
1029
  /** OAuth access token. */
770
- access_token?: string;
1030
+ access_token?:
1031
+ string;
771
1032
  /** Data format for response. */
772
- alt?: string;
1033
+ alt?:
1034
+ string;
773
1035
  /** JSONP */
774
- callback?: string;
1036
+ callback?:
1037
+ string;
775
1038
  /** Selector specifying which fields to include in a partial response. */
776
- fields?: string;
1039
+ fields?:
1040
+ string;
777
1041
  /** 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. */
778
- key?: string;
1042
+ key?:
1043
+ string;
779
1044
  /** OAuth 2.0 token for the current user. */
780
- oauth_token?: string;
1045
+ oauth_token?:
1046
+ string;
781
1047
  /**
782
1048
  * The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above
783
1049
  * 1000 are coerced to 1000.
784
1050
  */
785
- pageSize?: number;
1051
+ pageSize?:
1052
+ number;
786
1053
  /**
787
1054
  * A page token, received from a previous `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
788
1055
  * `ListTunnelDestGroups` must match the call that provided the page token.
789
1056
  */
790
- pageToken?: string;
1057
+ pageToken?:
1058
+ string;
791
1059
  /**
792
1060
  * Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. A `-` can be used for the location to
793
1061
  * group across all locations.
794
1062
  */
795
- parent: string;
1063
+ parent:
1064
+ string;
796
1065
  /** Returns response with indentations and line breaks. */
797
- prettyPrint?: boolean;
1066
+ prettyPrint?:
1067
+ boolean;
798
1068
  /** 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. */
799
- quotaUser?: string;
1069
+ quotaUser?:
1070
+ string;
800
1071
  /** Upload protocol for media (e.g. "raw", "multipart"). */
801
- upload_protocol?: string;
1072
+ upload_protocol?:
1073
+ string;
802
1074
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
803
- uploadType?: string;
1075
+ uploadType?:
1076
+ string;
804
1077
  }): Request<ListTunnelDestGroupsResponse>;
805
1078
  /** Updates a TunnelDestGroup. */
806
1079
  patch(request: {
807
1080
  /** V1 error format. */
808
- "$.xgafv"?: string;
1081
+ "$.xgafv"?:
1082
+ string;
809
1083
  /** OAuth access token. */
810
- access_token?: string;
1084
+ access_token?:
1085
+ string;
811
1086
  /** Data format for response. */
812
- alt?: string;
1087
+ alt?:
1088
+ string;
813
1089
  /** JSONP */
814
- callback?: string;
1090
+ callback?:
1091
+ string;
815
1092
  /** Selector specifying which fields to include in a partial response. */
816
- fields?: string;
1093
+ fields?:
1094
+ string;
817
1095
  /** 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. */
818
- key?: string;
1096
+ key?:
1097
+ string;
819
1098
  /** Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-). */
820
- name: string;
1099
+ name:
1100
+ string;
821
1101
  /** OAuth 2.0 token for the current user. */
822
- oauth_token?: string;
1102
+ oauth_token?:
1103
+ string;
823
1104
  /** Returns response with indentations and line breaks. */
824
- prettyPrint?: boolean;
1105
+ prettyPrint?:
1106
+ boolean;
825
1107
  /** 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. */
826
- quotaUser?: string;
1108
+ quotaUser?:
1109
+ string;
827
1110
  /**
828
1111
  * A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See
829
1112
  * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
830
1113
  */
831
- updateMask?: string;
1114
+ updateMask?:
1115
+ string;
832
1116
  /** Upload protocol for media (e.g. "raw", "multipart"). */
833
- upload_protocol?: string;
1117
+ upload_protocol?:
1118
+ string;
834
1119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
835
- uploadType?: string;
1120
+ uploadType?:
1121
+ string;
836
1122
  /** Request body */
837
- resource: TunnelDestGroup;
1123
+ resource:
1124
+ TunnelDestGroup;
838
1125
  }): Request<TunnelDestGroup>;
839
1126
  patch(request: {
840
1127
  /** V1 error format. */
841
- "$.xgafv"?: string;
1128
+ "$.xgafv"?:
1129
+ string;
842
1130
  /** OAuth access token. */
843
- access_token?: string;
1131
+ access_token?:
1132
+ string;
844
1133
  /** Data format for response. */
845
- alt?: string;
1134
+ alt?:
1135
+ string;
846
1136
  /** JSONP */
847
- callback?: string;
1137
+ callback?:
1138
+ string;
848
1139
  /** Selector specifying which fields to include in a partial response. */
849
- fields?: string;
1140
+ fields?:
1141
+ string;
850
1142
  /** 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. */
851
- key?: string;
1143
+ key?:
1144
+ string;
852
1145
  /** Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-). */
853
- name: string;
1146
+ name:
1147
+ string;
854
1148
  /** OAuth 2.0 token for the current user. */
855
- oauth_token?: string;
1149
+ oauth_token?:
1150
+ string;
856
1151
  /** Returns response with indentations and line breaks. */
857
- prettyPrint?: boolean;
1152
+ prettyPrint?:
1153
+ boolean;
858
1154
  /** 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. */
859
- quotaUser?: string;
1155
+ quotaUser?:
1156
+ string;
860
1157
  /**
861
1158
  * A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See
862
1159
  * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
863
1160
  */
864
- updateMask?: string;
1161
+ updateMask?:
1162
+ string;
865
1163
  /** Upload protocol for media (e.g. "raw", "multipart"). */
866
- upload_protocol?: string;
1164
+ upload_protocol?:
1165
+ string;
867
1166
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
868
- uploadType?: string;
1167
+ uploadType?:
1168
+ string;
869
1169
  },
870
1170
  body: TunnelDestGroup): Request<TunnelDestGroup>;
871
1171
  }
872
1172
  interface LocationsResource {
873
- destGroups: DestGroupsResource;
1173
+ destGroups:
1174
+ DestGroupsResource;
874
1175
  }
875
1176
  interface Iap_tunnelResource {
876
- locations: LocationsResource;
1177
+ locations:
1178
+ LocationsResource;
877
1179
  }
878
1180
  interface ProjectsResource {
879
- brands: BrandsResource;
880
- iap_tunnel: Iap_tunnelResource;
1181
+ brands:
1182
+ BrandsResource;
1183
+ iap_tunnel:
1184
+ Iap_tunnelResource;
881
1185
  }
882
1186
  interface V1Resource {
883
1187
  /**
@@ -886,60 +1190,84 @@ declare namespace gapi.client {
886
1190
  */
887
1191
  getIamPolicy(request: {
888
1192
  /** V1 error format. */
889
- "$.xgafv"?: string;
1193
+ "$.xgafv"?:
1194
+ string;
890
1195
  /** OAuth access token. */
891
- access_token?: string;
1196
+ access_token?:
1197
+ string;
892
1198
  /** Data format for response. */
893
- alt?: string;
1199
+ alt?:
1200
+ string;
894
1201
  /** JSONP */
895
- callback?: string;
1202
+ callback?:
1203
+ string;
896
1204
  /** Selector specifying which fields to include in a partial response. */
897
- fields?: string;
1205
+ fields?:
1206
+ string;
898
1207
  /** 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. */
899
- key?: string;
1208
+ key?:
1209
+ string;
900
1210
  /** OAuth 2.0 token for the current user. */
901
- oauth_token?: string;
1211
+ oauth_token?:
1212
+ string;
902
1213
  /** Returns response with indentations and line breaks. */
903
- prettyPrint?: boolean;
1214
+ prettyPrint?:
1215
+ boolean;
904
1216
  /** 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. */
905
- quotaUser?: string;
1217
+ quotaUser?:
1218
+ string;
906
1219
  /**
907
1220
  * 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
908
1221
  * field.
909
1222
  */
910
- resource: string;
1223
+ resource:
1224
+ string;
911
1225
  /** Upload protocol for media (e.g. "raw", "multipart"). */
912
- upload_protocol?: string;
1226
+ upload_protocol?:
1227
+ string;
913
1228
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
914
- uploadType?: string;
1229
+ uploadType?:
1230
+ string;
915
1231
  },
916
1232
  body: GetIamPolicyRequest): Request<Policy>;
917
1233
  /** Gets the IAP settings on a particular IAP protected resource. */
918
1234
  getIapSettings(request?: {
919
1235
  /** V1 error format. */
920
- "$.xgafv"?: string;
1236
+ "$.xgafv"?:
1237
+ string;
921
1238
  /** OAuth access token. */
922
- access_token?: string;
1239
+ access_token?:
1240
+ string;
923
1241
  /** Data format for response. */
924
- alt?: string;
1242
+ alt?:
1243
+ string;
925
1244
  /** JSONP */
926
- callback?: string;
1245
+ callback?:
1246
+ string;
927
1247
  /** Selector specifying which fields to include in a partial response. */
928
- fields?: string;
1248
+ fields?:
1249
+ string;
929
1250
  /** 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. */
930
- key?: string;
1251
+ key?:
1252
+ string;
931
1253
  /** Required. The resource name for which to retrieve the settings. Authorization: Requires the `getSettings` permission for the associated resource. */
932
- name: string;
1254
+ name:
1255
+ string;
933
1256
  /** OAuth 2.0 token for the current user. */
934
- oauth_token?: string;
1257
+ oauth_token?:
1258
+ string;
935
1259
  /** Returns response with indentations and line breaks. */
936
- prettyPrint?: boolean;
1260
+ prettyPrint?:
1261
+ boolean;
937
1262
  /** 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. */
938
- quotaUser?: string;
1263
+ quotaUser?:
1264
+ string;
939
1265
  /** Upload protocol for media (e.g. "raw", "multipart"). */
940
- upload_protocol?: string;
1266
+ upload_protocol?:
1267
+ string;
941
1268
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
942
- uploadType?: string;
1269
+ uploadType?:
1270
+ string;
943
1271
  }): Request<IapSettings>;
944
1272
  /**
945
1273
  * Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at:
@@ -947,32 +1275,44 @@ declare namespace gapi.client {
947
1275
  */
948
1276
  setIamPolicy(request: {
949
1277
  /** V1 error format. */
950
- "$.xgafv"?: string;
1278
+ "$.xgafv"?:
1279
+ string;
951
1280
  /** OAuth access token. */
952
- access_token?: string;
1281
+ access_token?:
1282
+ string;
953
1283
  /** Data format for response. */
954
- alt?: string;
1284
+ alt?:
1285
+ string;
955
1286
  /** JSONP */
956
- callback?: string;
1287
+ callback?:
1288
+ string;
957
1289
  /** Selector specifying which fields to include in a partial response. */
958
- fields?: string;
1290
+ fields?:
1291
+ string;
959
1292
  /** 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. */
960
- key?: string;
1293
+ key?:
1294
+ string;
961
1295
  /** OAuth 2.0 token for the current user. */
962
- oauth_token?: string;
1296
+ oauth_token?:
1297
+ string;
963
1298
  /** Returns response with indentations and line breaks. */
964
- prettyPrint?: boolean;
1299
+ prettyPrint?:
1300
+ boolean;
965
1301
  /** 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. */
966
- quotaUser?: string;
1302
+ quotaUser?:
1303
+ string;
967
1304
  /**
968
1305
  * 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
969
1306
  * field.
970
1307
  */
971
- resource: string;
1308
+ resource:
1309
+ string;
972
1310
  /** Upload protocol for media (e.g. "raw", "multipart"). */
973
- upload_protocol?: string;
1311
+ upload_protocol?:
1312
+ string;
974
1313
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
975
- uploadType?: string;
1314
+ uploadType?:
1315
+ string;
976
1316
  },
977
1317
  body: SetIamPolicyRequest): Request<Policy>;
978
1318
  /**
@@ -981,100 +1321,139 @@ declare namespace gapi.client {
981
1321
  */
982
1322
  testIamPermissions(request: {
983
1323
  /** V1 error format. */
984
- "$.xgafv"?: string;
1324
+ "$.xgafv"?:
1325
+ string;
985
1326
  /** OAuth access token. */
986
- access_token?: string;
1327
+ access_token?:
1328
+ string;
987
1329
  /** Data format for response. */
988
- alt?: string;
1330
+ alt?:
1331
+ string;
989
1332
  /** JSONP */
990
- callback?: string;
1333
+ callback?:
1334
+ string;
991
1335
  /** Selector specifying which fields to include in a partial response. */
992
- fields?: string;
1336
+ fields?:
1337
+ string;
993
1338
  /** 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. */
994
- key?: string;
1339
+ key?:
1340
+ string;
995
1341
  /** OAuth 2.0 token for the current user. */
996
- oauth_token?: string;
1342
+ oauth_token?:
1343
+ string;
997
1344
  /** Returns response with indentations and line breaks. */
998
- prettyPrint?: boolean;
1345
+ prettyPrint?:
1346
+ boolean;
999
1347
  /** 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. */
1000
- quotaUser?: string;
1348
+ quotaUser?:
1349
+ string;
1001
1350
  /**
1002
1351
  * 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
1003
1352
  * this field.
1004
1353
  */
1005
- resource: string;
1354
+ resource:
1355
+ string;
1006
1356
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1007
- upload_protocol?: string;
1357
+ upload_protocol?:
1358
+ string;
1008
1359
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1009
- uploadType?: string;
1360
+ uploadType?:
1361
+ string;
1010
1362
  },
1011
1363
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1012
1364
  /** Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the `update_mask` is set. */
1013
1365
  updateIapSettings(request: {
1014
1366
  /** V1 error format. */
1015
- "$.xgafv"?: string;
1367
+ "$.xgafv"?:
1368
+ string;
1016
1369
  /** OAuth access token. */
1017
- access_token?: string;
1370
+ access_token?:
1371
+ string;
1018
1372
  /** Data format for response. */
1019
- alt?: string;
1373
+ alt?:
1374
+ string;
1020
1375
  /** JSONP */
1021
- callback?: string;
1376
+ callback?:
1377
+ string;
1022
1378
  /** Selector specifying which fields to include in a partial response. */
1023
- fields?: string;
1379
+ fields?:
1380
+ string;
1024
1381
  /** 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. */
1025
- key?: string;
1382
+ key?:
1383
+ string;
1026
1384
  /** Required. The resource name of the IAP protected resource. */
1027
- name: string;
1385
+ name:
1386
+ string;
1028
1387
  /** OAuth 2.0 token for the current user. */
1029
- oauth_token?: string;
1388
+ oauth_token?:
1389
+ string;
1030
1390
  /** Returns response with indentations and line breaks. */
1031
- prettyPrint?: boolean;
1391
+ prettyPrint?:
1392
+ boolean;
1032
1393
  /** 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. */
1033
- quotaUser?: string;
1394
+ quotaUser?:
1395
+ string;
1034
1396
  /**
1035
1397
  * The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See
1036
1398
  * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Note: All IAP reauth settings must always be set together, using the field mask:
1037
1399
  * `iapSettings.accessSettings.reauthSettings`.
1038
1400
  */
1039
- updateMask?: string;
1401
+ updateMask?:
1402
+ string;
1040
1403
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1041
- upload_protocol?: string;
1404
+ upload_protocol?:
1405
+ string;
1042
1406
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1043
- uploadType?: string;
1407
+ uploadType?:
1408
+ string;
1044
1409
  /** Request body */
1045
- resource: IapSettings;
1410
+ resource:
1411
+ IapSettings;
1046
1412
  }): Request<IapSettings>;
1047
1413
  updateIapSettings(request: {
1048
1414
  /** V1 error format. */
1049
- "$.xgafv"?: string;
1415
+ "$.xgafv"?:
1416
+ string;
1050
1417
  /** OAuth access token. */
1051
- access_token?: string;
1418
+ access_token?:
1419
+ string;
1052
1420
  /** Data format for response. */
1053
- alt?: string;
1421
+ alt?:
1422
+ string;
1054
1423
  /** JSONP */
1055
- callback?: string;
1424
+ callback?:
1425
+ string;
1056
1426
  /** Selector specifying which fields to include in a partial response. */
1057
- fields?: string;
1427
+ fields?:
1428
+ string;
1058
1429
  /** 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. */
1059
- key?: string;
1430
+ key?:
1431
+ string;
1060
1432
  /** Required. The resource name of the IAP protected resource. */
1061
- name: string;
1433
+ name:
1434
+ string;
1062
1435
  /** OAuth 2.0 token for the current user. */
1063
- oauth_token?: string;
1436
+ oauth_token?:
1437
+ string;
1064
1438
  /** Returns response with indentations and line breaks. */
1065
- prettyPrint?: boolean;
1439
+ prettyPrint?:
1440
+ boolean;
1066
1441
  /** 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. */
1067
- quotaUser?: string;
1442
+ quotaUser?:
1443
+ string;
1068
1444
  /**
1069
1445
  * The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See
1070
1446
  * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Note: All IAP reauth settings must always be set together, using the field mask:
1071
1447
  * `iapSettings.accessSettings.reauthSettings`.
1072
1448
  */
1073
- updateMask?: string;
1449
+ updateMask?:
1450
+ string;
1074
1451
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1075
- upload_protocol?: string;
1452
+ upload_protocol?:
1453
+ string;
1076
1454
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1077
- uploadType?: string;
1455
+ uploadType?:
1456
+ string;
1078
1457
  },
1079
1458
  body: IapSettings): Request<IapSettings>;
1080
1459
  }