@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230420 → 0.0.20230504

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 +852 -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=v2beta
12
- // Revision: 20230420
12
+ // Revision: 20230504
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,134 +65,172 @@ 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 BuildConfig {
68
75
  /** Output only. The Cloud Build name of the latest successful deployment of the function. */
69
- build?: string;
76
+ build?:
77
+ string;
70
78
  /**
71
79
  * Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository`
72
80
  * field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the
73
81
  * backend for eligible deployments.
74
82
  */
75
- dockerRegistry?: string;
83
+ dockerRegistry?:
84
+ string;
76
85
  /**
77
86
  * User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed
78
87
  * after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern
79
88
  * `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format
80
89
  * must be 'DOCKER'.
81
90
  */
82
- dockerRepository?: string;
91
+ dockerRepository?:
92
+ string;
83
93
  /**
84
94
  * 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
85
95
  * 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`.
86
96
  */
87
- entryPoint?: string;
97
+ entryPoint?:
98
+ string;
88
99
  /** User-provided build-time environment variables for the function */
89
- environmentVariables?: { [P in string]: string };
100
+ environmentVariables?:
101
+ { [P in string]: string };
90
102
  /**
91
103
  * 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
92
104
  * [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
93
105
  */
94
- runtime?: string;
106
+ runtime?:
107
+ string;
95
108
  /** The location of the function source code. */
96
- source?: Source;
109
+ source?:
110
+ Source;
97
111
  /** Output only. A permanent fixed identifier for source. */
98
- sourceProvenance?: SourceProvenance;
112
+ sourceProvenance?:
113
+ SourceProvenance;
99
114
  /**
100
115
  * 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}`
101
116
  * 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 id is
102
117
  * 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 Builder
103
118
  * (roles/cloudbuild.customworkers.builder) in the project.
104
119
  */
105
- workerPool?: string;
120
+ workerPool?:
121
+ string;
106
122
  }
107
123
  interface EventFilter {
108
124
  /** Required. The name of a CloudEvents attribute. */
109
- attribute?: string;
125
+ attribute?:
126
+ string;
110
127
  /**
111
128
  * Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are
112
129
  * matched. The only allowed value is `match-path-pattern`.
113
130
  */
114
- operator?: string;
131
+ operator?:
132
+ string;
115
133
  /** Required. The value for the attribute. */
116
- value?: string;
134
+ value?:
135
+ string;
117
136
  }
118
137
  interface EventTrigger {
119
138
  /**
120
139
  * Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events
121
140
  * from Eventarc SaaS partners.
122
141
  */
123
- channel?: string;
142
+ channel?:
143
+ string;
124
144
  /** Criteria used to filter events. */
125
- eventFilters?: EventFilter[];
145
+ eventFilters?:
146
+ EventFilter[];
126
147
  /** Required. The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`. */
127
- eventType?: string;
148
+ eventType?:
149
+ string;
128
150
  /**
129
151
  * Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only
130
152
  * valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.
131
153
  */
132
- pubsubTopic?: string;
154
+ pubsubTopic?:
155
+ string;
133
156
  /** Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). */
134
- retryPolicy?: string;
157
+ retryPolicy?:
158
+ string;
135
159
  /**
136
160
  * Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty,
137
161
  * defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.
138
162
  */
139
- serviceAccountEmail?: string;
163
+ serviceAccountEmail?:
164
+ string;
140
165
  /** Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`. */
141
- trigger?: string;
166
+ trigger?:
167
+ string;
142
168
  /**
143
169
  * The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or
144
170
  * multi-region, or the global region. If not provided, defaults to the same region as the function.
145
171
  */
146
- triggerRegion?: string;
172
+ triggerRegion?:
173
+ string;
147
174
  }
148
175
  interface Expr {
149
176
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
150
- description?: string;
177
+ description?:
178
+ string;
151
179
  /** Textual representation of an expression in Common Expression Language syntax. */
152
- expression?: string;
180
+ expression?:
181
+ string;
153
182
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
154
- location?: string;
183
+ location?:
184
+ string;
155
185
  /** 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. */
156
- title?: string;
186
+ title?:
187
+ string;
157
188
  }
158
189
  interface Function {
159
190
  /** Describes the Build step of the function that builds a container from the given source. */
160
- buildConfig?: BuildConfig;
191
+ buildConfig?:
192
+ BuildConfig;
161
193
  /** User-provided description of a function. */
162
- description?: string;
194
+ description?:
195
+ string;
163
196
  /** Describe whether the function is 1st Gen or 2nd Gen. */
164
- environment?: string;
197
+ environment?:
198
+ string;
165
199
  /** An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. */
166
- eventTrigger?: EventTrigger;
200
+ eventTrigger?:
201
+ EventTrigger;
167
202
  /**
168
203
  * [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
169
204
  * `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
170
205
  */
171
- kmsKeyName?: string;
206
+ kmsKeyName?:
207
+ string;
172
208
  /** Labels associated with this Cloud Function. */
173
- labels?: { [P in string]: string };
209
+ labels?:
210
+ { [P in string]: string };
174
211
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
175
- name?: string;
212
+ name?:
213
+ string;
176
214
  /** Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). */
177
- serviceConfig?: ServiceConfig;
215
+ serviceConfig?:
216
+ ServiceConfig;
178
217
  /** Output only. State of the function. */
179
- state?: string;
218
+ state?:
219
+ string;
180
220
  /** Output only. State Messages for this Cloud Function. */
181
- stateMessages?: GoogleCloudFunctionsV2betaStateMessage[];
221
+ stateMessages?:
222
+ GoogleCloudFunctionsV2betaStateMessage[];
182
223
  /** Output only. The last update timestamp of a Cloud Function. */
183
- updateTime?: string;
224
+ updateTime?:
225
+ string;
184
226
  }
185
227
  // tslint:disable-next-line:no-empty-interface
186
228
  interface GenerateDownloadUrlRequest {
187
229
  }
188
230
  interface GenerateDownloadUrlResponse {
189
231
  /** The generated Google Cloud Storage signed URL that should be used for function source code download. */
190
- downloadUrl?: string;
232
+ downloadUrl?:
233
+ string;
191
234
  }
192
235
  interface GenerateUploadUrlRequest {
193
236
  /**
@@ -197,239 +240,324 @@ declare namespace gapi.client {
197
240
  * Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter
198
241
  * (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
199
242
  */
200
- kmsKeyName?: string;
243
+ kmsKeyName?:
244
+ string;
201
245
  }
202
246
  interface GenerateUploadUrlResponse {
203
247
  /**
204
248
  * The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source`
205
249
  * during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
206
250
  */
207
- storageSource?: StorageSource;
251
+ storageSource?:
252
+ StorageSource;
208
253
  /** 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. */
209
- uploadUrl?: string;
254
+ uploadUrl?:
255
+ string;
210
256
  }
211
257
  interface GoogleCloudFunctionsV2alphaOperationMetadata {
212
258
  /** API version used to start the operation. */
213
- apiVersion?: string;
259
+ apiVersion?:
260
+ string;
214
261
  /**
215
262
  * 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
216
263
  * 1, corresponding to `Code.CANCELLED`.
217
264
  */
218
- cancelRequested?: boolean;
265
+ cancelRequested?:
266
+ boolean;
219
267
  /** The time the operation was created. */
220
- createTime?: string;
268
+ createTime?:
269
+ string;
221
270
  /** The time the operation finished running. */
222
- endTime?: string;
271
+ endTime?:
272
+ string;
223
273
  /** The original request that started the operation. */
224
- requestResource?: { [P in string]: any };
274
+ requestResource?:
275
+ { [P in string]: any };
225
276
  /** Mechanism for reporting in-progress stages */
226
- stages?: GoogleCloudFunctionsV2alphaStage[];
277
+ stages?:
278
+ GoogleCloudFunctionsV2alphaStage[];
227
279
  /** Human-readable status of the operation, if any. */
228
- statusDetail?: string;
280
+ statusDetail?:
281
+ string;
229
282
  /** Server-defined resource path for the target of the operation. */
230
- target?: string;
283
+ target?:
284
+ string;
231
285
  /** Name of the verb executed by the operation. */
232
- verb?: string;
286
+ verb?:
287
+ string;
233
288
  }
234
289
  interface GoogleCloudFunctionsV2alphaStage {
235
290
  /** Message describing the Stage */
236
- message?: string;
291
+ message?:
292
+ string;
237
293
  /** Name of the Stage. This will be unique for each Stage. */
238
- name?: string;
294
+ name?:
295
+ string;
239
296
  /** Resource of the Stage */
240
- resource?: string;
297
+ resource?:
298
+ string;
241
299
  /** Link to the current Stage resource */
242
- resourceUri?: string;
300
+ resourceUri?:
301
+ string;
243
302
  /** Current state of the Stage */
244
- state?: string;
303
+ state?:
304
+ string;
245
305
  /** State messages from the current Stage. */
246
- stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
306
+ stateMessages?:
307
+ GoogleCloudFunctionsV2alphaStateMessage[];
247
308
  }
248
309
  interface GoogleCloudFunctionsV2alphaStateMessage {
249
310
  /** The message. */
250
- message?: string;
311
+ message?:
312
+ string;
251
313
  /** Severity of the state message. */
252
- severity?: string;
314
+ severity?:
315
+ string;
253
316
  /** One-word CamelCase type of the state message. */
254
- type?: string;
317
+ type?:
318
+ string;
255
319
  }
256
320
  interface GoogleCloudFunctionsV2betaOperationMetadata {
257
321
  /** API version used to start the operation. */
258
- apiVersion?: string;
322
+ apiVersion?:
323
+ string;
259
324
  /**
260
325
  * 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
261
326
  * 1, corresponding to `Code.CANCELLED`.
262
327
  */
263
- cancelRequested?: boolean;
328
+ cancelRequested?:
329
+ boolean;
264
330
  /** The time the operation was created. */
265
- createTime?: string;
331
+ createTime?:
332
+ string;
266
333
  /** The time the operation finished running. */
267
- endTime?: string;
334
+ endTime?:
335
+ string;
268
336
  /** The original request that started the operation. */
269
- requestResource?: { [P in string]: any };
337
+ requestResource?:
338
+ { [P in string]: any };
270
339
  /** Mechanism for reporting in-progress stages */
271
- stages?: GoogleCloudFunctionsV2betaStage[];
340
+ stages?:
341
+ GoogleCloudFunctionsV2betaStage[];
272
342
  /** Human-readable status of the operation, if any. */
273
- statusDetail?: string;
343
+ statusDetail?:
344
+ string;
274
345
  /** Server-defined resource path for the target of the operation. */
275
- target?: string;
346
+ target?:
347
+ string;
276
348
  /** Name of the verb executed by the operation. */
277
- verb?: string;
349
+ verb?:
350
+ string;
278
351
  }
279
352
  interface GoogleCloudFunctionsV2betaStage {
280
353
  /** Message describing the Stage */
281
- message?: string;
354
+ message?:
355
+ string;
282
356
  /** Name of the Stage. This will be unique for each Stage. */
283
- name?: string;
357
+ name?:
358
+ string;
284
359
  /** Resource of the Stage */
285
- resource?: string;
360
+ resource?:
361
+ string;
286
362
  /** Link to the current Stage resource */
287
- resourceUri?: string;
363
+ resourceUri?:
364
+ string;
288
365
  /** Current state of the Stage */
289
- state?: string;
366
+ state?:
367
+ string;
290
368
  /** State messages from the current Stage. */
291
- stateMessages?: GoogleCloudFunctionsV2betaStateMessage[];
369
+ stateMessages?:
370
+ GoogleCloudFunctionsV2betaStateMessage[];
292
371
  }
293
372
  interface GoogleCloudFunctionsV2betaStateMessage {
294
373
  /** The message. */
295
- message?: string;
374
+ message?:
375
+ string;
296
376
  /** Severity of the state message. */
297
- severity?: string;
377
+ severity?:
378
+ string;
298
379
  /** One-word CamelCase type of the state message. */
299
- type?: string;
380
+ type?:
381
+ string;
300
382
  }
301
383
  interface GoogleCloudFunctionsV2OperationMetadata {
302
384
  /** API version used to start the operation. */
303
- apiVersion?: string;
385
+ apiVersion?:
386
+ string;
304
387
  /**
305
388
  * 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
306
389
  * 1, corresponding to `Code.CANCELLED`.
307
390
  */
308
- cancelRequested?: boolean;
391
+ cancelRequested?:
392
+ boolean;
309
393
  /** The time the operation was created. */
310
- createTime?: string;
394
+ createTime?:
395
+ string;
311
396
  /** The time the operation finished running. */
312
- endTime?: string;
397
+ endTime?:
398
+ string;
313
399
  /** The original request that started the operation. */
314
- requestResource?: { [P in string]: any };
400
+ requestResource?:
401
+ { [P in string]: any };
315
402
  /** Mechanism for reporting in-progress stages */
316
- stages?: GoogleCloudFunctionsV2Stage[];
403
+ stages?:
404
+ GoogleCloudFunctionsV2Stage[];
317
405
  /** Human-readable status of the operation, if any. */
318
- statusDetail?: string;
406
+ statusDetail?:
407
+ string;
319
408
  /** Server-defined resource path for the target of the operation. */
320
- target?: string;
409
+ target?:
410
+ string;
321
411
  /** Name of the verb executed by the operation. */
322
- verb?: string;
412
+ verb?:
413
+ string;
323
414
  }
324
415
  interface GoogleCloudFunctionsV2Stage {
325
416
  /** Message describing the Stage */
326
- message?: string;
417
+ message?:
418
+ string;
327
419
  /** Name of the Stage. This will be unique for each Stage. */
328
- name?: string;
420
+ name?:
421
+ string;
329
422
  /** Resource of the Stage */
330
- resource?: string;
423
+ resource?:
424
+ string;
331
425
  /** Link to the current Stage resource */
332
- resourceUri?: string;
426
+ resourceUri?:
427
+ string;
333
428
  /** Current state of the Stage */
334
- state?: string;
429
+ state?:
430
+ string;
335
431
  /** State messages from the current Stage. */
336
- stateMessages?: GoogleCloudFunctionsV2StateMessage[];
432
+ stateMessages?:
433
+ GoogleCloudFunctionsV2StateMessage[];
337
434
  }
338
435
  interface GoogleCloudFunctionsV2StateMessage {
339
436
  /** The message. */
340
- message?: string;
437
+ message?:
438
+ string;
341
439
  /** Severity of the state message. */
342
- severity?: string;
440
+ severity?:
441
+ string;
343
442
  /** One-word CamelCase type of the state message. */
344
- type?: string;
443
+ type?:
444
+ string;
345
445
  }
346
446
  interface ListFunctionsResponse {
347
447
  /** The functions that match the request. */
348
- // tslint:disable-next-line:ban-types
349
- functions?: Function[];
448
+ functions?:
449
+ // tslint:disable-next-line:ban-types
450
+ Function[];
350
451
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
351
- nextPageToken?: string;
452
+ nextPageToken?:
453
+ string;
352
454
  /** Locations that could not be reached. The response does not include any functions from these locations. */
353
- unreachable?: string[];
455
+ unreachable?:
456
+ string[];
354
457
  }
355
458
  interface ListLocationsResponse {
356
459
  /** A list of locations that matches the specified filter in the request. */
357
- locations?: Location[];
460
+ locations?:
461
+ Location[];
358
462
  /** The standard List next-page token. */
359
- nextPageToken?: string;
463
+ nextPageToken?:
464
+ string;
360
465
  }
361
466
  interface ListOperationsResponse {
362
467
  /** The standard List next-page token. */
363
- nextPageToken?: string;
468
+ nextPageToken?:
469
+ string;
364
470
  /** A list of operations that matches the specified filter in the request. */
365
- operations?: Operation[];
471
+ operations?:
472
+ Operation[];
366
473
  }
367
474
  interface ListRuntimesResponse {
368
475
  /** The runtimes that match the request. */
369
- runtimes?: Runtime[];
476
+ runtimes?:
477
+ Runtime[];
370
478
  }
371
479
  interface Location {
372
480
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
373
- displayName?: string;
481
+ displayName?:
482
+ string;
374
483
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
375
- labels?: { [P in string]: string };
484
+ labels?:
485
+ { [P in string]: string };
376
486
  /** The canonical id for this location. For example: `"us-east1"`. */
377
- locationId?: string;
487
+ locationId?:
488
+ string;
378
489
  /** Service-specific metadata. For example the available capacity at the given location. */
379
- metadata?: { [P in string]: any };
490
+ metadata?:
491
+ { [P in string]: any };
380
492
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
381
- name?: string;
493
+ name?:
494
+ string;
382
495
  }
383
496
  interface Operation {
384
497
  /** 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. */
385
- done?: boolean;
498
+ done?:
499
+ boolean;
386
500
  /** The error result of the operation in case of failure or cancellation. */
387
- error?: Status;
501
+ error?:
502
+ Status;
388
503
  /**
389
504
  * 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
390
505
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
391
506
  */
392
- metadata?: { [P in string]: any };
507
+ metadata?:
508
+ { [P in string]: any };
393
509
  /**
394
510
  * 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
395
511
  * with `operations/{unique_id}`.
396
512
  */
397
- name?: string;
513
+ name?:
514
+ string;
398
515
  /**
399
516
  * 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
400
517
  * 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
401
518
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
402
519
  */
403
- response?: { [P in string]: any };
520
+ response?:
521
+ { [P in string]: any };
404
522
  }
405
523
  interface OperationMetadataV1 {
406
524
  /** The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. */
407
- buildId?: string;
525
+ buildId?:
526
+ string;
408
527
  /** The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`. */
409
- buildName?: string;
528
+ buildName?:
529
+ string;
410
530
  /** The original request that started the operation. */
411
- request?: { [P in string]: any };
531
+ request?:
532
+ { [P in string]: any };
412
533
  /** An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
413
- sourceToken?: string;
534
+ sourceToken?:
535
+ string;
414
536
  /** Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1` */
415
- target?: string;
537
+ target?:
538
+ string;
416
539
  /** Type of operation. */
417
- type?: string;
540
+ type?:
541
+ string;
418
542
  /** The last update timestamp of the operation. */
419
- updateTime?: string;
543
+ updateTime?:
544
+ string;
420
545
  /** Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. */
421
- versionId?: string;
546
+ versionId?:
547
+ string;
422
548
  }
423
549
  interface Policy {
424
550
  /** Specifies cloud audit logging configuration for this policy. */
425
- auditConfigs?: AuditConfig[];
551
+ auditConfigs?:
552
+ AuditConfig[];
426
553
  /**
427
554
  * 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`
428
555
  * 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
429
556
  * 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
430
557
  * 1,450 principals to the `bindings` in the `Policy`.
431
558
  */
432
- bindings?: Binding[];
559
+ bindings?:
560
+ Binding[];
433
561
  /**
434
562
  * `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
435
563
  * 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
@@ -437,7 +565,8 @@ declare namespace gapi.client {
437
565
  * 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`
438
566
  * policy, and all of the conditions in the version `3` policy are lost.
439
567
  */
440
- etag?: string;
568
+ etag?:
569
+ string;
441
570
  /**
442
571
  * 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
443
572
  * 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
@@ -446,281 +575,375 @@ declare namespace gapi.client {
446
575
  * 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
447
576
  * 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).
448
577
  */
449
- version?: number;
578
+ version?:
579
+ number;
450
580
  }
451
581
  interface RepoSource {
452
582
  /** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
453
- branchName?: string;
583
+ branchName?:
584
+ string;
454
585
  /** Explicit commit SHA to build. */
455
- commitSha?: string;
586
+ commitSha?:
587
+ string;
456
588
  /**
457
589
  * Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for
458
590
  * that step's execution. eg. helloworld (no leading slash allowed)
459
591
  */
460
- dir?: string;
592
+ dir?:
593
+ string;
461
594
  /** Only trigger a build if the revision regex does NOT match the revision regex. */
462
- invertRegex?: boolean;
595
+ invertRegex?:
596
+ boolean;
463
597
  /** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
464
- projectId?: string;
598
+ projectId?:
599
+ string;
465
600
  /** Name of the Cloud Source Repository. */
466
- repoName?: string;
601
+ repoName?:
602
+ string;
467
603
  /** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
468
- tagName?: string;
604
+ tagName?:
605
+ string;
469
606
  }
470
607
  interface Runtime {
471
608
  /** The user facing name, eg 'Go 1.13', 'Node.js 12', etc. */
472
- displayName?: string;
609
+ displayName?:
610
+ string;
473
611
  /** The environment for the runtime. */
474
- environment?: string;
612
+ environment?:
613
+ string;
475
614
  /** The name of the runtime, e.g., 'go113', 'nodejs12', etc. */
476
- name?: string;
615
+ name?:
616
+ string;
477
617
  /** The stage of life this runtime is in, e.g., BETA, GA, etc. */
478
- stage?: string;
618
+ stage?:
619
+ string;
479
620
  /** Warning messages, e.g., a deprecation warning. */
480
- warnings?: string[];
621
+ warnings?:
622
+ string[];
481
623
  }
482
624
  interface SecretEnvVar {
483
625
  /** Name of the environment variable. */
484
- key?: string;
626
+ key?:
627
+ string;
485
628
  /**
486
629
  * Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same
487
630
  * project as the function.
488
631
  */
489
- projectId?: string;
632
+ projectId?:
633
+ string;
490
634
  /** Name of the secret in secret manager (not the full resource name). */
491
- secret?: string;
635
+ secret?:
636
+ string;
492
637
  /**
493
638
  * 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
494
639
  * reflected until new instances start.
495
640
  */
496
- version?: string;
641
+ version?:
642
+ string;
497
643
  }
498
644
  interface SecretVersion {
499
645
  /**
500
646
  * 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
501
647
  * path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
502
648
  */
503
- path?: string;
649
+ path?:
650
+ string;
504
651
  /** Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately. */
505
- version?: string;
652
+ version?:
653
+ string;
506
654
  }
507
655
  interface SecretVolume {
508
656
  /**
509
657
  * The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets`
510
658
  * directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
511
659
  */
512
- mountPath?: string;
660
+ mountPath?:
661
+ string;
513
662
  /**
514
663
  * Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same
515
664
  * project as the function.
516
665
  */
517
- projectId?: string;
666
+ projectId?:
667
+ string;
518
668
  /** Name of the secret in secret manager (not the full resource name). */
519
- secret?: string;
669
+ secret?:
670
+ string;
520
671
  /** 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. */
521
- versions?: SecretVersion[];
672
+ versions?:
673
+ SecretVersion[];
522
674
  }
523
675
  interface ServiceConfig {
524
676
  /**
525
677
  * Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring
526
678
  * any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.
527
679
  */
528
- allTrafficOnLatestRevision?: boolean;
680
+ allTrafficOnLatestRevision?:
681
+ boolean;
529
682
  /**
530
683
  * [Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see
531
684
  * https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU
532
685
  */
533
- availableCpu?: string;
686
+ availableCpu?:
687
+ string;
534
688
  /**
535
689
  * The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See
536
690
  * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.
537
691
  */
538
- availableMemory?: string;
692
+ availableMemory?:
693
+ string;
539
694
  /** Environment variables that shall be available during function execution. */
540
- environmentVariables?: { [P in string]: string };
695
+ environmentVariables?:
696
+ { [P in string]: string };
541
697
  /** The ingress settings for the function, controlling what traffic can reach it. */
542
- ingressSettings?: string;
698
+ ingressSettings?:
699
+ string;
543
700
  /**
544
701
  * 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,
545
702
  * 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
546
703
  * instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
547
704
  */
548
- maxInstanceCount?: number;
705
+ maxInstanceCount?:
706
+ number;
549
707
  /** [Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. */
550
- maxInstanceRequestConcurrency?: number;
708
+ maxInstanceRequestConcurrency?:
709
+ number;
551
710
  /**
552
711
  * The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing
553
712
  * the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always.
554
713
  * This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.
555
714
  */
556
- minInstanceCount?: number;
715
+ minInstanceCount?:
716
+ number;
557
717
  /** Output only. The name of service revision. */
558
- revision?: string;
718
+ revision?:
719
+ string;
559
720
  /** Secret environment variables configuration. */
560
- secretEnvironmentVariables?: SecretEnvVar[];
721
+ secretEnvironmentVariables?:
722
+ SecretEnvVar[];
561
723
  /** Secret volumes configuration. */
562
- secretVolumes?: SecretVolume[];
724
+ secretVolumes?:
725
+ SecretVolume[];
563
726
  /**
564
727
  * Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st
565
728
  * Gen functions; 2nd Gen functions are https ONLY.
566
729
  */
567
- securityLevel?: string;
730
+ securityLevel?:
731
+ string;
568
732
  /** Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` */
569
- service?: string;
733
+ service?:
734
+ string;
570
735
  /** The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. */
571
- serviceAccountEmail?: string;
736
+ serviceAccountEmail?:
737
+ string;
572
738
  /** 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. */
573
- timeoutSeconds?: number;
739
+ timeoutSeconds?:
740
+ number;
574
741
  /** Output only. URI of the Service deployed. */
575
- uri?: string;
742
+ uri?:
743
+ string;
576
744
  /** The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*‍/locations/*‍/connectors/*`. */
577
- vpcConnector?: string;
745
+ vpcConnector?:
746
+ string;
578
747
  /** The egress settings for the connector, controlling what traffic is diverted through it. */
579
- vpcConnectorEgressSettings?: string;
748
+ vpcConnectorEgressSettings?:
749
+ string;
580
750
  }
581
751
  interface SetIamPolicyRequest {
582
752
  /**
583
753
  * 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
584
754
  * services (such as Projects) might reject them.
585
755
  */
586
- policy?: Policy;
756
+ policy?:
757
+ Policy;
587
758
  /**
588
759
  * 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:
589
760
  * `paths: "bindings, etag"`
590
761
  */
591
- updateMask?: string;
762
+ updateMask?:
763
+ string;
592
764
  }
593
765
  interface Source {
594
766
  /** If provided, get the source from this location in a Cloud Source Repository. */
595
- repoSource?: RepoSource;
767
+ repoSource?:
768
+ RepoSource;
596
769
  /** If provided, get the source from this location in Google Cloud Storage. */
597
- storageSource?: StorageSource;
770
+ storageSource?:
771
+ StorageSource;
598
772
  }
599
773
  interface SourceProvenance {
600
774
  /** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
601
- resolvedRepoSource?: RepoSource;
775
+ resolvedRepoSource?:
776
+ RepoSource;
602
777
  /** A copy of the build's `source.storage_source`, if exists, with any generations resolved. */
603
- resolvedStorageSource?: StorageSource;
778
+ resolvedStorageSource?:
779
+ StorageSource;
604
780
  }
605
781
  interface Status {
606
782
  /** The status code, which should be an enum value of google.rpc.Code. */
607
- code?: number;
783
+ code?:
784
+ number;
608
785
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
609
- details?: Array<{ [P in string]: any }>;
786
+ details?:
787
+ Array<{ [P in string]: any }>;
610
788
  /**
611
789
  * 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
612
790
  * client.
613
791
  */
614
- message?: string;
792
+ message?:
793
+ string;
615
794
  }
616
795
  interface StorageSource {
617
796
  /** Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
618
- bucket?: string;
797
+ bucket?:
798
+ string;
619
799
  /** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
620
- generation?: string;
800
+ generation?:
801
+ string;
621
802
  /** Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build. */
622
- object?: string;
803
+ object?:
804
+ string;
623
805
  }
624
806
  interface TestIamPermissionsRequest {
625
807
  /**
626
808
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
627
809
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
628
810
  */
629
- permissions?: string[];
811
+ permissions?:
812
+ string[];
630
813
  }
631
814
  interface TestIamPermissionsResponse {
632
815
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
633
- permissions?: string[];
816
+ permissions?:
817
+ string[];
634
818
  }
635
819
  interface FunctionsResource {
636
820
  /** 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. */
637
821
  create(request: {
638
822
  /** V1 error format. */
639
- "$.xgafv"?: string;
823
+ "$.xgafv"?:
824
+ string;
640
825
  /** OAuth access token. */
641
- access_token?: string;
826
+ access_token?:
827
+ string;
642
828
  /** Data format for response. */
643
- alt?: string;
829
+ alt?:
830
+ string;
644
831
  /** JSONP */
645
- callback?: string;
832
+ callback?:
833
+ string;
646
834
  /** Selector specifying which fields to include in a partial response. */
647
- fields?: string;
835
+ fields?:
836
+ string;
648
837
  /** The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
649
- functionId?: string;
838
+ functionId?:
839
+ string;
650
840
  /** 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. */
651
- key?: string;
841
+ key?:
842
+ string;
652
843
  /** OAuth 2.0 token for the current user. */
653
- oauth_token?: string;
844
+ oauth_token?:
845
+ string;
654
846
  /** Required. The project and location in which the function should be created, specified in the format `projects/*‍/locations/*` */
655
- parent: string;
847
+ parent:
848
+ string;
656
849
  /** Returns response with indentations and line breaks. */
657
- prettyPrint?: boolean;
850
+ prettyPrint?:
851
+ boolean;
658
852
  /** 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. */
659
- quotaUser?: string;
853
+ quotaUser?:
854
+ string;
660
855
  /** Upload protocol for media (e.g. "raw", "multipart"). */
661
- upload_protocol?: string;
856
+ upload_protocol?:
857
+ string;
662
858
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
663
- uploadType?: string;
859
+ uploadType?:
860
+ string;
664
861
  /** Request body */
665
- // tslint:disable-next-line:ban-types
666
- resource: Function;
862
+ resource:
863
+ // tslint:disable-next-line:ban-types
864
+ Function;
667
865
  }): Request<Operation>;
668
866
  create(request: {
669
867
  /** V1 error format. */
670
- "$.xgafv"?: string;
868
+ "$.xgafv"?:
869
+ string;
671
870
  /** OAuth access token. */
672
- access_token?: string;
871
+ access_token?:
872
+ string;
673
873
  /** Data format for response. */
674
- alt?: string;
874
+ alt?:
875
+ string;
675
876
  /** JSONP */
676
- callback?: string;
877
+ callback?:
878
+ string;
677
879
  /** Selector specifying which fields to include in a partial response. */
678
- fields?: string;
880
+ fields?:
881
+ string;
679
882
  /** The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
680
- functionId?: string;
883
+ functionId?:
884
+ string;
681
885
  /** 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. */
682
- key?: string;
886
+ key?:
887
+ string;
683
888
  /** OAuth 2.0 token for the current user. */
684
- oauth_token?: string;
889
+ oauth_token?:
890
+ string;
685
891
  /** Required. The project and location in which the function should be created, specified in the format `projects/*‍/locations/*` */
686
- parent: string;
892
+ parent:
893
+ string;
687
894
  /** Returns response with indentations and line breaks. */
688
- prettyPrint?: boolean;
895
+ prettyPrint?:
896
+ boolean;
689
897
  /** 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. */
690
- quotaUser?: string;
898
+ quotaUser?:
899
+ string;
691
900
  /** Upload protocol for media (e.g. "raw", "multipart"). */
692
- upload_protocol?: string;
901
+ upload_protocol?:
902
+ string;
693
903
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
694
- uploadType?: string;
904
+ uploadType?:
905
+ string;
695
906
  },
696
907
  // tslint:disable-next-line:ban-types
697
908
  body: Function): Request<Operation>;
698
909
  /** 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. */
699
910
  delete(request?: {
700
911
  /** V1 error format. */
701
- "$.xgafv"?: string;
912
+ "$.xgafv"?:
913
+ string;
702
914
  /** OAuth access token. */
703
- access_token?: string;
915
+ access_token?:
916
+ string;
704
917
  /** Data format for response. */
705
- alt?: string;
918
+ alt?:
919
+ string;
706
920
  /** JSONP */
707
- callback?: string;
921
+ callback?:
922
+ string;
708
923
  /** Selector specifying which fields to include in a partial response. */
709
- fields?: string;
924
+ fields?:
925
+ string;
710
926
  /** 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. */
711
- key?: string;
927
+ key?:
928
+ string;
712
929
  /** Required. The name of the function which should be deleted. */
713
- name: string;
930
+ name:
931
+ string;
714
932
  /** OAuth 2.0 token for the current user. */
715
- oauth_token?: string;
933
+ oauth_token?:
934
+ string;
716
935
  /** Returns response with indentations and line breaks. */
717
- prettyPrint?: boolean;
936
+ prettyPrint?:
937
+ boolean;
718
938
  /** 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. */
719
- quotaUser?: string;
939
+ quotaUser?:
940
+ string;
720
941
  /** Upload protocol for media (e.g. "raw", "multipart"). */
721
- upload_protocol?: string;
942
+ upload_protocol?:
943
+ string;
722
944
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
723
- uploadType?: string;
945
+ uploadType?:
946
+ string;
724
947
  }): Request<Operation>;
725
948
  /**
726
949
  * Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more
@@ -728,57 +951,82 @@ declare namespace gapi.client {
728
951
  */
729
952
  generateDownloadUrl(request: {
730
953
  /** V1 error format. */
731
- "$.xgafv"?: string;
954
+ "$.xgafv"?:
955
+ string;
732
956
  /** OAuth access token. */
733
- access_token?: string;
957
+ access_token?:
958
+ string;
734
959
  /** Data format for response. */
735
- alt?: string;
960
+ alt?:
961
+ string;
736
962
  /** JSONP */
737
- callback?: string;
963
+ callback?:
964
+ string;
738
965
  /** Selector specifying which fields to include in a partial response. */
739
- fields?: string;
966
+ fields?:
967
+ string;
740
968
  /** 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. */
741
- key?: string;
969
+ key?:
970
+ string;
742
971
  /** Required. The name of function for which source code Google Cloud Storage signed URL should be generated. */
743
- name: string;
972
+ name:
973
+ string;
744
974
  /** OAuth 2.0 token for the current user. */
745
- oauth_token?: string;
975
+ oauth_token?:
976
+ string;
746
977
  /** Returns response with indentations and line breaks. */
747
- prettyPrint?: boolean;
978
+ prettyPrint?:
979
+ boolean;
748
980
  /** 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. */
749
- quotaUser?: string;
981
+ quotaUser?:
982
+ string;
750
983
  /** Upload protocol for media (e.g. "raw", "multipart"). */
751
- upload_protocol?: string;
984
+ upload_protocol?:
985
+ string;
752
986
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
753
- uploadType?: string;
987
+ uploadType?:
988
+ string;
754
989
  /** Request body */
755
- resource: GenerateDownloadUrlRequest;
990
+ resource:
991
+ GenerateDownloadUrlRequest;
756
992
  }): Request<GenerateDownloadUrlResponse>;
757
993
  generateDownloadUrl(request: {
758
994
  /** V1 error format. */
759
- "$.xgafv"?: string;
995
+ "$.xgafv"?:
996
+ string;
760
997
  /** OAuth access token. */
761
- access_token?: string;
998
+ access_token?:
999
+ string;
762
1000
  /** Data format for response. */
763
- alt?: string;
1001
+ alt?:
1002
+ string;
764
1003
  /** JSONP */
765
- callback?: string;
1004
+ callback?:
1005
+ string;
766
1006
  /** Selector specifying which fields to include in a partial response. */
767
- fields?: string;
1007
+ fields?:
1008
+ string;
768
1009
  /** 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. */
769
- key?: string;
1010
+ key?:
1011
+ string;
770
1012
  /** Required. The name of function for which source code Google Cloud Storage signed URL should be generated. */
771
- name: string;
1013
+ name:
1014
+ string;
772
1015
  /** OAuth 2.0 token for the current user. */
773
- oauth_token?: string;
1016
+ oauth_token?:
1017
+ string;
774
1018
  /** Returns response with indentations and line breaks. */
775
- prettyPrint?: boolean;
1019
+ prettyPrint?:
1020
+ boolean;
776
1021
  /** 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. */
777
- quotaUser?: string;
1022
+ quotaUser?:
1023
+ string;
778
1024
  /** Upload protocol for media (e.g. "raw", "multipart"). */
779
- upload_protocol?: string;
1025
+ upload_protocol?:
1026
+ string;
780
1027
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
781
- uploadType?: string;
1028
+ uploadType?:
1029
+ string;
782
1030
  },
783
1031
  body: GenerateDownloadUrlRequest): Request<GenerateDownloadUrlResponse>;
784
1032
  /**
@@ -791,104 +1039,148 @@ declare namespace gapi.client {
791
1039
  */
792
1040
  generateUploadUrl(request: {
793
1041
  /** V1 error format. */
794
- "$.xgafv"?: string;
1042
+ "$.xgafv"?:
1043
+ string;
795
1044
  /** OAuth access token. */
796
- access_token?: string;
1045
+ access_token?:
1046
+ string;
797
1047
  /** Data format for response. */
798
- alt?: string;
1048
+ alt?:
1049
+ string;
799
1050
  /** JSONP */
800
- callback?: string;
1051
+ callback?:
1052
+ string;
801
1053
  /** Selector specifying which fields to include in a partial response. */
802
- fields?: string;
1054
+ fields?:
1055
+ string;
803
1056
  /** 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. */
804
- key?: string;
1057
+ key?:
1058
+ string;
805
1059
  /** OAuth 2.0 token for the current user. */
806
- oauth_token?: string;
1060
+ oauth_token?:
1061
+ string;
807
1062
  /** Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*‍/locations/*`. */
808
- parent: string;
1063
+ parent:
1064
+ string;
809
1065
  /** Returns response with indentations and line breaks. */
810
- prettyPrint?: boolean;
1066
+ prettyPrint?:
1067
+ boolean;
811
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. */
812
- quotaUser?: string;
1069
+ quotaUser?:
1070
+ string;
813
1071
  /** Upload protocol for media (e.g. "raw", "multipart"). */
814
- upload_protocol?: string;
1072
+ upload_protocol?:
1073
+ string;
815
1074
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
816
- uploadType?: string;
1075
+ uploadType?:
1076
+ string;
817
1077
  /** Request body */
818
- resource: GenerateUploadUrlRequest;
1078
+ resource:
1079
+ GenerateUploadUrlRequest;
819
1080
  }): Request<GenerateUploadUrlResponse>;
820
1081
  generateUploadUrl(request: {
821
1082
  /** V1 error format. */
822
- "$.xgafv"?: string;
1083
+ "$.xgafv"?:
1084
+ string;
823
1085
  /** OAuth access token. */
824
- access_token?: string;
1086
+ access_token?:
1087
+ string;
825
1088
  /** Data format for response. */
826
- alt?: string;
1089
+ alt?:
1090
+ string;
827
1091
  /** JSONP */
828
- callback?: string;
1092
+ callback?:
1093
+ string;
829
1094
  /** Selector specifying which fields to include in a partial response. */
830
- fields?: string;
1095
+ fields?:
1096
+ string;
831
1097
  /** 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. */
832
- key?: string;
1098
+ key?:
1099
+ string;
833
1100
  /** OAuth 2.0 token for the current user. */
834
- oauth_token?: string;
1101
+ oauth_token?:
1102
+ string;
835
1103
  /** Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*‍/locations/*`. */
836
- parent: string;
1104
+ parent:
1105
+ string;
837
1106
  /** Returns response with indentations and line breaks. */
838
- prettyPrint?: boolean;
1107
+ prettyPrint?:
1108
+ boolean;
839
1109
  /** 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. */
840
- quotaUser?: string;
1110
+ quotaUser?:
1111
+ string;
841
1112
  /** Upload protocol for media (e.g. "raw", "multipart"). */
842
- upload_protocol?: string;
1113
+ upload_protocol?:
1114
+ string;
843
1115
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
844
- uploadType?: string;
1116
+ uploadType?:
1117
+ string;
845
1118
  },
846
1119
  body: GenerateUploadUrlRequest): Request<GenerateUploadUrlResponse>;
847
1120
  /** Returns a function with the given name from the requested project. */
848
1121
  get(request?: {
849
1122
  /** V1 error format. */
850
- "$.xgafv"?: string;
1123
+ "$.xgafv"?:
1124
+ string;
851
1125
  /** OAuth access token. */
852
- access_token?: string;
1126
+ access_token?:
1127
+ string;
853
1128
  /** Data format for response. */
854
- alt?: string;
1129
+ alt?:
1130
+ string;
855
1131
  /** JSONP */
856
- callback?: string;
1132
+ callback?:
1133
+ string;
857
1134
  /** Selector specifying which fields to include in a partial response. */
858
- fields?: string;
1135
+ fields?:
1136
+ string;
859
1137
  /** 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. */
860
- key?: string;
1138
+ key?:
1139
+ string;
861
1140
  /** Required. The name of the function which details should be obtained. */
862
- name: string;
1141
+ name:
1142
+ string;
863
1143
  /** OAuth 2.0 token for the current user. */
864
- oauth_token?: string;
1144
+ oauth_token?:
1145
+ string;
865
1146
  /** Returns response with indentations and line breaks. */
866
- prettyPrint?: boolean;
1147
+ prettyPrint?:
1148
+ boolean;
867
1149
  /** 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. */
868
- quotaUser?: string;
1150
+ quotaUser?:
1151
+ string;
869
1152
  /** Upload protocol for media (e.g. "raw", "multipart"). */
870
- upload_protocol?: string;
1153
+ upload_protocol?:
1154
+ string;
871
1155
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
872
- uploadType?: string;
1156
+ uploadType?:
1157
+ string;
873
1158
  }
874
1159
  // tslint:disable-next-line:ban-types
875
1160
  ): Request<Function>;
876
1161
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
877
1162
  getIamPolicy(request?: {
878
1163
  /** V1 error format. */
879
- "$.xgafv"?: string;
1164
+ "$.xgafv"?:
1165
+ string;
880
1166
  /** OAuth access token. */
881
- access_token?: string;
1167
+ access_token?:
1168
+ string;
882
1169
  /** Data format for response. */
883
- alt?: string;
1170
+ alt?:
1171
+ string;
884
1172
  /** JSONP */
885
- callback?: string;
1173
+ callback?:
1174
+ string;
886
1175
  /** Selector specifying which fields to include in a partial response. */
887
- fields?: string;
1176
+ fields?:
1177
+ string;
888
1178
  /** 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. */
889
- key?: string;
1179
+ key?:
1180
+ string;
890
1181
  /** OAuth 2.0 token for the current user. */
891
- oauth_token?: string;
1182
+ oauth_token?:
1183
+ string;
892
1184
  /**
893
1185
  * 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
894
1186
  * 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
@@ -896,157 +1188,218 @@ declare namespace gapi.client {
896
1188
  * role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
897
1189
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
898
1190
  */
899
- "options.requestedPolicyVersion"?: number;
1191
+ "options.requestedPolicyVersion"?:
1192
+ number;
900
1193
  /** Returns response with indentations and line breaks. */
901
- prettyPrint?: boolean;
1194
+ prettyPrint?:
1195
+ boolean;
902
1196
  /** 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. */
903
- quotaUser?: string;
1197
+ quotaUser?:
1198
+ string;
904
1199
  /**
905
1200
  * 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
906
1201
  * field.
907
1202
  */
908
- resource: string;
1203
+ resource:
1204
+ string;
909
1205
  /** Upload protocol for media (e.g. "raw", "multipart"). */
910
- upload_protocol?: string;
1206
+ upload_protocol?:
1207
+ string;
911
1208
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
912
- uploadType?: string;
1209
+ uploadType?:
1210
+ string;
913
1211
  }): Request<Policy>;
914
1212
  /** Returns a list of functions that belong to the requested project. */
915
1213
  list(request?: {
916
1214
  /** V1 error format. */
917
- "$.xgafv"?: string;
1215
+ "$.xgafv"?:
1216
+ string;
918
1217
  /** OAuth access token. */
919
- access_token?: string;
1218
+ access_token?:
1219
+ string;
920
1220
  /** Data format for response. */
921
- alt?: string;
1221
+ alt?:
1222
+ string;
922
1223
  /** JSONP */
923
- callback?: string;
1224
+ callback?:
1225
+ string;
924
1226
  /** Selector specifying which fields to include in a partial response. */
925
- fields?: string;
1227
+ fields?:
1228
+ string;
926
1229
  /** The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160. */
927
- filter?: string;
1230
+ filter?:
1231
+ string;
928
1232
  /** 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. */
929
- key?: string;
1233
+ key?:
1234
+ string;
930
1235
  /** OAuth 2.0 token for the current user. */
931
- oauth_token?: string;
1236
+ oauth_token?:
1237
+ string;
932
1238
  /** The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering. */
933
- orderBy?: string;
1239
+ orderBy?:
1240
+ string;
934
1241
  /**
935
1242
  * Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced
936
1243
  * as 1,000. The size of the list response can be less than specified when used with filters.
937
1244
  */
938
- pageSize?: number;
1245
+ pageSize?:
1246
+ number;
939
1247
  /**
940
1248
  * 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
941
1249
  * data.
942
1250
  */
943
- pageToken?: string;
1251
+ pageToken?:
1252
+ string;
944
1253
  /**
945
1254
  * Required. 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,
946
1255
  * use "-" in 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
947
1256
  * locations along with the names of any unreachable locations.
948
1257
  */
949
- parent: string;
1258
+ parent:
1259
+ string;
950
1260
  /** Returns response with indentations and line breaks. */
951
- prettyPrint?: boolean;
1261
+ prettyPrint?:
1262
+ boolean;
952
1263
  /** 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. */
953
- quotaUser?: string;
1264
+ quotaUser?:
1265
+ string;
954
1266
  /** Upload protocol for media (e.g. "raw", "multipart"). */
955
- upload_protocol?: string;
1267
+ upload_protocol?:
1268
+ string;
956
1269
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
957
- uploadType?: string;
1270
+ uploadType?:
1271
+ string;
958
1272
  }): Request<ListFunctionsResponse>;
959
1273
  /** Updates existing function. */
960
1274
  patch(request: {
961
1275
  /** V1 error format. */
962
- "$.xgafv"?: string;
1276
+ "$.xgafv"?:
1277
+ string;
963
1278
  /** OAuth access token. */
964
- access_token?: string;
1279
+ access_token?:
1280
+ string;
965
1281
  /** Data format for response. */
966
- alt?: string;
1282
+ alt?:
1283
+ string;
967
1284
  /** JSONP */
968
- callback?: string;
1285
+ callback?:
1286
+ string;
969
1287
  /** Selector specifying which fields to include in a partial response. */
970
- fields?: string;
1288
+ fields?:
1289
+ string;
971
1290
  /** 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. */
972
- key?: string;
1291
+ key?:
1292
+ string;
973
1293
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
974
- name: string;
1294
+ name:
1295
+ string;
975
1296
  /** OAuth 2.0 token for the current user. */
976
- oauth_token?: string;
1297
+ oauth_token?:
1298
+ string;
977
1299
  /** Returns response with indentations and line breaks. */
978
- prettyPrint?: boolean;
1300
+ prettyPrint?:
1301
+ boolean;
979
1302
  /** 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. */
980
- quotaUser?: string;
1303
+ quotaUser?:
1304
+ string;
981
1305
  /** The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated. */
982
- updateMask?: string;
1306
+ updateMask?:
1307
+ string;
983
1308
  /** Upload protocol for media (e.g. "raw", "multipart"). */
984
- upload_protocol?: string;
1309
+ upload_protocol?:
1310
+ string;
985
1311
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
986
- uploadType?: string;
1312
+ uploadType?:
1313
+ string;
987
1314
  /** Request body */
988
- // tslint:disable-next-line:ban-types
989
- resource: Function;
1315
+ resource:
1316
+ // tslint:disable-next-line:ban-types
1317
+ Function;
990
1318
  }): Request<Operation>;
991
1319
  patch(request: {
992
1320
  /** V1 error format. */
993
- "$.xgafv"?: string;
1321
+ "$.xgafv"?:
1322
+ string;
994
1323
  /** OAuth access token. */
995
- access_token?: string;
1324
+ access_token?:
1325
+ string;
996
1326
  /** Data format for response. */
997
- alt?: string;
1327
+ alt?:
1328
+ string;
998
1329
  /** JSONP */
999
- callback?: string;
1330
+ callback?:
1331
+ string;
1000
1332
  /** Selector specifying which fields to include in a partial response. */
1001
- fields?: string;
1333
+ fields?:
1334
+ string;
1002
1335
  /** 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. */
1003
- key?: string;
1336
+ key?:
1337
+ string;
1004
1338
  /** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*‍/locations/*‍/functions/*` */
1005
- name: string;
1339
+ name:
1340
+ string;
1006
1341
  /** OAuth 2.0 token for the current user. */
1007
- oauth_token?: string;
1342
+ oauth_token?:
1343
+ string;
1008
1344
  /** Returns response with indentations and line breaks. */
1009
- prettyPrint?: boolean;
1345
+ prettyPrint?:
1346
+ boolean;
1010
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. */
1011
- quotaUser?: string;
1348
+ quotaUser?:
1349
+ string;
1012
1350
  /** The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated. */
1013
- updateMask?: string;
1351
+ updateMask?:
1352
+ string;
1014
1353
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1015
- upload_protocol?: string;
1354
+ upload_protocol?:
1355
+ string;
1016
1356
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1017
- uploadType?: string;
1357
+ uploadType?:
1358
+ string;
1018
1359
  },
1019
1360
  // tslint:disable-next-line:ban-types
1020
1361
  body: Function): Request<Operation>;
1021
1362
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1022
1363
  setIamPolicy(request: {
1023
1364
  /** V1 error format. */
1024
- "$.xgafv"?: string;
1365
+ "$.xgafv"?:
1366
+ string;
1025
1367
  /** OAuth access token. */
1026
- access_token?: string;
1368
+ access_token?:
1369
+ string;
1027
1370
  /** Data format for response. */
1028
- alt?: string;
1371
+ alt?:
1372
+ string;
1029
1373
  /** JSONP */
1030
- callback?: string;
1374
+ callback?:
1375
+ string;
1031
1376
  /** Selector specifying which fields to include in a partial response. */
1032
- fields?: string;
1377
+ fields?:
1378
+ string;
1033
1379
  /** 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. */
1034
- key?: string;
1380
+ key?:
1381
+ string;
1035
1382
  /** OAuth 2.0 token for the current user. */
1036
- oauth_token?: string;
1383
+ oauth_token?:
1384
+ string;
1037
1385
  /** Returns response with indentations and line breaks. */
1038
- prettyPrint?: boolean;
1386
+ prettyPrint?:
1387
+ boolean;
1039
1388
  /** 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. */
1040
- quotaUser?: string;
1389
+ quotaUser?:
1390
+ string;
1041
1391
  /**
1042
1392
  * 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
1043
1393
  * field.
1044
1394
  */
1045
- resource: string;
1395
+ resource:
1396
+ string;
1046
1397
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1047
- upload_protocol?: string;
1398
+ upload_protocol?:
1399
+ string;
1048
1400
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1049
- uploadType?: string;
1401
+ uploadType?:
1402
+ string;
1050
1403
  },
1051
1404
  body: SetIamPolicyRequest): Request<Policy>;
1052
1405
  /**
@@ -1055,32 +1408,44 @@ declare namespace gapi.client {
1055
1408
  */
1056
1409
  testIamPermissions(request: {
1057
1410
  /** V1 error format. */
1058
- "$.xgafv"?: string;
1411
+ "$.xgafv"?:
1412
+ string;
1059
1413
  /** OAuth access token. */
1060
- access_token?: string;
1414
+ access_token?:
1415
+ string;
1061
1416
  /** Data format for response. */
1062
- alt?: string;
1417
+ alt?:
1418
+ string;
1063
1419
  /** JSONP */
1064
- callback?: string;
1420
+ callback?:
1421
+ string;
1065
1422
  /** Selector specifying which fields to include in a partial response. */
1066
- fields?: string;
1423
+ fields?:
1424
+ string;
1067
1425
  /** 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. */
1068
- key?: string;
1426
+ key?:
1427
+ string;
1069
1428
  /** OAuth 2.0 token for the current user. */
1070
- oauth_token?: string;
1429
+ oauth_token?:
1430
+ string;
1071
1431
  /** Returns response with indentations and line breaks. */
1072
- prettyPrint?: boolean;
1432
+ prettyPrint?:
1433
+ boolean;
1073
1434
  /** 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. */
1074
- quotaUser?: string;
1435
+ quotaUser?:
1436
+ string;
1075
1437
  /**
1076
1438
  * 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
1077
1439
  * this field.
1078
1440
  */
1079
- resource: string;
1441
+ resource:
1442
+ string;
1080
1443
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1081
- upload_protocol?: string;
1444
+ upload_protocol?:
1445
+ string;
1082
1446
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1083
- uploadType?: string;
1447
+ uploadType?:
1448
+ string;
1084
1449
  },
1085
1450
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1086
1451
  }
@@ -1088,144 +1453,203 @@ declare namespace gapi.client {
1088
1453
  /** 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. */
1089
1454
  get(request?: {
1090
1455
  /** V1 error format. */
1091
- "$.xgafv"?: string;
1456
+ "$.xgafv"?:
1457
+ string;
1092
1458
  /** OAuth access token. */
1093
- access_token?: string;
1459
+ access_token?:
1460
+ string;
1094
1461
  /** Data format for response. */
1095
- alt?: string;
1462
+ alt?:
1463
+ string;
1096
1464
  /** JSONP */
1097
- callback?: string;
1465
+ callback?:
1466
+ string;
1098
1467
  /** Selector specifying which fields to include in a partial response. */
1099
- fields?: string;
1468
+ fields?:
1469
+ string;
1100
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. */
1101
- key?: string;
1471
+ key?:
1472
+ string;
1102
1473
  /** The name of the operation resource. */
1103
- name: string;
1474
+ name:
1475
+ string;
1104
1476
  /** OAuth 2.0 token for the current user. */
1105
- oauth_token?: string;
1477
+ oauth_token?:
1478
+ string;
1106
1479
  /** Returns response with indentations and line breaks. */
1107
- prettyPrint?: boolean;
1480
+ prettyPrint?:
1481
+ boolean;
1108
1482
  /** 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. */
1109
- quotaUser?: string;
1483
+ quotaUser?:
1484
+ string;
1110
1485
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1111
- upload_protocol?: string;
1486
+ upload_protocol?:
1487
+ string;
1112
1488
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1113
- uploadType?: string;
1489
+ uploadType?:
1490
+ string;
1114
1491
  }): Request<Operation>;
1115
1492
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1116
1493
  list(request?: {
1117
1494
  /** V1 error format. */
1118
- "$.xgafv"?: string;
1495
+ "$.xgafv"?:
1496
+ string;
1119
1497
  /** OAuth access token. */
1120
- access_token?: string;
1498
+ access_token?:
1499
+ string;
1121
1500
  /** Data format for response. */
1122
- alt?: string;
1501
+ alt?:
1502
+ string;
1123
1503
  /** JSONP */
1124
- callback?: string;
1504
+ callback?:
1505
+ string;
1125
1506
  /** Selector specifying which fields to include in a partial response. */
1126
- fields?: string;
1507
+ fields?:
1508
+ string;
1127
1509
  /**
1128
1510
  * 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
1129
1511
  * all of the latest operations for a project: project:*,latest:true
1130
1512
  */
1131
- filter?: string;
1513
+ filter?:
1514
+ string;
1132
1515
  /** 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. */
1133
- key?: string;
1516
+ key?:
1517
+ string;
1134
1518
  /** Must not be set. */
1135
- name: string;
1519
+ name:
1520
+ string;
1136
1521
  /** OAuth 2.0 token for the current user. */
1137
- oauth_token?: string;
1522
+ oauth_token?:
1523
+ string;
1138
1524
  /**
1139
1525
  * 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
1140
1526
  * querying for a specific function.
1141
1527
  */
1142
- pageSize?: number;
1528
+ pageSize?:
1529
+ number;
1143
1530
  /** 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. */
1144
- pageToken?: string;
1531
+ pageToken?:
1532
+ string;
1145
1533
  /** Returns response with indentations and line breaks. */
1146
- prettyPrint?: boolean;
1534
+ prettyPrint?:
1535
+ boolean;
1147
1536
  /** 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. */
1148
- quotaUser?: string;
1537
+ quotaUser?:
1538
+ string;
1149
1539
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1150
- upload_protocol?: string;
1540
+ upload_protocol?:
1541
+ string;
1151
1542
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1152
- uploadType?: string;
1543
+ uploadType?:
1544
+ string;
1153
1545
  }): Request<ListOperationsResponse>;
1154
1546
  }
1155
1547
  interface RuntimesResource {
1156
1548
  /** Returns a list of runtimes that are supported for the requested project. */
1157
1549
  list(request?: {
1158
1550
  /** V1 error format. */
1159
- "$.xgafv"?: string;
1551
+ "$.xgafv"?:
1552
+ string;
1160
1553
  /** OAuth access token. */
1161
- access_token?: string;
1554
+ access_token?:
1555
+ string;
1162
1556
  /** Data format for response. */
1163
- alt?: string;
1557
+ alt?:
1558
+ string;
1164
1559
  /** JSONP */
1165
- callback?: string;
1560
+ callback?:
1561
+ string;
1166
1562
  /** Selector specifying which fields to include in a partial response. */
1167
- fields?: string;
1563
+ fields?:
1564
+ string;
1168
1565
  /** The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160. */
1169
- filter?: string;
1566
+ filter?:
1567
+ string;
1170
1568
  /** 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. */
1171
- key?: string;
1569
+ key?:
1570
+ string;
1172
1571
  /** OAuth 2.0 token for the current user. */
1173
- oauth_token?: string;
1572
+ oauth_token?:
1573
+ string;
1174
1574
  /** Required. The project and location from which the runtimes should be listed, specified in the format `projects/*‍/locations/*` */
1175
- parent: string;
1575
+ parent:
1576
+ string;
1176
1577
  /** Returns response with indentations and line breaks. */
1177
- prettyPrint?: boolean;
1578
+ prettyPrint?:
1579
+ boolean;
1178
1580
  /** 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. */
1179
- quotaUser?: string;
1581
+ quotaUser?:
1582
+ string;
1180
1583
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1181
- upload_protocol?: string;
1584
+ upload_protocol?:
1585
+ string;
1182
1586
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1183
- uploadType?: string;
1587
+ uploadType?:
1588
+ string;
1184
1589
  }): Request<ListRuntimesResponse>;
1185
1590
  }
1186
1591
  interface LocationsResource {
1187
1592
  /** Lists information about the supported locations for this service. */
1188
1593
  list(request?: {
1189
1594
  /** V1 error format. */
1190
- "$.xgafv"?: string;
1595
+ "$.xgafv"?:
1596
+ string;
1191
1597
  /** OAuth access token. */
1192
- access_token?: string;
1598
+ access_token?:
1599
+ string;
1193
1600
  /** Data format for response. */
1194
- alt?: string;
1601
+ alt?:
1602
+ string;
1195
1603
  /** JSONP */
1196
- callback?: string;
1604
+ callback?:
1605
+ string;
1197
1606
  /** Selector specifying which fields to include in a partial response. */
1198
- fields?: string;
1607
+ fields?:
1608
+ string;
1199
1609
  /**
1200
1610
  * 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
1201
1611
  * [AIP-160](https://google.aip.dev/160).
1202
1612
  */
1203
- filter?: string;
1613
+ filter?:
1614
+ string;
1204
1615
  /** 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. */
1205
- key?: string;
1616
+ key?:
1617
+ string;
1206
1618
  /** The resource that owns the locations collection, if applicable. */
1207
- name: string;
1619
+ name:
1620
+ string;
1208
1621
  /** OAuth 2.0 token for the current user. */
1209
- oauth_token?: string;
1622
+ oauth_token?:
1623
+ string;
1210
1624
  /** The maximum number of results to return. If not set, the service selects a default. */
1211
- pageSize?: number;
1625
+ pageSize?:
1626
+ number;
1212
1627
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1213
- pageToken?: string;
1628
+ pageToken?:
1629
+ string;
1214
1630
  /** Returns response with indentations and line breaks. */
1215
- prettyPrint?: boolean;
1631
+ prettyPrint?:
1632
+ boolean;
1216
1633
  /** 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. */
1217
- quotaUser?: string;
1634
+ quotaUser?:
1635
+ string;
1218
1636
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1219
- upload_protocol?: string;
1637
+ upload_protocol?:
1638
+ string;
1220
1639
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1221
- uploadType?: string;
1640
+ uploadType?:
1641
+ string;
1222
1642
  }): Request<ListLocationsResponse>;
1223
- functions: FunctionsResource;
1224
- operations: OperationsResource;
1225
- runtimes: RuntimesResource;
1643
+ functions:
1644
+ FunctionsResource;
1645
+ operations:
1646
+ OperationsResource;
1647
+ runtimes:
1648
+ RuntimesResource;
1226
1649
  }
1227
1650
  interface ProjectsResource {
1228
- locations: LocationsResource;
1651
+ locations:
1652
+ LocationsResource;
1229
1653
  }
1230
1654
 
1231
1655
  const projects: ProjectsResource;