@maxim_mazurok/gapi.client.cloudfunctions-v1 0.0.20230415 → 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 +823 -428
  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://cloudfunctions.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230415
12
+ // Revision: 20230427
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,18 +24,22 @@ declare namespace gapi.client {
24
24
  namespace cloudfunctions {
25
25
  interface AuditConfig {
26
26
  /** The configuration for logging of each type of permission. */
27
- auditLogConfigs?: AuditLogConfig[];
27
+ auditLogConfigs?:
28
+ AuditLogConfig[];
28
29
  /**
29
30
  * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
30
31
  * services.
31
32
  */
32
- service?: string;
33
+ service?:
34
+ string;
33
35
  }
34
36
  interface AuditLogConfig {
35
37
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
36
- exemptedMembers?: string[];
38
+ exemptedMembers?:
39
+ string[];
37
40
  /** The log type that this config enables. */
38
- logType?: string;
41
+ logType?:
42
+ string;
39
43
  }
40
44
  interface Binding {
41
45
  /**
@@ -43,7 +47,8 @@ declare namespace gapi.client {
43
47
  * 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
44
48
  * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
45
49
  */
46
- condition?: Expr;
50
+ condition?:
51
+ Expr;
47
52
  /**
48
53
  * 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
49
54
  * 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
@@ -60,65 +65,84 @@ declare namespace gapi.client {
60
65
  * 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
61
66
  * retains the role in the binding.
62
67
  */
63
- members?: string[];
68
+ members?:
69
+ string[];
64
70
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
65
- role?: string;
71
+ role?:
72
+ string;
66
73
  }
67
74
  interface CallFunctionRequest {
68
75
  /** Required. Input to be passed to the function. */
69
- data?: string;
76
+ data?:
77
+ string;
70
78
  }
71
79
  interface CallFunctionResponse {
72
80
  /** Either system or user-function generated error. Set if execution was not successful. */
73
- error?: string;
81
+ error?:
82
+ string;
74
83
  /** Execution id of function invocation. */
75
- executionId?: string;
84
+ executionId?:
85
+ string;
76
86
  /** Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context. */
77
- result?: string;
87
+ result?:
88
+ string;
78
89
  }
79
90
  interface CloudFunction {
80
91
  /** The amount of memory in MB available for a function. Defaults to 256MB. */
81
- availableMemoryMb?: number;
92
+ availableMemoryMb?:
93
+ number;
82
94
  /** Build environment variables that shall be available during build time. */
83
- buildEnvironmentVariables?: { [P in string]: string };
95
+ buildEnvironmentVariables?:
96
+ { [P in string]: string };
84
97
  /** Output only. The Cloud Build ID of the latest successful deployment of the function. */
85
- buildId?: string;
98
+ buildId?:
99
+ string;
86
100
  /** Output only. The Cloud Build Name of the function deployment. `projects//locations//builds/`. */
87
- buildName?: string;
101
+ buildName?:
102
+ string;
88
103
  /**
89
104
  * Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}`
90
105
  * where `{project}` and `{region}` are the project id and region respectively where the worker pool is defined and `{workerPool}` is the short name of the worker pool. If the project
91
106
  * id is not the same as the function, then the Cloud Functions Service Agent (`service-@gcf-admin-robot.iam.gserviceaccount.com`) must be granted the role Cloud Build Custom Workers
92
107
  * Builder (`roles/cloudbuild.customworkers.builder`) in the project.
93
108
  */
94
- buildWorkerPool?: string;
109
+ buildWorkerPool?:
110
+ string;
95
111
  /** User-provided description of a function. */
96
- description?: string;
112
+ description?:
113
+ string;
97
114
  /**
98
115
  * Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently
99
116
  * defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
100
117
  */
101
- dockerRegistry?: string;
118
+ dockerRegistry?:
119
+ string;
102
120
  /**
103
121
  * User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the
104
122
  * deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function
105
123
  * docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project
106
124
  * repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
107
125
  */
108
- dockerRepository?: string;
126
+ dockerRepository?:
127
+ string;
109
128
  /**
110
129
  * The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with
111
130
  * given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
112
131
  */
113
- entryPoint?: string;
132
+ entryPoint?:
133
+ string;
114
134
  /** Environment variables that shall be available during function execution. */
115
- environmentVariables?: { [P in string]: string };
135
+ environmentVariables?:
136
+ { [P in string]: string };
116
137
  /** A source that fires events in response to a condition in another service. */
117
- eventTrigger?: EventTrigger;
138
+ eventTrigger?:
139
+ EventTrigger;
118
140
  /** An HTTPS endpoint type of source that can be triggered via URL. */
119
- httpsTrigger?: HttpsTrigger;
141
+ httpsTrigger?:
142
+ HttpsTrigger;
120
143
  /** The ingress settings for the function, controlling what traffic can reach it. */
121
- ingressSettings?: string;
144
+ ingressSettings?:
145
+ string;
122
146
  /**
123
147
  * Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
124
148
  * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the
@@ -130,19 +154,24 @@ declare namespace gapi.client {
130
154
  * https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that
131
155
  * are not accessible by the end user.
132
156
  */
133
- kmsKeyName?: string;
157
+ kmsKeyName?:
158
+ string;
134
159
  /** Labels associated with this Cloud Function. */
135
- labels?: { [P in string]: string };
160
+ labels?:
161
+ { [P in string]: string };
136
162
  /**
137
163
  * The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time,
138
164
  * create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max
139
165
  * instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
140
166
  */
141
- maxInstances?: number;
167
+ maxInstances?:
168
+ number;
142
169
  /** A lower bound for the number function instances that may coexist at a given time. */
143
- minInstances?: number;
170
+ minInstances?:
171
+ number;
144
172
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
145
- name?: string;
173
+ name?:
174
+ string;
146
175
  /**
147
176
  * The VPC Network that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network resource. If the short network name is used, the
148
177
  * network must belong to the same project. Otherwise, it must belong to a project within the same organization. The format of this field is either
@@ -150,45 +179,60 @@ declare namespace gapi.client {
150
179
  * field is mutually exclusive with `vpc_connector` and will be replaced by it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on
151
180
  * connecting Cloud projects.
152
181
  */
153
- network?: string;
182
+ network?:
183
+ string;
154
184
  /**
155
185
  * The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the
156
186
  * [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
157
187
  */
158
- runtime?: string;
188
+ runtime?:
189
+ string;
159
190
  /** Secret environment variables configuration. */
160
- secretEnvironmentVariables?: SecretEnvVar[];
191
+ secretEnvironmentVariables?:
192
+ SecretEnvVar[];
161
193
  /** Secret volumes configuration. */
162
- secretVolumes?: SecretVolume[];
194
+ secretVolumes?:
195
+ SecretVolume[];
163
196
  /** The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`. */
164
- serviceAccountEmail?: string;
197
+ serviceAccountEmail?:
198
+ string;
165
199
  /** The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function. */
166
- sourceArchiveUrl?: string;
200
+ sourceArchiveUrl?:
201
+ string;
167
202
  /** **Beta Feature** The source repository where a function is hosted. */
168
- sourceRepository?: SourceRepository;
203
+ sourceRepository?:
204
+ SourceRepository;
169
205
  /** Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
170
- sourceToken?: string;
206
+ sourceToken?:
207
+ string;
171
208
  /**
172
209
  * The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods
173
210
  * (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
174
211
  */
175
- sourceUploadUrl?: string;
212
+ sourceUploadUrl?:
213
+ string;
176
214
  /** Output only. Status of the function deployment. */
177
- status?: string;
215
+ status?:
216
+ string;
178
217
  /** The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds. */
179
- timeout?: string;
218
+ timeout?:
219
+ string;
180
220
  /** Output only. The last update timestamp of a Cloud Function. */
181
- updateTime?: string;
221
+ updateTime?:
222
+ string;
182
223
  /** Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created. */
183
- versionId?: string;
224
+ versionId?:
225
+ string;
184
226
  /**
185
227
  * The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this
186
228
  * field is `projects/*‍/locations/*‍/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC
187
229
  * documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
188
230
  */
189
- vpcConnector?: string;
231
+ vpcConnector?:
232
+ string;
190
233
  /** The egress settings for the connector, controlling what traffic is diverted through it. */
191
- vpcConnectorEgressSettings?: string;
234
+ vpcConnectorEgressSettings?:
235
+ string;
192
236
  }
193
237
  interface EventTrigger {
194
238
  /**
@@ -197,9 +241,11 @@ declare namespace gapi.client {
197
241
  * which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud
198
242
  * Storage Object is 'change'. These parts are lower case.
199
243
  */
200
- eventType?: string;
244
+ eventType?:
245
+ string;
201
246
  /** Specifies policy for failed executions. */
202
- failurePolicy?: FailurePolicy;
247
+ failurePolicy?:
248
+ FailurePolicy;
203
249
  /**
204
250
  * Required. The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example:
205
251
  * 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The
@@ -207,34 +253,43 @@ declare namespace gapi.client {
207
253
  * that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long"
208
254
  * format. See each *service's* documentation for supported formats.
209
255
  */
210
- resource?: string;
256
+ resource?:
257
+ string;
211
258
  /**
212
259
  * The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the
213
260
  * default for all event types in the `google.storage` namespace.
214
261
  */
215
- service?: string;
262
+ service?:
263
+ string;
216
264
  }
217
265
  interface Expr {
218
266
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
219
- description?: string;
267
+ description?:
268
+ string;
220
269
  /** Textual representation of an expression in Common Expression Language syntax. */
221
- expression?: string;
270
+ expression?:
271
+ string;
222
272
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
223
- location?: string;
273
+ location?:
274
+ string;
224
275
  /** 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. */
225
- title?: string;
276
+ title?:
277
+ string;
226
278
  }
227
279
  interface FailurePolicy {
228
280
  /** If specified, then the function will be retried in case of a failure. */
229
- retry?: any;
281
+ retry?:
282
+ any;
230
283
  }
231
284
  interface GenerateDownloadUrlRequest {
232
285
  /** The optional version of function. If not set, default, current version is used. */
233
- versionId?: string;
286
+ versionId?:
287
+ string;
234
288
  }
235
289
  interface GenerateDownloadUrlResponse {
236
290
  /** The generated Google Cloud Storage signed URL that should be used for function source code download. */
237
- downloadUrl?: string;
291
+ downloadUrl?:
292
+ string;
238
293
  }
239
294
  interface GenerateUploadUrlRequest {
240
295
  /**
@@ -245,236 +300,323 @@ declare namespace gapi.client {
245
300
  * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). GCF will delegate access to the Google Storage service account in the
246
301
  * internal project.
247
302
  */
248
- kmsKeyName?: string;
303
+ kmsKeyName?:
304
+ string;
249
305
  }
250
306
  interface GenerateUploadUrlResponse {
251
307
  /** The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function. */
252
- uploadUrl?: string;
253
- }
254
- interface GoogleCloudFunctionsV2alphaLocationMetadata {
255
- /** The Cloud Function environments this location supports. */
256
- environments?: string[];
308
+ uploadUrl?:
309
+ string;
257
310
  }
258
311
  interface GoogleCloudFunctionsV2alphaOperationMetadata {
259
312
  /** API version used to start the operation. */
260
- apiVersion?: string;
313
+ apiVersion?:
314
+ string;
261
315
  /**
262
316
  * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
263
317
  * 1, corresponding to `Code.CANCELLED`.
264
318
  */
265
- cancelRequested?: boolean;
319
+ cancelRequested?:
320
+ boolean;
266
321
  /** The time the operation was created. */
267
- createTime?: string;
322
+ createTime?:
323
+ string;
268
324
  /** The time the operation finished running. */
269
- endTime?: string;
325
+ endTime?:
326
+ string;
270
327
  /** The original request that started the operation. */
271
- requestResource?: { [P in string]: any };
328
+ requestResource?:
329
+ { [P in string]: any };
272
330
  /** Mechanism for reporting in-progress stages */
273
- stages?: Stage[];
331
+ stages?:
332
+ GoogleCloudFunctionsV2alphaStage[];
274
333
  /** Human-readable status of the operation, if any. */
275
- statusDetail?: string;
334
+ statusDetail?:
335
+ string;
276
336
  /** Server-defined resource path for the target of the operation. */
277
- target?: string;
337
+ target?:
338
+ string;
278
339
  /** Name of the verb executed by the operation. */
279
- verb?: string;
340
+ verb?:
341
+ string;
342
+ }
343
+ interface GoogleCloudFunctionsV2alphaStage {
344
+ /** Message describing the Stage */
345
+ message?:
346
+ string;
347
+ /** Name of the Stage. This will be unique for each Stage. */
348
+ name?:
349
+ string;
350
+ /** Resource of the Stage */
351
+ resource?:
352
+ string;
353
+ /** Link to the current Stage resource */
354
+ resourceUri?:
355
+ string;
356
+ /** Current state of the Stage */
357
+ state?:
358
+ string;
359
+ /** State messages from the current Stage. */
360
+ stateMessages?:
361
+ GoogleCloudFunctionsV2alphaStateMessage[];
280
362
  }
281
363
  interface GoogleCloudFunctionsV2alphaStateMessage {
282
364
  /** The message. */
283
- message?: string;
365
+ message?:
366
+ string;
284
367
  /** Severity of the state message. */
285
- severity?: string;
368
+ severity?:
369
+ string;
286
370
  /** One-word CamelCase type of the state message. */
287
- type?: string;
288
- }
289
- interface GoogleCloudFunctionsV2betaLocationMetadata {
290
- /** The Cloud Function environments this location supports. */
291
- environments?: string[];
371
+ type?:
372
+ string;
292
373
  }
293
374
  interface GoogleCloudFunctionsV2betaOperationMetadata {
294
375
  /** API version used to start the operation. */
295
- apiVersion?: string;
376
+ apiVersion?:
377
+ string;
296
378
  /**
297
379
  * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
298
380
  * 1, corresponding to `Code.CANCELLED`.
299
381
  */
300
- cancelRequested?: boolean;
382
+ cancelRequested?:
383
+ boolean;
301
384
  /** The time the operation was created. */
302
- createTime?: string;
385
+ createTime?:
386
+ string;
303
387
  /** The time the operation finished running. */
304
- endTime?: string;
388
+ endTime?:
389
+ string;
305
390
  /** The original request that started the operation. */
306
- requestResource?: { [P in string]: any };
391
+ requestResource?:
392
+ { [P in string]: any };
307
393
  /** Mechanism for reporting in-progress stages */
308
- stages?: GoogleCloudFunctionsV2betaStage[];
394
+ stages?:
395
+ GoogleCloudFunctionsV2betaStage[];
309
396
  /** Human-readable status of the operation, if any. */
310
- statusDetail?: string;
397
+ statusDetail?:
398
+ string;
311
399
  /** Server-defined resource path for the target of the operation. */
312
- target?: string;
400
+ target?:
401
+ string;
313
402
  /** Name of the verb executed by the operation. */
314
- verb?: string;
403
+ verb?:
404
+ string;
315
405
  }
316
406
  interface GoogleCloudFunctionsV2betaStage {
317
407
  /** Message describing the Stage */
318
- message?: string;
408
+ message?:
409
+ string;
319
410
  /** Name of the Stage. This will be unique for each Stage. */
320
- name?: string;
411
+ name?:
412
+ string;
321
413
  /** Resource of the Stage */
322
- resource?: string;
414
+ resource?:
415
+ string;
323
416
  /** Link to the current Stage resource */
324
- resourceUri?: string;
417
+ resourceUri?:
418
+ string;
325
419
  /** Current state of the Stage */
326
- state?: string;
420
+ state?:
421
+ string;
327
422
  /** State messages from the current Stage. */
328
- stateMessages?: GoogleCloudFunctionsV2betaStateMessage[];
423
+ stateMessages?:
424
+ GoogleCloudFunctionsV2betaStateMessage[];
329
425
  }
330
426
  interface GoogleCloudFunctionsV2betaStateMessage {
331
427
  /** The message. */
332
- message?: string;
428
+ message?:
429
+ string;
333
430
  /** Severity of the state message. */
334
- severity?: string;
431
+ severity?:
432
+ string;
335
433
  /** One-word CamelCase type of the state message. */
336
- type?: string;
434
+ type?:
435
+ string;
337
436
  }
338
437
  interface GoogleCloudFunctionsV2OperationMetadata {
339
438
  /** API version used to start the operation. */
340
- apiVersion?: string;
439
+ apiVersion?:
440
+ string;
341
441
  /**
342
442
  * Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
343
443
  * 1, corresponding to `Code.CANCELLED`.
344
444
  */
345
- cancelRequested?: boolean;
445
+ cancelRequested?:
446
+ boolean;
346
447
  /** The time the operation was created. */
347
- createTime?: string;
448
+ createTime?:
449
+ string;
348
450
  /** The time the operation finished running. */
349
- endTime?: string;
451
+ endTime?:
452
+ string;
350
453
  /** The original request that started the operation. */
351
- requestResource?: { [P in string]: any };
454
+ requestResource?:
455
+ { [P in string]: any };
352
456
  /** Mechanism for reporting in-progress stages */
353
- stages?: GoogleCloudFunctionsV2Stage[];
457
+ stages?:
458
+ GoogleCloudFunctionsV2Stage[];
354
459
  /** Human-readable status of the operation, if any. */
355
- statusDetail?: string;
460
+ statusDetail?:
461
+ string;
356
462
  /** Server-defined resource path for the target of the operation. */
357
- target?: string;
463
+ target?:
464
+ string;
358
465
  /** Name of the verb executed by the operation. */
359
- verb?: string;
466
+ verb?:
467
+ string;
360
468
  }
361
469
  interface GoogleCloudFunctionsV2Stage {
362
470
  /** Message describing the Stage */
363
- message?: string;
471
+ message?:
472
+ string;
364
473
  /** Name of the Stage. This will be unique for each Stage. */
365
- name?: string;
474
+ name?:
475
+ string;
366
476
  /** Resource of the Stage */
367
- resource?: string;
477
+ resource?:
478
+ string;
368
479
  /** Link to the current Stage resource */
369
- resourceUri?: string;
480
+ resourceUri?:
481
+ string;
370
482
  /** Current state of the Stage */
371
- state?: string;
483
+ state?:
484
+ string;
372
485
  /** State messages from the current Stage. */
373
- stateMessages?: GoogleCloudFunctionsV2StateMessage[];
486
+ stateMessages?:
487
+ GoogleCloudFunctionsV2StateMessage[];
374
488
  }
375
489
  interface GoogleCloudFunctionsV2StateMessage {
376
490
  /** The message. */
377
- message?: string;
491
+ message?:
492
+ string;
378
493
  /** Severity of the state message. */
379
- severity?: string;
494
+ severity?:
495
+ string;
380
496
  /** One-word CamelCase type of the state message. */
381
- type?: string;
497
+ type?:
498
+ string;
382
499
  }
383
500
  interface HttpsTrigger {
384
501
  /** The security level for the function. */
385
- securityLevel?: string;
502
+ securityLevel?:
503
+ string;
386
504
  /** Output only. The deployed url for the function. */
387
- url?: string;
505
+ url?:
506
+ string;
388
507
  }
389
508
  interface ListFunctionsResponse {
390
509
  /** The functions that match the request. */
391
- functions?: CloudFunction[];
510
+ functions?:
511
+ CloudFunction[];
392
512
  /**
393
513
  * If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more
394
514
  * functions.
395
515
  */
396
- nextPageToken?: string;
516
+ nextPageToken?:
517
+ string;
397
518
  /** Locations that could not be reached. The response does not include any functions from these locations. */
398
- unreachable?: string[];
519
+ unreachable?:
520
+ string[];
399
521
  }
400
522
  interface ListLocationsResponse {
401
523
  /** A list of locations that matches the specified filter in the request. */
402
- locations?: Location[];
524
+ locations?:
525
+ Location[];
403
526
  /** The standard List next-page token. */
404
- nextPageToken?: string;
527
+ nextPageToken?:
528
+ string;
405
529
  }
406
530
  interface ListOperationsResponse {
407
531
  /** The standard List next-page token. */
408
- nextPageToken?: string;
532
+ nextPageToken?:
533
+ string;
409
534
  /** A list of operations that matches the specified filter in the request. */
410
- operations?: Operation[];
535
+ operations?:
536
+ Operation[];
411
537
  }
412
538
  interface Location {
413
539
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
414
- displayName?: string;
540
+ displayName?:
541
+ string;
415
542
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
416
- labels?: { [P in string]: string };
543
+ labels?:
544
+ { [P in string]: string };
417
545
  /** The canonical id for this location. For example: `"us-east1"`. */
418
- locationId?: string;
546
+ locationId?:
547
+ string;
419
548
  /** Service-specific metadata. For example the available capacity at the given location. */
420
- metadata?: { [P in string]: any };
549
+ metadata?:
550
+ { [P in string]: any };
421
551
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
422
- name?: string;
423
- }
424
- interface LocationMetadata {
425
- /** The Cloud Function environments this location supports. */
426
- environments?: string[];
552
+ name?:
553
+ string;
427
554
  }
428
555
  interface Operation {
429
556
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
430
- done?: boolean;
557
+ done?:
558
+ boolean;
431
559
  /** The error result of the operation in case of failure or cancellation. */
432
- error?: Status;
560
+ error?:
561
+ Status;
433
562
  /**
434
563
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
435
564
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
436
565
  */
437
- metadata?: { [P in string]: any };
566
+ metadata?:
567
+ { [P in string]: any };
438
568
  /**
439
569
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
440
570
  * with `operations/{unique_id}`.
441
571
  */
442
- name?: string;
572
+ name?:
573
+ string;
443
574
  /**
444
575
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
445
576
  * original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
446
577
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
447
578
  */
448
- response?: { [P in string]: any };
579
+ response?:
580
+ { [P in string]: any };
449
581
  }
450
582
  interface OperationMetadataV1 {
451
583
  /** The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. */
452
- buildId?: string;
584
+ buildId?:
585
+ string;
453
586
  /** The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`. */
454
- buildName?: string;
587
+ buildName?:
588
+ string;
455
589
  /** The original request that started the operation. */
456
- request?: { [P in string]: any };
590
+ request?:
591
+ { [P in string]: any };
457
592
  /** An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
458
- sourceToken?: string;
593
+ sourceToken?:
594
+ string;
459
595
  /** Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1` */
460
- target?: string;
596
+ target?:
597
+ string;
461
598
  /** Type of operation. */
462
- type?: string;
599
+ type?:
600
+ string;
463
601
  /** The last update timestamp of the operation. */
464
- updateTime?: string;
602
+ updateTime?:
603
+ string;
465
604
  /** Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. */
466
- versionId?: string;
605
+ versionId?:
606
+ string;
467
607
  }
468
608
  interface Policy {
469
609
  /** Specifies cloud audit logging configuration for this policy. */
470
- auditConfigs?: AuditConfig[];
610
+ auditConfigs?:
611
+ AuditConfig[];
471
612
  /**
472
613
  * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
473
614
  * must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
474
615
  * 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
475
616
  * 1,450 principals to the `bindings` in the `Policy`.
476
617
  */
477
- bindings?: Binding[];
618
+ bindings?:
619
+ Binding[];
478
620
  /**
479
621
  * `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
480
622
  * 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
@@ -482,7 +624,8 @@ declare namespace gapi.client {
482
624
  * 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`
483
625
  * policy, and all of the conditions in the version `3` policy are lost.
484
626
  */
485
- etag?: string;
627
+ etag?:
628
+ string;
486
629
  /**
487
630
  * 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
488
631
  * 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
@@ -491,35 +634,42 @@ declare namespace gapi.client {
491
634
  * 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
492
635
  * 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).
493
636
  */
494
- version?: number;
637
+ version?:
638
+ number;
495
639
  }
496
640
  // tslint:disable-next-line:no-empty-interface
497
641
  interface Retry {
498
642
  }
499
643
  interface SecretEnvVar {
500
644
  /** Name of the environment variable. */
501
- key?: string;
645
+ key?:
646
+ string;
502
647
  /**
503
648
  * Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project
504
649
  * assuming that the secret exists in the same project as of the function.
505
650
  */
506
- projectId?: string;
651
+ projectId?:
652
+ string;
507
653
  /** Name of the secret in secret manager (not the full resource name). */
508
- secret?: string;
654
+ secret?:
655
+ string;
509
656
  /**
510
657
  * Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not
511
658
  * reflected until new instances start.
512
659
  */
513
- version?: string;
660
+ version?:
661
+ string;
514
662
  }
515
663
  interface SecretVersion {
516
664
  /**
517
665
  * Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and
518
666
  * path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
519
667
  */
520
- path?: string;
668
+ path?:
669
+ string;
521
670
  /** Version of the secret (version number or the string 'latest'). It is preferrable to use `latest` version with secret volumes as secret value changes are reflected immediately. */
522
- version?: string;
671
+ version?:
672
+ string;
523
673
  }
524
674
  interface SecretVolume {
525
675
  /**
@@ -527,145 +677,171 @@ declare namespace gapi.client {
527
677
  * directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql,
528
678
  * /dev/log, /pod, /proc, /var/log
529
679
  */
530
- mountPath?: string;
680
+ mountPath?:
681
+ string;
531
682
  /**
532
683
  * Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project
533
684
  * assuming that the secret exists in the same project as of the function.
534
685
  */
535
- projectId?: string;
686
+ projectId?:
687
+ string;
536
688
  /** Name of the secret in secret manager (not the full resource name). */
537
- secret?: string;
689
+ secret?:
690
+ string;
538
691
  /** List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point. */
539
- versions?: SecretVersion[];
692
+ versions?:
693
+ SecretVersion[];
540
694
  }
541
695
  interface SetIamPolicyRequest {
542
696
  /**
543
697
  * 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
544
698
  * services (such as Projects) might reject them.
545
699
  */
546
- policy?: Policy;
700
+ policy?:
701
+ Policy;
547
702
  /**
548
703
  * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
549
704
  * `paths: "bindings, etag"`
550
705
  */
551
- updateMask?: string;
706
+ updateMask?:
707
+ string;
552
708
  }
553
709
  interface SourceRepository {
554
710
  /**
555
711
  * Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described
556
712
  * above.
557
713
  */
558
- deployedUrl?: string;
714
+ deployedUrl?:
715
+ string;
559
716
  /**
560
717
  * The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit:
561
718
  * `https://source.developers.google.com/projects/*‍/repos/*‍/revisions/*‍/paths/*` To refer to a moveable alias (branch):
562
719
  * `https://source.developers.google.com/projects/*‍/repos/*‍/moveable-aliases/*‍/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed
563
720
  * alias (tag): `https://source.developers.google.com/projects/*‍/repos/*‍/fixed-aliases/*‍/paths/*` You may omit `paths/*` if you want to use the main directory.
564
721
  */
565
- url?: string;
566
- }
567
- interface Stage {
568
- /** Message describing the Stage */
569
- message?: string;
570
- /** Name of the Stage. This will be unique for each Stage. */
571
- name?: string;
572
- /** Resource of the Stage */
573
- resource?: string;
574
- /** Link to the current Stage resource */
575
- resourceUri?: string;
576
- /** Current state of the Stage */
577
- state?: string;
578
- /** State messages from the current Stage. */
579
- stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
722
+ url?:
723
+ string;
580
724
  }
581
725
  interface Status {
582
726
  /** The status code, which should be an enum value of google.rpc.Code. */
583
- code?: number;
727
+ code?:
728
+ number;
584
729
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
585
- details?: Array<{ [P in string]: any }>;
730
+ details?:
731
+ Array<{ [P in string]: any }>;
586
732
  /**
587
733
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
588
734
  * client.
589
735
  */
590
- message?: string;
736
+ message?:
737
+ string;
591
738
  }
592
739
  interface TestIamPermissionsRequest {
593
740
  /**
594
741
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
595
742
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
596
743
  */
597
- permissions?: string[];
744
+ permissions?:
745
+ string[];
598
746
  }
599
747
  interface TestIamPermissionsResponse {
600
748
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
601
- permissions?: string[];
749
+ permissions?:
750
+ string[];
602
751
  }
603
752
  interface OperationsResource {
604
753
  /** 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. */
605
754
  get(request?: {
606
755
  /** V1 error format. */
607
- "$.xgafv"?: string;
756
+ "$.xgafv"?:
757
+ string;
608
758
  /** OAuth access token. */
609
- access_token?: string;
759
+ access_token?:
760
+ string;
610
761
  /** Data format for response. */
611
- alt?: string;
762
+ alt?:
763
+ string;
612
764
  /** JSONP */
613
- callback?: string;
765
+ callback?:
766
+ string;
614
767
  /** Selector specifying which fields to include in a partial response. */
615
- fields?: string;
768
+ fields?:
769
+ string;
616
770
  /** 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. */
617
- key?: string;
771
+ key?:
772
+ string;
618
773
  /** The name of the operation resource. */
619
- name: string;
774
+ name:
775
+ string;
620
776
  /** OAuth 2.0 token for the current user. */
621
- oauth_token?: string;
777
+ oauth_token?:
778
+ string;
622
779
  /** Returns response with indentations and line breaks. */
623
- prettyPrint?: boolean;
780
+ prettyPrint?:
781
+ boolean;
624
782
  /** 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. */
625
- quotaUser?: string;
783
+ quotaUser?:
784
+ string;
626
785
  /** Upload protocol for media (e.g. "raw", "multipart"). */
627
- upload_protocol?: string;
786
+ upload_protocol?:
787
+ string;
628
788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
629
- uploadType?: string;
789
+ uploadType?:
790
+ string;
630
791
  }): Request<Operation>;
631
792
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
632
793
  list(request?: {
633
794
  /** V1 error format. */
634
- "$.xgafv"?: string;
795
+ "$.xgafv"?:
796
+ string;
635
797
  /** OAuth access token. */
636
- access_token?: string;
798
+ access_token?:
799
+ string;
637
800
  /** Data format for response. */
638
- alt?: string;
801
+ alt?:
802
+ string;
639
803
  /** JSONP */
640
- callback?: string;
804
+ callback?:
805
+ string;
641
806
  /** Selector specifying which fields to include in a partial response. */
642
- fields?: string;
807
+ fields?:
808
+ string;
643
809
  /**
644
810
  * Required. A filter for matching the requested operations. The supported formats of *filter* are: To query for a specific function: project:*,location:*,function:* To query for
645
811
  * all of the latest operations for a project: project:*,latest:true
646
812
  */
647
- filter?: string;
813
+ filter?:
814
+ string;
648
815
  /** 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. */
649
- key?: string;
816
+ key?:
817
+ string;
650
818
  /** Must not be set. */
651
- name?: string;
819
+ name?:
820
+ string;
652
821
  /** OAuth 2.0 token for the current user. */
653
- oauth_token?: string;
822
+ oauth_token?:
823
+ string;
654
824
  /**
655
825
  * The maximum number of records that should be returned. Requested page size cannot exceed 100. If not set, the default page size is 100. Pagination is only supported when
656
826
  * querying for a specific function.
657
827
  */
658
- pageSize?: number;
828
+ pageSize?:
829
+ number;
659
830
  /** Token identifying which result to start with, which is returned by a previous list call. Pagination is only supported when querying for a specific function. */
660
- pageToken?: string;
831
+ pageToken?:
832
+ string;
661
833
  /** Returns response with indentations and line breaks. */
662
- prettyPrint?: boolean;
834
+ prettyPrint?:
835
+ boolean;
663
836
  /** 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. */
664
- quotaUser?: string;
837
+ quotaUser?:
838
+ string;
665
839
  /** Upload protocol for media (e.g. "raw", "multipart"). */
666
- upload_protocol?: string;
840
+ upload_protocol?:
841
+ string;
667
842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
668
- uploadType?: string;
843
+ uploadType?:
844
+ string;
669
845
  }): Request<ListOperationsResponse>;
670
846
  }
671
847
  interface FunctionsResource {
@@ -675,141 +851,203 @@ declare namespace gapi.client {
675
851
  */
676
852
  call(request: {
677
853
  /** V1 error format. */
678
- "$.xgafv"?: string;
854
+ "$.xgafv"?:
855
+ string;
679
856
  /** OAuth access token. */
680
- access_token?: string;
857
+ access_token?:
858
+ string;
681
859
  /** Data format for response. */
682
- alt?: string;
860
+ alt?:
861
+ string;
683
862
  /** JSONP */
684
- callback?: string;
863
+ callback?:
864
+ string;
685
865
  /** Selector specifying which fields to include in a partial response. */
686
- fields?: string;
866
+ fields?:
867
+ string;
687
868
  /** 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. */
688
- key?: string;
869
+ key?:
870
+ string;
689
871
  /** Required. The name of the function to be called. */
690
- name: string;
872
+ name:
873
+ string;
691
874
  /** OAuth 2.0 token for the current user. */
692
- oauth_token?: string;
875
+ oauth_token?:
876
+ string;
693
877
  /** Returns response with indentations and line breaks. */
694
- prettyPrint?: boolean;
878
+ prettyPrint?:
879
+ boolean;
695
880
  /** 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. */
696
- quotaUser?: string;
881
+ quotaUser?:
882
+ string;
697
883
  /** Upload protocol for media (e.g. "raw", "multipart"). */
698
- upload_protocol?: string;
884
+ upload_protocol?:
885
+ string;
699
886
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
700
- uploadType?: string;
887
+ uploadType?:
888
+ string;
701
889
  /** Request body */
702
- resource: CallFunctionRequest;
890
+ resource:
891
+ CallFunctionRequest;
703
892
  }): Request<CallFunctionResponse>;
704
893
  call(request: {
705
894
  /** V1 error format. */
706
- "$.xgafv"?: string;
895
+ "$.xgafv"?:
896
+ string;
707
897
  /** OAuth access token. */
708
- access_token?: string;
898
+ access_token?:
899
+ string;
709
900
  /** Data format for response. */
710
- alt?: string;
901
+ alt?:
902
+ string;
711
903
  /** JSONP */
712
- callback?: string;
904
+ callback?:
905
+ string;
713
906
  /** Selector specifying which fields to include in a partial response. */
714
- fields?: string;
907
+ fields?:
908
+ string;
715
909
  /** 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. */
716
- key?: string;
910
+ key?:
911
+ string;
717
912
  /** Required. The name of the function to be called. */
718
- name: string;
913
+ name:
914
+ string;
719
915
  /** OAuth 2.0 token for the current user. */
720
- oauth_token?: string;
916
+ oauth_token?:
917
+ string;
721
918
  /** Returns response with indentations and line breaks. */
722
- prettyPrint?: boolean;
919
+ prettyPrint?:
920
+ boolean;
723
921
  /** 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. */
724
- quotaUser?: string;
922
+ quotaUser?:
923
+ string;
725
924
  /** Upload protocol for media (e.g. "raw", "multipart"). */
726
- upload_protocol?: string;
925
+ upload_protocol?:
926
+ string;
727
927
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
728
- uploadType?: string;
928
+ uploadType?:
929
+ string;
729
930
  },
730
931
  body: CallFunctionRequest): Request<CallFunctionResponse>;
731
932
  /** Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. */
732
933
  create(request: {
733
934
  /** V1 error format. */
734
- "$.xgafv"?: string;
935
+ "$.xgafv"?:
936
+ string;
735
937
  /** OAuth access token. */
736
- access_token?: string;
938
+ access_token?:
939
+ string;
737
940
  /** Data format for response. */
738
- alt?: string;
941
+ alt?:
942
+ string;
739
943
  /** JSONP */
740
- callback?: string;
944
+ callback?:
945
+ string;
741
946
  /** Selector specifying which fields to include in a partial response. */
742
- fields?: string;
947
+ fields?:
948
+ string;
743
949
  /** 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. */
744
- key?: string;
950
+ key?:
951
+ string;
745
952
  /** Required. The project and location in which the function should be created, specified in the format `projects/*‍/locations/*` */
746
- location: string;
953
+ location:
954
+ string;
747
955
  /** OAuth 2.0 token for the current user. */
748
- oauth_token?: string;
956
+ oauth_token?:
957
+ string;
749
958
  /** Returns response with indentations and line breaks. */
750
- prettyPrint?: boolean;
959
+ prettyPrint?:
960
+ boolean;
751
961
  /** 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. */
752
- quotaUser?: string;
962
+ quotaUser?:
963
+ string;
753
964
  /** Upload protocol for media (e.g. "raw", "multipart"). */
754
- upload_protocol?: string;
965
+ upload_protocol?:
966
+ string;
755
967
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
756
- uploadType?: string;
968
+ uploadType?:
969
+ string;
757
970
  /** Request body */
758
- resource: CloudFunction;
971
+ resource:
972
+ CloudFunction;
759
973
  }): Request<Operation>;
760
974
  create(request: {
761
975
  /** V1 error format. */
762
- "$.xgafv"?: string;
976
+ "$.xgafv"?:
977
+ string;
763
978
  /** OAuth access token. */
764
- access_token?: string;
979
+ access_token?:
980
+ string;
765
981
  /** Data format for response. */
766
- alt?: string;
982
+ alt?:
983
+ string;
767
984
  /** JSONP */
768
- callback?: string;
985
+ callback?:
986
+ string;
769
987
  /** Selector specifying which fields to include in a partial response. */
770
- fields?: string;
988
+ fields?:
989
+ string;
771
990
  /** 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. */
772
- key?: string;
991
+ key?:
992
+ string;
773
993
  /** Required. The project and location in which the function should be created, specified in the format `projects/*‍/locations/*` */
774
- location: string;
994
+ location:
995
+ string;
775
996
  /** OAuth 2.0 token for the current user. */
776
- oauth_token?: string;
997
+ oauth_token?:
998
+ string;
777
999
  /** Returns response with indentations and line breaks. */
778
- prettyPrint?: boolean;
1000
+ prettyPrint?:
1001
+ boolean;
779
1002
  /** 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. */
780
- quotaUser?: string;
1003
+ quotaUser?:
1004
+ string;
781
1005
  /** Upload protocol for media (e.g. "raw", "multipart"). */
782
- upload_protocol?: string;
1006
+ upload_protocol?:
1007
+ string;
783
1008
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
784
- uploadType?: string;
1009
+ uploadType?:
1010
+ string;
785
1011
  },
786
1012
  body: CloudFunction): Request<Operation>;
787
1013
  /** Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. */
788
1014
  delete(request?: {
789
1015
  /** V1 error format. */
790
- "$.xgafv"?: string;
1016
+ "$.xgafv"?:
1017
+ string;
791
1018
  /** OAuth access token. */
792
- access_token?: string;
1019
+ access_token?:
1020
+ string;
793
1021
  /** Data format for response. */
794
- alt?: string;
1022
+ alt?:
1023
+ string;
795
1024
  /** JSONP */
796
- callback?: string;
1025
+ callback?:
1026
+ string;
797
1027
  /** Selector specifying which fields to include in a partial response. */
798
- fields?: string;
1028
+ fields?:
1029
+ string;
799
1030
  /** 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. */
800
- key?: string;
1031
+ key?:
1032
+ string;
801
1033
  /** Required. The name of the function which should be deleted. */
802
- name: string;
1034
+ name:
1035
+ string;
803
1036
  /** OAuth 2.0 token for the current user. */
804
- oauth_token?: string;
1037
+ oauth_token?:
1038
+ string;
805
1039
  /** Returns response with indentations and line breaks. */
806
- prettyPrint?: boolean;
1040
+ prettyPrint?:
1041
+ boolean;
807
1042
  /** 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. */
808
- quotaUser?: string;
1043
+ quotaUser?:
1044
+ string;
809
1045
  /** Upload protocol for media (e.g. "raw", "multipart"). */
810
- upload_protocol?: string;
1046
+ upload_protocol?:
1047
+ string;
811
1048
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
812
- uploadType?: string;
1049
+ uploadType?:
1050
+ string;
813
1051
  }): Request<Operation>;
814
1052
  /**
815
1053
  * Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within minutes after generation. For more
@@ -817,57 +1055,82 @@ declare namespace gapi.client {
817
1055
  */
818
1056
  generateDownloadUrl(request: {
819
1057
  /** V1 error format. */
820
- "$.xgafv"?: string;
1058
+ "$.xgafv"?:
1059
+ string;
821
1060
  /** OAuth access token. */
822
- access_token?: string;
1061
+ access_token?:
1062
+ string;
823
1063
  /** Data format for response. */
824
- alt?: string;
1064
+ alt?:
1065
+ string;
825
1066
  /** JSONP */
826
- callback?: string;
1067
+ callback?:
1068
+ string;
827
1069
  /** Selector specifying which fields to include in a partial response. */
828
- fields?: string;
1070
+ fields?:
1071
+ string;
829
1072
  /** 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. */
830
- key?: string;
1073
+ key?:
1074
+ string;
831
1075
  /** The name of function for which source code Google Cloud Storage signed URL should be generated. */
832
- name: string;
1076
+ name:
1077
+ string;
833
1078
  /** OAuth 2.0 token for the current user. */
834
- oauth_token?: string;
1079
+ oauth_token?:
1080
+ string;
835
1081
  /** Returns response with indentations and line breaks. */
836
- prettyPrint?: boolean;
1082
+ prettyPrint?:
1083
+ boolean;
837
1084
  /** 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. */
838
- quotaUser?: string;
1085
+ quotaUser?:
1086
+ string;
839
1087
  /** Upload protocol for media (e.g. "raw", "multipart"). */
840
- upload_protocol?: string;
1088
+ upload_protocol?:
1089
+ string;
841
1090
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
842
- uploadType?: string;
1091
+ uploadType?:
1092
+ string;
843
1093
  /** Request body */
844
- resource: GenerateDownloadUrlRequest;
1094
+ resource:
1095
+ GenerateDownloadUrlRequest;
845
1096
  }): Request<GenerateDownloadUrlResponse>;
846
1097
  generateDownloadUrl(request: {
847
1098
  /** V1 error format. */
848
- "$.xgafv"?: string;
1099
+ "$.xgafv"?:
1100
+ string;
849
1101
  /** OAuth access token. */
850
- access_token?: string;
1102
+ access_token?:
1103
+ string;
851
1104
  /** Data format for response. */
852
- alt?: string;
1105
+ alt?:
1106
+ string;
853
1107
  /** JSONP */
854
- callback?: string;
1108
+ callback?:
1109
+ string;
855
1110
  /** Selector specifying which fields to include in a partial response. */
856
- fields?: string;
1111
+ fields?:
1112
+ string;
857
1113
  /** 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. */
858
- key?: string;
1114
+ key?:
1115
+ string;
859
1116
  /** The name of function for which source code Google Cloud Storage signed URL should be generated. */
860
- name: string;
1117
+ name:
1118
+ string;
861
1119
  /** OAuth 2.0 token for the current user. */
862
- oauth_token?: string;
1120
+ oauth_token?:
1121
+ string;
863
1122
  /** Returns response with indentations and line breaks. */
864
- prettyPrint?: boolean;
1123
+ prettyPrint?:
1124
+ boolean;
865
1125
  /** 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. */
866
- quotaUser?: string;
1126
+ quotaUser?:
1127
+ string;
867
1128
  /** Upload protocol for media (e.g. "raw", "multipart"). */
868
- upload_protocol?: string;
1129
+ upload_protocol?:
1130
+ string;
869
1131
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
870
- uploadType?: string;
1132
+ uploadType?:
1133
+ string;
871
1134
  },
872
1135
  body: GenerateDownloadUrlRequest): Request<GenerateDownloadUrlResponse>;
873
1136
  /**
@@ -880,102 +1143,146 @@ declare namespace gapi.client {
880
1143
  */
881
1144
  generateUploadUrl(request: {
882
1145
  /** V1 error format. */
883
- "$.xgafv"?: string;
1146
+ "$.xgafv"?:
1147
+ string;
884
1148
  /** OAuth access token. */
885
- access_token?: string;
1149
+ access_token?:
1150
+ string;
886
1151
  /** Data format for response. */
887
- alt?: string;
1152
+ alt?:
1153
+ string;
888
1154
  /** JSONP */
889
- callback?: string;
1155
+ callback?:
1156
+ string;
890
1157
  /** Selector specifying which fields to include in a partial response. */
891
- fields?: string;
1158
+ fields?:
1159
+ string;
892
1160
  /** 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. */
893
- key?: string;
1161
+ key?:
1162
+ string;
894
1163
  /** OAuth 2.0 token for the current user. */
895
- oauth_token?: string;
1164
+ oauth_token?:
1165
+ string;
896
1166
  /** The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*‍/locations/*`. */
897
- parent: string;
1167
+ parent:
1168
+ string;
898
1169
  /** Returns response with indentations and line breaks. */
899
- prettyPrint?: boolean;
1170
+ prettyPrint?:
1171
+ boolean;
900
1172
  /** 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. */
901
- quotaUser?: string;
1173
+ quotaUser?:
1174
+ string;
902
1175
  /** Upload protocol for media (e.g. "raw", "multipart"). */
903
- upload_protocol?: string;
1176
+ upload_protocol?:
1177
+ string;
904
1178
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
905
- uploadType?: string;
1179
+ uploadType?:
1180
+ string;
906
1181
  /** Request body */
907
- resource: GenerateUploadUrlRequest;
1182
+ resource:
1183
+ GenerateUploadUrlRequest;
908
1184
  }): Request<GenerateUploadUrlResponse>;
909
1185
  generateUploadUrl(request: {
910
1186
  /** V1 error format. */
911
- "$.xgafv"?: string;
1187
+ "$.xgafv"?:
1188
+ string;
912
1189
  /** OAuth access token. */
913
- access_token?: string;
1190
+ access_token?:
1191
+ string;
914
1192
  /** Data format for response. */
915
- alt?: string;
1193
+ alt?:
1194
+ string;
916
1195
  /** JSONP */
917
- callback?: string;
1196
+ callback?:
1197
+ string;
918
1198
  /** Selector specifying which fields to include in a partial response. */
919
- fields?: string;
1199
+ fields?:
1200
+ string;
920
1201
  /** 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. */
921
- key?: string;
1202
+ key?:
1203
+ string;
922
1204
  /** OAuth 2.0 token for the current user. */
923
- oauth_token?: string;
1205
+ oauth_token?:
1206
+ string;
924
1207
  /** The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*‍/locations/*`. */
925
- parent: string;
1208
+ parent:
1209
+ string;
926
1210
  /** Returns response with indentations and line breaks. */
927
- prettyPrint?: boolean;
1211
+ prettyPrint?:
1212
+ boolean;
928
1213
  /** 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. */
929
- quotaUser?: string;
1214
+ quotaUser?:
1215
+ string;
930
1216
  /** Upload protocol for media (e.g. "raw", "multipart"). */
931
- upload_protocol?: string;
1217
+ upload_protocol?:
1218
+ string;
932
1219
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
933
- uploadType?: string;
1220
+ uploadType?:
1221
+ string;
934
1222
  },
935
1223
  body: GenerateUploadUrlRequest): Request<GenerateUploadUrlResponse>;
936
1224
  /** Returns a function with the given name from the requested project. */
937
1225
  get(request?: {
938
1226
  /** V1 error format. */
939
- "$.xgafv"?: string;
1227
+ "$.xgafv"?:
1228
+ string;
940
1229
  /** OAuth access token. */
941
- access_token?: string;
1230
+ access_token?:
1231
+ string;
942
1232
  /** Data format for response. */
943
- alt?: string;
1233
+ alt?:
1234
+ string;
944
1235
  /** JSONP */
945
- callback?: string;
1236
+ callback?:
1237
+ string;
946
1238
  /** Selector specifying which fields to include in a partial response. */
947
- fields?: string;
1239
+ fields?:
1240
+ string;
948
1241
  /** 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. */
949
- key?: string;
1242
+ key?:
1243
+ string;
950
1244
  /** Required. The name of the function which details should be obtained. */
951
- name: string;
1245
+ name:
1246
+ string;
952
1247
  /** OAuth 2.0 token for the current user. */
953
- oauth_token?: string;
1248
+ oauth_token?:
1249
+ string;
954
1250
  /** Returns response with indentations and line breaks. */
955
- prettyPrint?: boolean;
1251
+ prettyPrint?:
1252
+ boolean;
956
1253
  /** 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. */
957
- quotaUser?: string;
1254
+ quotaUser?:
1255
+ string;
958
1256
  /** Upload protocol for media (e.g. "raw", "multipart"). */
959
- upload_protocol?: string;
1257
+ upload_protocol?:
1258
+ string;
960
1259
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
961
- uploadType?: string;
1260
+ uploadType?:
1261
+ string;
962
1262
  }): Request<CloudFunction>;
963
1263
  /** Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. */
964
1264
  getIamPolicy(request?: {
965
1265
  /** V1 error format. */
966
- "$.xgafv"?: string;
1266
+ "$.xgafv"?:
1267
+ string;
967
1268
  /** OAuth access token. */
968
- access_token?: string;
1269
+ access_token?:
1270
+ string;
969
1271
  /** Data format for response. */
970
- alt?: string;
1272
+ alt?:
1273
+ string;
971
1274
  /** JSONP */
972
- callback?: string;
1275
+ callback?:
1276
+ string;
973
1277
  /** Selector specifying which fields to include in a partial response. */
974
- fields?: string;
1278
+ fields?:
1279
+ string;
975
1280
  /** 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. */
976
- key?: string;
1281
+ key?:
1282
+ string;
977
1283
  /** OAuth 2.0 token for the current user. */
978
- oauth_token?: string;
1284
+ oauth_token?:
1285
+ string;
979
1286
  /**
980
1287
  * 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
981
1288
  * 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
@@ -983,148 +1290,207 @@ declare namespace gapi.client {
983
1290
  * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
984
1291
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
985
1292
  */
986
- "options.requestedPolicyVersion"?: number;
1293
+ "options.requestedPolicyVersion"?:
1294
+ number;
987
1295
  /** Returns response with indentations and line breaks. */
988
- prettyPrint?: boolean;
1296
+ prettyPrint?:
1297
+ boolean;
989
1298
  /** 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. */
990
- quotaUser?: string;
1299
+ quotaUser?:
1300
+ string;
991
1301
  /**
992
1302
  * 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
993
1303
  * field.
994
1304
  */
995
- resource: string;
1305
+ resource:
1306
+ string;
996
1307
  /** Upload protocol for media (e.g. "raw", "multipart"). */
997
- upload_protocol?: string;
1308
+ upload_protocol?:
1309
+ string;
998
1310
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
999
- uploadType?: string;
1311
+ uploadType?:
1312
+ string;
1000
1313
  }): Request<Policy>;
1001
1314
  /** Returns a list of functions that belong to the requested project. */
1002
1315
  list(request?: {
1003
1316
  /** V1 error format. */
1004
- "$.xgafv"?: string;
1317
+ "$.xgafv"?:
1318
+ string;
1005
1319
  /** OAuth access token. */
1006
- access_token?: string;
1320
+ access_token?:
1321
+ string;
1007
1322
  /** Data format for response. */
1008
- alt?: string;
1323
+ alt?:
1324
+ string;
1009
1325
  /** JSONP */
1010
- callback?: string;
1326
+ callback?:
1327
+ string;
1011
1328
  /** Selector specifying which fields to include in a partial response. */
1012
- fields?: string;
1329
+ fields?:
1330
+ string;
1013
1331
  /** 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. */
1014
- key?: string;
1332
+ key?:
1333
+ string;
1015
1334
  /** OAuth 2.0 token for the current user. */
1016
- oauth_token?: string;
1335
+ oauth_token?:
1336
+ string;
1017
1337
  /** Maximum number of functions to return per call. */
1018
- pageSize?: number;
1338
+ pageSize?:
1339
+ number;
1019
1340
  /**
1020
1341
  * The value returned by the last `ListFunctionsResponse`; indicates that this is a continuation of a prior `ListFunctions` call, and that the system should return the next page of
1021
1342
  * data.
1022
1343
  */
1023
- pageToken?: string;
1344
+ pageToken?:
1345
+ string;
1024
1346
  /**
1025
1347
  * The project and location from which the function should be listed, specified in the format `projects/*‍/locations/*` If you want to list functions in all locations, use "-" in
1026
1348
  * place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along
1027
1349
  * with the names of any unreachable locations.
1028
1350
  */
1029
- parent: string;
1351
+ parent:
1352
+ string;
1030
1353
  /** Returns response with indentations and line breaks. */
1031
- prettyPrint?: boolean;
1354
+ prettyPrint?:
1355
+ boolean;
1032
1356
  /** 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;
1357
+ quotaUser?:
1358
+ string;
1034
1359
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1035
- upload_protocol?: string;
1360
+ upload_protocol?:
1361
+ string;
1036
1362
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1037
- uploadType?: string;
1363
+ uploadType?:
1364
+ string;
1038
1365
  }): Request<ListFunctionsResponse>;
1039
1366
  /** Updates existing function. */
1040
1367
  patch(request: {
1041
1368
  /** V1 error format. */
1042
- "$.xgafv"?: string;
1369
+ "$.xgafv"?:
1370
+ string;
1043
1371
  /** OAuth access token. */
1044
- access_token?: string;
1372
+ access_token?:
1373
+ string;
1045
1374
  /** Data format for response. */
1046
- alt?: string;
1375
+ alt?:
1376
+ string;
1047
1377
  /** JSONP */
1048
- callback?: string;
1378
+ callback?:
1379
+ string;
1049
1380
  /** Selector specifying which fields to include in a partial response. */
1050
- fields?: string;
1381
+ fields?:
1382
+ string;
1051
1383
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1052
- key?: string;
1384
+ key?:
1385
+ string;
1053
1386
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
1054
- name: string;
1387
+ name:
1388
+ string;
1055
1389
  /** OAuth 2.0 token for the current user. */
1056
- oauth_token?: string;
1390
+ oauth_token?:
1391
+ string;
1057
1392
  /** Returns response with indentations and line breaks. */
1058
- prettyPrint?: boolean;
1393
+ prettyPrint?:
1394
+ boolean;
1059
1395
  /** 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. */
1060
- quotaUser?: string;
1396
+ quotaUser?:
1397
+ string;
1061
1398
  /** Required. The list of fields in `CloudFunction` that have to be updated. */
1062
- updateMask?: string;
1399
+ updateMask?:
1400
+ string;
1063
1401
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1064
- upload_protocol?: string;
1402
+ upload_protocol?:
1403
+ string;
1065
1404
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1066
- uploadType?: string;
1405
+ uploadType?:
1406
+ string;
1067
1407
  /** Request body */
1068
- resource: CloudFunction;
1408
+ resource:
1409
+ CloudFunction;
1069
1410
  }): Request<Operation>;
1070
1411
  patch(request: {
1071
1412
  /** V1 error format. */
1072
- "$.xgafv"?: string;
1413
+ "$.xgafv"?:
1414
+ string;
1073
1415
  /** OAuth access token. */
1074
- access_token?: string;
1416
+ access_token?:
1417
+ string;
1075
1418
  /** Data format for response. */
1076
- alt?: string;
1419
+ alt?:
1420
+ string;
1077
1421
  /** JSONP */
1078
- callback?: string;
1422
+ callback?:
1423
+ string;
1079
1424
  /** Selector specifying which fields to include in a partial response. */
1080
- fields?: string;
1425
+ fields?:
1426
+ string;
1081
1427
  /** 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. */
1082
- key?: string;
1428
+ key?:
1429
+ string;
1083
1430
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
1084
- name: string;
1431
+ name:
1432
+ string;
1085
1433
  /** OAuth 2.0 token for the current user. */
1086
- oauth_token?: string;
1434
+ oauth_token?:
1435
+ string;
1087
1436
  /** Returns response with indentations and line breaks. */
1088
- prettyPrint?: boolean;
1437
+ prettyPrint?:
1438
+ boolean;
1089
1439
  /** 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. */
1090
- quotaUser?: string;
1440
+ quotaUser?:
1441
+ string;
1091
1442
  /** Required. The list of fields in `CloudFunction` that have to be updated. */
1092
- updateMask?: string;
1443
+ updateMask?:
1444
+ string;
1093
1445
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1094
- upload_protocol?: string;
1446
+ upload_protocol?:
1447
+ string;
1095
1448
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1096
- uploadType?: string;
1449
+ uploadType?:
1450
+ string;
1097
1451
  },
1098
1452
  body: CloudFunction): Request<Operation>;
1099
1453
  /** Sets the IAM access control policy on the specified function. Replaces any existing policy. */
1100
1454
  setIamPolicy(request: {
1101
1455
  /** V1 error format. */
1102
- "$.xgafv"?: string;
1456
+ "$.xgafv"?:
1457
+ string;
1103
1458
  /** OAuth access token. */
1104
- access_token?: string;
1459
+ access_token?:
1460
+ string;
1105
1461
  /** Data format for response. */
1106
- alt?: string;
1462
+ alt?:
1463
+ string;
1107
1464
  /** JSONP */
1108
- callback?: string;
1465
+ callback?:
1466
+ string;
1109
1467
  /** Selector specifying which fields to include in a partial response. */
1110
- fields?: string;
1468
+ fields?:
1469
+ string;
1111
1470
  /** 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. */
1112
- key?: string;
1471
+ key?:
1472
+ string;
1113
1473
  /** OAuth 2.0 token for the current user. */
1114
- oauth_token?: string;
1474
+ oauth_token?:
1475
+ string;
1115
1476
  /** Returns response with indentations and line breaks. */
1116
- prettyPrint?: boolean;
1477
+ prettyPrint?:
1478
+ boolean;
1117
1479
  /** 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. */
1118
- quotaUser?: string;
1480
+ quotaUser?:
1481
+ string;
1119
1482
  /**
1120
1483
  * 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
1121
1484
  * field.
1122
1485
  */
1123
- resource: string;
1486
+ resource:
1487
+ string;
1124
1488
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1125
- upload_protocol?: string;
1489
+ upload_protocol?:
1490
+ string;
1126
1491
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1127
- uploadType?: string;
1492
+ uploadType?:
1493
+ string;
1128
1494
  },
1129
1495
  body: SetIamPolicyRequest): Request<Policy>;
1130
1496
  /**
@@ -1133,32 +1499,44 @@ declare namespace gapi.client {
1133
1499
  */
1134
1500
  testIamPermissions(request: {
1135
1501
  /** V1 error format. */
1136
- "$.xgafv"?: string;
1502
+ "$.xgafv"?:
1503
+ string;
1137
1504
  /** OAuth access token. */
1138
- access_token?: string;
1505
+ access_token?:
1506
+ string;
1139
1507
  /** Data format for response. */
1140
- alt?: string;
1508
+ alt?:
1509
+ string;
1141
1510
  /** JSONP */
1142
- callback?: string;
1511
+ callback?:
1512
+ string;
1143
1513
  /** Selector specifying which fields to include in a partial response. */
1144
- fields?: string;
1514
+ fields?:
1515
+ string;
1145
1516
  /** 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. */
1146
- key?: string;
1517
+ key?:
1518
+ string;
1147
1519
  /** OAuth 2.0 token for the current user. */
1148
- oauth_token?: string;
1520
+ oauth_token?:
1521
+ string;
1149
1522
  /** Returns response with indentations and line breaks. */
1150
- prettyPrint?: boolean;
1523
+ prettyPrint?:
1524
+ boolean;
1151
1525
  /** 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. */
1152
- quotaUser?: string;
1526
+ quotaUser?:
1527
+ string;
1153
1528
  /**
1154
1529
  * 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
1155
1530
  * this field.
1156
1531
  */
1157
- resource: string;
1532
+ resource:
1533
+ string;
1158
1534
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1159
- upload_protocol?: string;
1535
+ upload_protocol?:
1536
+ string;
1160
1537
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1161
- uploadType?: string;
1538
+ uploadType?:
1539
+ string;
1162
1540
  },
1163
1541
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1164
1542
  }
@@ -1166,43 +1544,60 @@ declare namespace gapi.client {
1166
1544
  /** Lists information about the supported locations for this service. */
1167
1545
  list(request?: {
1168
1546
  /** V1 error format. */
1169
- "$.xgafv"?: string;
1547
+ "$.xgafv"?:
1548
+ string;
1170
1549
  /** OAuth access token. */
1171
- access_token?: string;
1550
+ access_token?:
1551
+ string;
1172
1552
  /** Data format for response. */
1173
- alt?: string;
1553
+ alt?:
1554
+ string;
1174
1555
  /** JSONP */
1175
- callback?: string;
1556
+ callback?:
1557
+ string;
1176
1558
  /** Selector specifying which fields to include in a partial response. */
1177
- fields?: string;
1559
+ fields?:
1560
+ string;
1178
1561
  /**
1179
1562
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
1180
1563
  * [AIP-160](https://google.aip.dev/160).
1181
1564
  */
1182
- filter?: string;
1565
+ filter?:
1566
+ string;
1183
1567
  /** 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. */
1184
- key?: string;
1568
+ key?:
1569
+ string;
1185
1570
  /** The resource that owns the locations collection, if applicable. */
1186
- name: string;
1571
+ name:
1572
+ string;
1187
1573
  /** OAuth 2.0 token for the current user. */
1188
- oauth_token?: string;
1574
+ oauth_token?:
1575
+ string;
1189
1576
  /** The maximum number of results to return. If not set, the service selects a default. */
1190
- pageSize?: number;
1577
+ pageSize?:
1578
+ number;
1191
1579
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1192
- pageToken?: string;
1580
+ pageToken?:
1581
+ string;
1193
1582
  /** Returns response with indentations and line breaks. */
1194
- prettyPrint?: boolean;
1583
+ prettyPrint?:
1584
+ boolean;
1195
1585
  /** 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. */
1196
- quotaUser?: string;
1586
+ quotaUser?:
1587
+ string;
1197
1588
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1198
- upload_protocol?: string;
1589
+ upload_protocol?:
1590
+ string;
1199
1591
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1200
- uploadType?: string;
1592
+ uploadType?:
1593
+ string;
1201
1594
  }): Request<ListLocationsResponse>;
1202
- functions: FunctionsResource;
1595
+ functions:
1596
+ FunctionsResource;
1203
1597
  }
1204
1598
  interface ProjectsResource {
1205
- locations: LocationsResource;
1599
+ locations:
1600
+ LocationsResource;
1206
1601
  }
1207
1602
 
1208
1603
  const operations: OperationsResource;