@maxim_mazurok/gapi.client.cloudtasks-v2beta3 0.0.20230417 → 0.0.20230518

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 +937 -469
  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://cloudtasks.googleapis.com/$discovery/rest?version=v2beta3
12
- // Revision: 20230417
12
+ // Revision: 20230518
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,16 +27,19 @@ declare namespace gapi.client {
27
27
  * Overrides for the task-level app_engine_routing. If set, `app_engine_routing_override` is used for all tasks in the queue, no matter what the setting is for the task-level
28
28
  * app_engine_routing.
29
29
  */
30
- appEngineRoutingOverride?: AppEngineRouting;
30
+ appEngineRoutingOverride?:
31
+ AppEngineRouting;
31
32
  }
32
33
  interface AppEngineHttpRequest {
33
34
  /**
34
35
  * Task-level setting for App Engine routing. If set, app_engine_routing_override is used for all tasks in the queue, no matter what the setting is for the task-level
35
36
  * app_engine_routing.
36
37
  */
37
- appEngineRouting?: AppEngineRouting;
38
+ appEngineRouting?:
39
+ AppEngineRouting;
38
40
  /** HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It is an error to set a body on a task with an incompatible HttpMethod. */
39
- body?: string;
41
+ body?:
42
+ string;
40
43
  /**
41
44
  * HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. Repeated headers are not supported but a header value can
42
45
  * contain commas. Cloud Tasks sets some headers to default values: * `User-Agent`: By default, this header is `"AppEngine-Google; (+http://code.google.com/appengine)"`. This header
@@ -49,19 +52,22 @@ declare namespace gapi.client {
49
52
  * when the task is returned in a Cloud Tasks response. Although there is no specific limit for the maximum number of headers or the size, there is a limit on the maximum size of the
50
53
  * Task. For more information, see the CreateTask documentation.
51
54
  */
52
- headers?: { [P in string]: string };
55
+ headers?:
56
+ { [P in string]: string };
53
57
  /**
54
58
  * The HTTP method to use for the request. The default is POST. The app's request handler for the task's target URL must be able to handle HTTP requests with this http_method,
55
59
  * otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request
56
60
  * handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) and the App Engine documentation for your runtime on [How
57
61
  * Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
58
62
  */
59
- httpMethod?: string;
63
+ httpMethod?:
64
+ string;
60
65
  /**
61
66
  * The relative URI. The relative URI must begin with "/" and must be a valid HTTP relative URI. It can contain a path and query string arguments. If the relative URI is empty, then
62
67
  * the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
63
68
  */
64
- relativeUri?: string;
69
+ relativeUri?:
70
+ string;
65
71
  }
66
72
  interface AppEngineRouting {
67
73
  /**
@@ -69,39 +75,47 @@ declare namespace gapi.client {
69
75
  * service, version, and instance. Tasks which were created using the App Engine SDK might have a custom domain name. For more information, see [How Requests are
70
76
  * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
71
77
  */
72
- host?: string;
78
+ host?:
79
+ string;
73
80
  /**
74
81
  * App instance. By default, the task is sent to an instance which is available when the task is attempted. Requests can only be sent to a specific instance if [manual scaling is used
75
82
  * in App Engine Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes). App Engine Flex does not support
76
83
  * instances. For more information, see [App Engine Standard request routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed) and [App Engine Flex
77
84
  * request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
78
85
  */
79
- instance?: string;
86
+ instance?:
87
+ string;
80
88
  /**
81
89
  * App service. By default, the task is sent to the service which is the default service when the task is attempted. For some queues or tasks which were created using the App Engine
82
90
  * Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom
83
91
  * domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
84
92
  */
85
- service?: string;
93
+ service?:
94
+ string;
86
95
  /**
87
96
  * App version. By default, the task is sent to the version which is the default version when the task is attempted. For some queues or tasks which were created using the App Engine
88
97
  * Task Queue API, host is not parsable into service, version, and instance. For example, some tasks which were created using the App Engine SDK use a custom domain name; custom
89
98
  * domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
90
99
  */
91
- version?: string;
100
+ version?:
101
+ string;
92
102
  }
93
103
  interface Attempt {
94
104
  /** Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. */
95
- dispatchTime?: string;
105
+ dispatchTime?:
106
+ string;
96
107
  /**
97
108
  * Output only. The response from the worker for this attempt. If `response_time` is unset, then the task has not been attempted or is currently running and the `response_status` field
98
109
  * is meaningless.
99
110
  */
100
- responseStatus?: Status;
111
+ responseStatus?:
112
+ Status;
101
113
  /** Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond. */
102
- responseTime?: string;
114
+ responseTime?:
115
+ string;
103
116
  /** Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond. */
104
- scheduleTime?: string;
117
+ scheduleTime?:
118
+ string;
105
119
  }
106
120
  interface Binding {
107
121
  /**
@@ -109,7 +123,8 @@ declare namespace gapi.client {
109
123
  * 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
110
124
  * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
111
125
  */
112
- condition?: Expr;
126
+ condition?:
127
+ Expr;
113
128
  /**
114
129
  * 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
115
130
  * 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
@@ -126,17 +141,21 @@ declare namespace gapi.client {
126
141
  * 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
127
142
  * retains the role in the binding.
128
143
  */
129
- members?: string[];
144
+ members?:
145
+ string[];
130
146
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
131
- role?: string;
147
+ role?:
148
+ string;
132
149
  }
133
150
  interface BufferTaskRequest {
134
151
  /** Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task]. */
135
- body?: HttpBody;
152
+ body?:
153
+ HttpBody;
136
154
  }
137
155
  interface BufferTaskResponse {
138
156
  /** The created task. */
139
- task?: Task;
157
+ task?:
158
+ Task;
140
159
  }
141
160
  interface CreateTaskRequest {
142
161
  /**
@@ -144,7 +163,8 @@ declare namespace gapi.client {
144
163
  * payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires
145
164
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
146
165
  */
147
- responseView?: string;
166
+ responseView?:
167
+ string;
148
168
  /**
149
169
  * Required. The task to add. Task names have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. The user can optionally specify a task
150
170
  * name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in
@@ -156,24 +176,30 @@ declare namespace gapi.client {
156
176
  * have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform
157
177
  * distribution of task ids to store and serve tasks efficiently.
158
178
  */
159
- task?: Task;
179
+ task?:
180
+ Task;
160
181
  }
161
182
  // tslint:disable-next-line:no-empty-interface
162
183
  interface Empty {
163
184
  }
164
185
  interface Expr {
165
186
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
166
- description?: string;
187
+ description?:
188
+ string;
167
189
  /** Textual representation of an expression in Common Expression Language syntax. */
168
- expression?: string;
190
+ expression?:
191
+ string;
169
192
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
170
- location?: string;
193
+ location?:
194
+ string;
171
195
  /** 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. */
172
- title?: string;
196
+ title?:
197
+ string;
173
198
  }
174
199
  interface GetIamPolicyRequest {
175
200
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
176
- options?: GetPolicyOptions;
201
+ options?:
202
+ GetPolicyOptions;
177
203
  }
178
204
  interface GetPolicyOptions {
179
205
  /**
@@ -183,29 +209,37 @@ declare namespace gapi.client {
183
209
  * bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
184
210
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
185
211
  */
186
- requestedPolicyVersion?: number;
212
+ requestedPolicyVersion?:
213
+ number;
187
214
  }
188
215
  interface Header {
189
216
  /** The Key of the header. */
190
- key?: string;
217
+ key?:
218
+ string;
191
219
  /** The Value of the header. */
192
- value?: string;
220
+ value?:
221
+ string;
193
222
  }
194
223
  interface HeaderOverride {
195
224
  /** header embodying a key and a value. */
196
- header?: Header;
225
+ header?:
226
+ Header;
197
227
  }
198
228
  interface HttpBody {
199
229
  /** The HTTP Content-Type header value specifying the content type of the body. */
200
- contentType?: string;
230
+ contentType?:
231
+ string;
201
232
  /** The HTTP request/response body as raw binary. */
202
- data?: string;
233
+ data?:
234
+ string;
203
235
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
204
- extensions?: Array<{ [P in string]: any }>;
236
+ extensions?:
237
+ Array<{ [P in string]: any }>;
205
238
  }
206
239
  interface HttpRequest {
207
240
  /** HTTP request body. A request body is allowed only if the HTTP method is POST, PUT, or PATCH. It is an error to set body on a task with an incompatible HttpMethod. */
208
- body?: string;
241
+ body?:
242
+ string;
209
243
  /**
210
244
  * HTTP request headers. This map contains the header field names and values. Headers can be set when the task is created. These headers represent a subset of the headers that will
211
245
  * accompany the task's HTTP request. Some HTTP request headers will be ignored or replaced. A partial list of headers that will be ignored or replaced is: * Any header that is
@@ -215,25 +249,30 @@ declare namespace gapi.client {
215
249
  * example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be specified using
216
250
  * comma-separated values. The size of the headers must be less than 80KB.
217
251
  */
218
- headers?: { [P in string]: string };
252
+ headers?:
253
+ { [P in string]: string };
219
254
  /** The HTTP method to use for the request. The default is POST. */
220
- httpMethod?: string;
255
+ httpMethod?:
256
+ string;
221
257
  /**
222
258
  * If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of
223
259
  * authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
224
260
  */
225
- oauthToken?: OAuthToken;
261
+ oauthToken?:
262
+ OAuthToken;
226
263
  /**
227
264
  * If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This
228
265
  * type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
229
266
  */
230
- oidcToken?: OidcToken;
267
+ oidcToken?:
268
+ OidcToken;
231
269
  /**
232
270
  * Required. The full url path that the request will be sent to. This string must begin with either "http://" or "https://". Some examples are: `http://acme.com` and
233
271
  * `https://acme.com/sales:8080`. Cloud Tasks will encode some characters for safety and compatibility. The maximum allowed URL length is 2083 characters after encoding. The `Location`
234
272
  * header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
235
273
  */
236
- url?: string;
274
+ url?:
275
+ string;
237
276
  }
238
277
  interface HttpTarget {
239
278
  /**
@@ -245,82 +284,103 @@ declare namespace gapi.client {
245
284
  * will be set to `"Google-Cloud-Tasks"`. Headers which can have multiple values (according to RFC2616) can be specified using comma-separated values. The size of the headers must be
246
285
  * less than 80KB. Queue-level headers to override headers of all the tasks in the queue.
247
286
  */
248
- headerOverrides?: HeaderOverride[];
287
+ headerOverrides?:
288
+ HeaderOverride[];
249
289
  /**
250
290
  * The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be
251
291
  * ignored at execution time.
252
292
  */
253
- httpMethod?: string;
293
+ httpMethod?:
294
+ string;
254
295
  /**
255
296
  * If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type
256
297
  * of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
257
298
  */
258
- oauthToken?: OAuthToken;
299
+ oauthToken?:
300
+ OAuthToken;
259
301
  /**
260
302
  * If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This
261
303
  * type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
262
304
  */
263
- oidcToken?: OidcToken;
305
+ oidcToken?:
306
+ OidcToken;
264
307
  /** URI override. When specified, overrides the execution URI for all the tasks in the queue. */
265
- uriOverride?: UriOverride;
308
+ uriOverride?:
309
+ UriOverride;
266
310
  }
267
311
  interface ListLocationsResponse {
268
312
  /** A list of locations that matches the specified filter in the request. */
269
- locations?: Location[];
313
+ locations?:
314
+ Location[];
270
315
  /** The standard List next-page token. */
271
- nextPageToken?: string;
316
+ nextPageToken?:
317
+ string;
272
318
  }
273
319
  interface ListQueuesResponse {
274
320
  /**
275
321
  * A token to retrieve next page of results. To return the next page of results, call ListQueues with this value as the page_token. If the next_page_token is empty, there are no more
276
322
  * results. The page token is valid for only 2 hours.
277
323
  */
278
- nextPageToken?: string;
324
+ nextPageToken?:
325
+ string;
279
326
  /** The list of queues. */
280
- queues?: Queue[];
327
+ queues?:
328
+ Queue[];
281
329
  }
282
330
  interface ListTasksResponse {
283
331
  /**
284
332
  * A token to retrieve next page of results. To return the next page of results, call ListTasks with this value as the page_token. If the next_page_token is empty, there are no more
285
333
  * results.
286
334
  */
287
- nextPageToken?: string;
335
+ nextPageToken?:
336
+ string;
288
337
  /** The list of tasks. */
289
- tasks?: Task[];
338
+ tasks?:
339
+ Task[];
290
340
  }
291
341
  interface Location {
292
342
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
293
- displayName?: string;
343
+ displayName?:
344
+ string;
294
345
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
295
- labels?: { [P in string]: string };
346
+ labels?:
347
+ { [P in string]: string };
296
348
  /** The canonical id for this location. For example: `"us-east1"`. */
297
- locationId?: string;
349
+ locationId?:
350
+ string;
298
351
  /** Service-specific metadata. For example the available capacity at the given location. */
299
- metadata?: { [P in string]: any };
352
+ metadata?:
353
+ { [P in string]: any };
300
354
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
301
- name?: string;
355
+ name?:
356
+ string;
302
357
  }
303
358
  interface OAuthToken {
304
359
  /** OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. */
305
- scope?: string;
360
+ scope?:
361
+ string;
306
362
  /**
307
363
  * [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OAuth token. The service account must be within the same project as the queue.
308
364
  * The caller must have iam.serviceAccounts.actAs permission for the service account.
309
365
  */
310
- serviceAccountEmail?: string;
366
+ serviceAccountEmail?:
367
+ string;
311
368
  }
312
369
  interface OidcToken {
313
370
  /** Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. */
314
- audience?: string;
371
+ audience?:
372
+ string;
315
373
  /**
316
374
  * [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue.
317
375
  * The caller must have iam.serviceAccounts.actAs permission for the service account.
318
376
  */
319
- serviceAccountEmail?: string;
377
+ serviceAccountEmail?:
378
+ string;
320
379
  }
321
380
  interface PathOverride {
322
381
  /** The URI path (e.g., /users/1234). Default is an empty string. */
323
- path?: string;
382
+ path?:
383
+ string;
324
384
  }
325
385
  // tslint:disable-next-line:no-empty-interface
326
386
  interface PauseQueueRequest {
@@ -332,7 +392,8 @@ declare namespace gapi.client {
332
392
  * 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
333
393
  * 1,450 principals to the `bindings` in the `Policy`.
334
394
  */
335
- bindings?: Binding[];
395
+ bindings?:
396
+ Binding[];
336
397
  /**
337
398
  * `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
338
399
  * 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
@@ -340,7 +401,8 @@ declare namespace gapi.client {
340
401
  * 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`
341
402
  * policy, and all of the conditions in the version `3` policy are lost.
342
403
  */
343
- etag?: string;
404
+ etag?:
405
+ string;
344
406
  /**
345
407
  * 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
346
408
  * 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
@@ -349,30 +411,36 @@ declare namespace gapi.client {
349
411
  * 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
350
412
  * 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).
351
413
  */
352
- version?: number;
414
+ version?:
415
+ number;
353
416
  }
354
417
  interface PullMessage {
355
418
  /** A data payload consumed by the worker to execute the task. */
356
- payload?: string;
419
+ payload?:
420
+ string;
357
421
  /**
358
422
  * The tasks's tag. The tag is less than 500 characters. SDK compatibility: Although the SDK allows tags to be either string or
359
423
  * [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), only UTF-8 encoded tags can be used in Cloud
360
424
  * Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the task is returned by Cloud Tasks.
361
425
  */
362
- tag?: string;
426
+ tag?:
427
+ string;
363
428
  }
364
429
  // tslint:disable-next-line:no-empty-interface
365
430
  interface PurgeQueueRequest {
366
431
  }
367
432
  interface QueryOverride {
368
433
  /** The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. */
369
- queryParams?: string;
434
+ queryParams?:
435
+ string;
370
436
  }
371
437
  interface Queue {
372
438
  /** AppEngineHttpQueue settings apply only to App Engine tasks in this queue. Http tasks are not affected by this proto. */
373
- appEngineHttpQueue?: AppEngineHttpQueue;
439
+ appEngineHttpQueue?:
440
+ AppEngineHttpQueue;
374
441
  /** Modifies HTTP target for HTTP tasks. */
375
- httpTarget?: HttpTarget;
442
+ httpTarget?:
443
+ HttpTarget;
376
444
  /**
377
445
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
378
446
  * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
@@ -380,13 +448,15 @@ declare namespace gapi.client {
380
448
  * queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
381
449
  * contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
382
450
  */
383
- name?: string;
451
+ name?:
452
+ string;
384
453
  /**
385
454
  * Output only. The last time this queue was purged. All tasks that were created before this time were purged. A queue can be purged using PurgeQueue, the [App Engine Task Queue SDK,
386
455
  * or the Cloud Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). Purge time will be truncated
387
456
  * to the nearest microsecond. Purge time will be unset if the queue has never been purged.
388
457
  */
389
- purgeTime?: string;
458
+ purgeTime?:
459
+ string;
390
460
  /**
391
461
  * Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts. However they control task attempts in different ways: *
392
462
  * rate_limits controls the total rate of dispatches from a queue (i.e. all traffic dispatched from the queue, regardless of whether the dispatch is from a first attempt or a retry). *
@@ -394,58 +464,71 @@ declare namespace gapi.client {
394
464
  * queue's actual dispatch rate is the result of: * Number of tasks in the queue * User-specified throttling: rate_limits, retry_config, and the queue's state. * System throttling due
395
465
  * to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes.
396
466
  */
397
- rateLimits?: RateLimits;
467
+ rateLimits?:
468
+ RateLimits;
398
469
  /**
399
470
  * Settings that determine the retry behavior. * For tasks created using Cloud Tasks: the queue-level retry settings apply to all tasks in the queue that were created using Cloud
400
471
  * Tasks. Retry settings cannot be set on individual tasks. * For tasks created using the App Engine SDK: the queue-level retry settings apply to all tasks in the queue which do not
401
472
  * have retry settings explicitly set on the task and were created by the App Engine SDK. See [App Engine
402
473
  * documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
403
474
  */
404
- retryConfig?: RetryConfig;
475
+ retryConfig?:
476
+ RetryConfig;
405
477
  /** Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written. */
406
- stackdriverLoggingConfig?: StackdriverLoggingConfig;
478
+ stackdriverLoggingConfig?:
479
+ StackdriverLoggingConfig;
407
480
  /**
408
481
  * Output only. The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading
409
482
  * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.
410
483
  */
411
- state?: string;
484
+ state?:
485
+ string;
412
486
  /** Output only. The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask. */
413
- stats?: QueueStats;
487
+ stats?:
488
+ QueueStats;
414
489
  /**
415
490
  * The maximum amount of time that a task will be retained in this queue. Queues created by Cloud Tasks have a default `task_ttl` of 31 days. After a task has lived for `task_ttl`, the
416
491
  * task will be deleted regardless of whether it was dispatched or not. The `task_ttl` for queues created via queue.yaml/xml is equal to the maximum duration because there is a
417
492
  * [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration.
418
493
  */
419
- taskTtl?: string;
494
+ taskTtl?:
495
+ string;
420
496
  /**
421
497
  * The task tombstone time to live (TTL). After a task is deleted or executed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is
422
498
  * used by task de-duplication; another task with the same name can't be created until the tombstone has expired. For more information about task de-duplication, see the documentation
423
499
  * for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
424
500
  */
425
- tombstoneTtl?: string;
501
+ tombstoneTtl?:
502
+ string;
426
503
  /**
427
504
  * Immutable. The type of a queue (push or pull). `Queue.type` is an immutable property of the queue that is set at the queue creation time. When left unspecified, the default value of
428
505
  * `PUSH` is selected.
429
506
  */
430
- type?: string;
507
+ type?:
508
+ string;
431
509
  }
432
510
  interface QueueStats {
433
511
  /** Output only. The number of requests that the queue has dispatched but has not received a reply for yet. */
434
- concurrentDispatchesCount?: string;
512
+ concurrentDispatchesCount?:
513
+ string;
435
514
  /**
436
515
  * Output only. The current maximum number of tasks per second executed by the queue. The maximum value of this variable is controlled by the RateLimits of the Queue. However, this
437
516
  * value could be less to avoid overloading the endpoints tasks in the queue are targeting.
438
517
  */
439
- effectiveExecutionRate?: number;
518
+ effectiveExecutionRate?:
519
+ number;
440
520
  /** Output only. The number of tasks that the queue has dispatched and received a reply for during the last minute. This variable counts both successful and non-successful executions. */
441
- executedLastMinuteCount?: string;
521
+ executedLastMinuteCount?:
522
+ string;
442
523
  /** Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed. */
443
- oldestEstimatedArrivalTime?: string;
524
+ oldestEstimatedArrivalTime?:
525
+ string;
444
526
  /**
445
527
  * Output only. An estimation of the number of tasks in the queue, that is, the tasks in the queue that haven't been executed, the tasks in the queue which the queue has dispatched but
446
528
  * has not yet received a reply for, and the failed tasks that the queue is retrying.
447
529
  */
448
- tasksCount?: string;
530
+ tasksCount?:
531
+ string;
449
532
  }
450
533
  interface RateLimits {
451
534
  /**
@@ -458,18 +541,21 @@ declare namespace gapi.client {
458
541
  * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). If UpdateQueue is called on a queue without explicitly setting a value for
459
542
  * `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second.
460
543
  */
461
- maxBurstSize?: number;
544
+ maxBurstSize?:
545
+ number;
462
546
  /**
463
547
  * The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the
464
548
  * number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same
465
549
  * meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
466
550
  */
467
- maxConcurrentDispatches?: number;
551
+ maxConcurrentDispatches?:
552
+ number;
468
553
  /**
469
554
  * The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * For App Engine queues, the maximum
470
555
  * allowed value is 500. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
471
556
  */
472
- maxDispatchesPerSecond?: number;
557
+ maxDispatchesPerSecond?:
558
+ number;
473
559
  }
474
560
  // tslint:disable-next-line:no-empty-interface
475
561
  interface ResumeQueueRequest {
@@ -480,13 +566,15 @@ declare namespace gapi.client {
480
566
  * -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. This field has the same meaning as [task_retry_limit in
481
567
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
482
568
  */
483
- maxAttempts?: number;
569
+ maxAttempts?:
570
+ number;
484
571
  /**
485
572
  * A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified
486
573
  * when the queue is created, Cloud Tasks will pick the default. `max_backoff` will be truncated to the nearest second. This field has the same meaning as [max_backoff_seconds in
487
574
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
488
575
  */
489
- maxBackoff?: string;
576
+ maxBackoff?:
577
+ string;
490
578
  /**
491
579
  * The time between retries will double `max_doublings` times. A task's retry interval starts at min_backoff, then doubles `max_doublings` times, then increases linearly, and finally
492
580
  * retries at intervals of max_backoff up to max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s, and `max_doublings` is 3, then the a task will first be
@@ -494,20 +582,23 @@ declare namespace gapi.client {
494
582
  * attempted max_attempts times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is created, Cloud Tasks will pick the
495
583
  * default. This field has the same meaning as [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
496
584
  */
497
- maxDoublings?: number;
585
+ maxDoublings?:
586
+ number;
498
587
  /**
499
588
  * If positive, `max_retry_duration` specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once `max_retry_duration` time has passed
500
589
  * *and* the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the
501
590
  * queue is created, Cloud Tasks will pick the default. `max_retry_duration` will be truncated to the nearest second. This field has the same meaning as [task_age_limit in
502
591
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
503
592
  */
504
- maxRetryDuration?: string;
593
+ maxRetryDuration?:
594
+ string;
505
595
  /**
506
596
  * A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified
507
597
  * when the queue is created, Cloud Tasks will pick the default. `min_backoff` will be truncated to the nearest second. This field has the same meaning as [min_backoff_seconds in
508
598
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
509
599
  */
510
- minBackoff?: string;
600
+ minBackoff?:
601
+ string;
511
602
  }
512
603
  interface RunTaskRequest {
513
604
  /**
@@ -515,40 +606,49 @@ declare namespace gapi.client {
515
606
  * payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires
516
607
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
517
608
  */
518
- responseView?: string;
609
+ responseView?:
610
+ string;
519
611
  }
520
612
  interface SetIamPolicyRequest {
521
613
  /**
522
614
  * 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
523
615
  * services (such as Projects) might reject them.
524
616
  */
525
- policy?: Policy;
617
+ policy?:
618
+ Policy;
526
619
  }
527
620
  interface StackdriverLoggingConfig {
528
621
  /**
529
622
  * Specifies the fraction of operations to write to [Stackdriver Logging](https://cloud.google.com/logging/docs/). This field may contain any value between 0.0 and 1.0, inclusive. 0.0
530
623
  * is the default and means that no operations are logged.
531
624
  */
532
- samplingRatio?: number;
625
+ samplingRatio?:
626
+ number;
533
627
  }
534
628
  interface Status {
535
629
  /** The status code, which should be an enum value of google.rpc.Code. */
536
- code?: number;
630
+ code?:
631
+ number;
537
632
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
538
- details?: Array<{ [P in string]: any }>;
633
+ details?:
634
+ Array<{ [P in string]: any }>;
539
635
  /**
540
636
  * 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
541
637
  * client.
542
638
  */
543
- message?: string;
639
+ message?:
640
+ string;
544
641
  }
545
642
  interface Task {
546
643
  /** HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. */
547
- appEngineHttpRequest?: AppEngineHttpRequest;
644
+ appEngineHttpRequest?:
645
+ AppEngineHttpRequest;
548
646
  /** Output only. The time that the task was created. `create_time` will be truncated to the nearest second. */
549
- createTime?: string;
647
+ createTime?:
648
+ string;
550
649
  /** Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. */
551
- dispatchCount?: number;
650
+ dispatchCount?:
651
+ number;
552
652
  /**
553
653
  * The deadline for requests sent to the worker. If the worker does not respond by this deadline then the request is cancelled and the attempt is marked as a `DEADLINE_EXCEEDED`
554
654
  * failure. Cloud Tasks will retry the task according to the RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop listening for the response, but whether the
@@ -561,13 +661,17 @@ declare namespace gapi.client {
561
661
  * [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an
562
662
  * approximate deadline.
563
663
  */
564
- dispatchDeadline?: string;
664
+ dispatchDeadline?:
665
+ string;
565
666
  /** Output only. The status of the task's first attempt. Only dispatch_time will be set. The other Attempt information is not retained by Cloud Tasks. */
566
- firstAttempt?: Attempt;
667
+ firstAttempt?:
668
+ Attempt;
567
669
  /** HTTP request that is sent to the task's target. An HTTP task is a task that has HttpRequest set. */
568
- httpRequest?: HttpRequest;
670
+ httpRequest?:
671
+ HttpRequest;
569
672
  /** Output only. The status of the task's last attempt. */
570
- lastAttempt?: Attempt;
673
+ lastAttempt?:
674
+ Attempt;
571
675
  /**
572
676
  * Optionally caller-specified in CreateTask. The task name. The task name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` *
573
677
  * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
@@ -576,53 +680,66 @@ declare namespace gapi.client {
576
680
  * numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The maximum
577
681
  * length is 500 characters.
578
682
  */
579
- name?: string;
683
+ name?:
684
+ string;
580
685
  /**
581
686
  * Pull Message contained in a task in a PULL queue type. This payload type cannot be explicitly set through Cloud Tasks API. Its purpose, currently is to provide backward
582
687
  * compatibility with App Engine Task Queue [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/) queues to provide a way to inspect contents of pull tasks
583
688
  * through the CloudTasks.GetTask.
584
689
  */
585
- pullMessage?: PullMessage;
690
+ pullMessage?:
691
+ PullMessage;
586
692
  /** Output only. The number of attempts which have received a response. */
587
- responseCount?: number;
693
+ responseCount?:
694
+ number;
588
695
  /**
589
696
  * The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. `schedule_time` will be truncated to the nearest
590
697
  * microsecond.
591
698
  */
592
- scheduleTime?: string;
699
+ scheduleTime?:
700
+ string;
593
701
  /** Output only. The view specifies which subset of the Task has been returned. */
594
- view?: string;
702
+ view?:
703
+ string;
595
704
  }
596
705
  interface TestIamPermissionsRequest {
597
706
  /**
598
707
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
599
708
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
600
709
  */
601
- permissions?: string[];
710
+ permissions?:
711
+ string[];
602
712
  }
603
713
  interface TestIamPermissionsResponse {
604
714
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
605
- permissions?: string[];
715
+ permissions?:
716
+ string[];
606
717
  }
607
718
  interface UriOverride {
608
719
  /**
609
720
  * Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the
610
721
  * overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
611
722
  */
612
- host?: string;
723
+ host?:
724
+ string;
613
725
  /** URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment. */
614
- pathOverride?: PathOverride;
726
+ pathOverride?:
727
+ PathOverride;
615
728
  /**
616
729
  * Port override. When specified, replaces the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes
617
730
  * http://www.google.com:123/foo. Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.
618
731
  */
619
- port?: string;
732
+ port?:
733
+ string;
620
734
  /** URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment. */
621
- queryOverride?: QueryOverride;
735
+ queryOverride?:
736
+ QueryOverride;
622
737
  /** Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */
623
- scheme?: string;
738
+ scheme?:
739
+ string;
624
740
  /** URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. */
625
- uriOverrideEnforceMode?: string;
741
+ uriOverrideEnforceMode?:
742
+ string;
626
743
  }
627
744
  interface TasksResource {
628
745
  /**
@@ -633,178 +750,255 @@ declare namespace gapi.client {
633
750
  */
634
751
  buffer(request: {
635
752
  /** V1 error format. */
636
- "$.xgafv"?: string;
753
+ "$.xgafv"?:
754
+ string;
637
755
  /** OAuth access token. */
638
- access_token?: string;
756
+ access_token?:
757
+ string;
639
758
  /** Data format for response. */
640
- alt?: string;
759
+ alt?:
760
+ string;
641
761
  /** JSONP */
642
- callback?: string;
762
+ callback?:
763
+ string;
643
764
  /** Selector specifying which fields to include in a partial response. */
644
- fields?: string;
765
+ fields?:
766
+ string;
645
767
  /** 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. */
646
- key?: string;
768
+ key?:
769
+ string;
647
770
  /** OAuth 2.0 token for the current user. */
648
- oauth_token?: string;
771
+ oauth_token?:
772
+ string;
649
773
  /** Returns response with indentations and line breaks. */
650
- prettyPrint?: boolean;
774
+ prettyPrint?:
775
+ boolean;
651
776
  /** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
652
- queue: string;
777
+ queue:
778
+ string;
653
779
  /** 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. */
654
- quotaUser?: string;
780
+ quotaUser?:
781
+ string;
655
782
  /** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
656
- taskId: string;
783
+ taskId:
784
+ string;
657
785
  /** Upload protocol for media (e.g. "raw", "multipart"). */
658
- upload_protocol?: string;
786
+ upload_protocol?:
787
+ string;
659
788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
660
- uploadType?: string;
789
+ uploadType?:
790
+ string;
661
791
  /** Request body */
662
- resource: BufferTaskRequest;
792
+ resource:
793
+ BufferTaskRequest;
663
794
  }): Request<BufferTaskResponse>;
664
795
  buffer(request: {
665
796
  /** V1 error format. */
666
- "$.xgafv"?: string;
797
+ "$.xgafv"?:
798
+ string;
667
799
  /** OAuth access token. */
668
- access_token?: string;
800
+ access_token?:
801
+ string;
669
802
  /** Data format for response. */
670
- alt?: string;
803
+ alt?:
804
+ string;
671
805
  /** JSONP */
672
- callback?: string;
806
+ callback?:
807
+ string;
673
808
  /** Selector specifying which fields to include in a partial response. */
674
- fields?: string;
809
+ fields?:
810
+ string;
675
811
  /** 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. */
676
- key?: string;
812
+ key?:
813
+ string;
677
814
  /** OAuth 2.0 token for the current user. */
678
- oauth_token?: string;
815
+ oauth_token?:
816
+ string;
679
817
  /** Returns response with indentations and line breaks. */
680
- prettyPrint?: boolean;
818
+ prettyPrint?:
819
+ boolean;
681
820
  /** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
682
- queue: string;
821
+ queue:
822
+ string;
683
823
  /** 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. */
684
- quotaUser?: string;
824
+ quotaUser?:
825
+ string;
685
826
  /** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
686
- taskId: string;
827
+ taskId:
828
+ string;
687
829
  /** Upload protocol for media (e.g. "raw", "multipart"). */
688
- upload_protocol?: string;
830
+ upload_protocol?:
831
+ string;
689
832
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
690
- uploadType?: string;
833
+ uploadType?:
834
+ string;
691
835
  },
692
836
  body: BufferTaskRequest): Request<BufferTaskResponse>;
693
837
  /** Creates a task and adds it to a queue. Tasks cannot be updated after creation; there is no UpdateTask command. * The maximum task size is 100KB. */
694
838
  create(request: {
695
839
  /** V1 error format. */
696
- "$.xgafv"?: string;
840
+ "$.xgafv"?:
841
+ string;
697
842
  /** OAuth access token. */
698
- access_token?: string;
843
+ access_token?:
844
+ string;
699
845
  /** Data format for response. */
700
- alt?: string;
846
+ alt?:
847
+ string;
701
848
  /** JSONP */
702
- callback?: string;
849
+ callback?:
850
+ string;
703
851
  /** Selector specifying which fields to include in a partial response. */
704
- fields?: string;
852
+ fields?:
853
+ string;
705
854
  /** 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. */
706
- key?: string;
855
+ key?:
856
+ string;
707
857
  /** OAuth 2.0 token for the current user. */
708
- oauth_token?: string;
858
+ oauth_token?:
859
+ string;
709
860
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
710
- parent: string;
861
+ parent:
862
+ string;
711
863
  /** Returns response with indentations and line breaks. */
712
- prettyPrint?: boolean;
864
+ prettyPrint?:
865
+ boolean;
713
866
  /** 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. */
714
- quotaUser?: string;
867
+ quotaUser?:
868
+ string;
715
869
  /** Upload protocol for media (e.g. "raw", "multipart"). */
716
- upload_protocol?: string;
870
+ upload_protocol?:
871
+ string;
717
872
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
718
- uploadType?: string;
873
+ uploadType?:
874
+ string;
719
875
  /** Request body */
720
- resource: CreateTaskRequest;
876
+ resource:
877
+ CreateTaskRequest;
721
878
  }): Request<Task>;
722
879
  create(request: {
723
880
  /** V1 error format. */
724
- "$.xgafv"?: string;
881
+ "$.xgafv"?:
882
+ string;
725
883
  /** OAuth access token. */
726
- access_token?: string;
884
+ access_token?:
885
+ string;
727
886
  /** Data format for response. */
728
- alt?: string;
887
+ alt?:
888
+ string;
729
889
  /** JSONP */
730
- callback?: string;
890
+ callback?:
891
+ string;
731
892
  /** Selector specifying which fields to include in a partial response. */
732
- fields?: string;
893
+ fields?:
894
+ string;
733
895
  /** 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. */
734
- key?: string;
896
+ key?:
897
+ string;
735
898
  /** OAuth 2.0 token for the current user. */
736
- oauth_token?: string;
899
+ oauth_token?:
900
+ string;
737
901
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
738
- parent: string;
902
+ parent:
903
+ string;
739
904
  /** Returns response with indentations and line breaks. */
740
- prettyPrint?: boolean;
905
+ prettyPrint?:
906
+ boolean;
741
907
  /** 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. */
742
- quotaUser?: string;
908
+ quotaUser?:
909
+ string;
743
910
  /** Upload protocol for media (e.g. "raw", "multipart"). */
744
- upload_protocol?: string;
911
+ upload_protocol?:
912
+ string;
745
913
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
746
- uploadType?: string;
914
+ uploadType?:
915
+ string;
747
916
  },
748
917
  body: CreateTaskRequest): Request<Task>;
749
918
  /** Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has executed successfully or permanently failed. */
750
919
  delete(request?: {
751
920
  /** V1 error format. */
752
- "$.xgafv"?: string;
921
+ "$.xgafv"?:
922
+ string;
753
923
  /** OAuth access token. */
754
- access_token?: string;
924
+ access_token?:
925
+ string;
755
926
  /** Data format for response. */
756
- alt?: string;
927
+ alt?:
928
+ string;
757
929
  /** JSONP */
758
- callback?: string;
930
+ callback?:
931
+ string;
759
932
  /** Selector specifying which fields to include in a partial response. */
760
- fields?: string;
933
+ fields?:
934
+ string;
761
935
  /** 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. */
762
- key?: string;
936
+ key?:
937
+ string;
763
938
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
764
- name: string;
939
+ name:
940
+ string;
765
941
  /** OAuth 2.0 token for the current user. */
766
- oauth_token?: string;
942
+ oauth_token?:
943
+ string;
767
944
  /** Returns response with indentations and line breaks. */
768
- prettyPrint?: boolean;
945
+ prettyPrint?:
946
+ boolean;
769
947
  /** 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. */
770
- quotaUser?: string;
948
+ quotaUser?:
949
+ string;
771
950
  /** Upload protocol for media (e.g. "raw", "multipart"). */
772
- upload_protocol?: string;
951
+ upload_protocol?:
952
+ string;
773
953
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
774
- uploadType?: string;
954
+ uploadType?:
955
+ string;
775
956
  }): Request<{}>;
776
957
  /** Gets a task. */
777
958
  get(request?: {
778
959
  /** V1 error format. */
779
- "$.xgafv"?: string;
960
+ "$.xgafv"?:
961
+ string;
780
962
  /** OAuth access token. */
781
- access_token?: string;
963
+ access_token?:
964
+ string;
782
965
  /** Data format for response. */
783
- alt?: string;
966
+ alt?:
967
+ string;
784
968
  /** JSONP */
785
- callback?: string;
969
+ callback?:
970
+ string;
786
971
  /** Selector specifying which fields to include in a partial response. */
787
- fields?: string;
972
+ fields?:
973
+ string;
788
974
  /** 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. */
789
- key?: string;
975
+ key?:
976
+ string;
790
977
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
791
- name: string;
978
+ name:
979
+ string;
792
980
  /** OAuth 2.0 token for the current user. */
793
- oauth_token?: string;
981
+ oauth_token?:
982
+ string;
794
983
  /** Returns response with indentations and line breaks. */
795
- prettyPrint?: boolean;
984
+ prettyPrint?:
985
+ boolean;
796
986
  /** 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. */
797
- quotaUser?: string;
987
+ quotaUser?:
988
+ string;
798
989
  /**
799
990
  * The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as
800
991
  * payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires
801
992
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
802
993
  */
803
- responseView?: string;
994
+ responseView?:
995
+ string;
804
996
  /** Upload protocol for media (e.g. "raw", "multipart"). */
805
- upload_protocol?: string;
997
+ upload_protocol?:
998
+ string;
806
999
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
807
- uploadType?: string;
1000
+ uploadType?:
1001
+ string;
808
1002
  }): Request<Task>;
809
1003
  /**
810
1004
  * Lists the tasks in a queue. By default, only the BASIC view is retrieved due to performance considerations; response_view controls the subset of information which is returned. The
@@ -812,45 +1006,60 @@ declare namespace gapi.client {
812
1006
  */
813
1007
  list(request?: {
814
1008
  /** V1 error format. */
815
- "$.xgafv"?: string;
1009
+ "$.xgafv"?:
1010
+ string;
816
1011
  /** OAuth access token. */
817
- access_token?: string;
1012
+ access_token?:
1013
+ string;
818
1014
  /** Data format for response. */
819
- alt?: string;
1015
+ alt?:
1016
+ string;
820
1017
  /** JSONP */
821
- callback?: string;
1018
+ callback?:
1019
+ string;
822
1020
  /** Selector specifying which fields to include in a partial response. */
823
- fields?: string;
1021
+ fields?:
1022
+ string;
824
1023
  /** 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. */
825
- key?: string;
1024
+ key?:
1025
+ string;
826
1026
  /** OAuth 2.0 token for the current user. */
827
- oauth_token?: string;
1027
+ oauth_token?:
1028
+ string;
828
1029
  /**
829
1030
  * Maximum page size. Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist. The maximum page
830
1031
  * size is 1000. If unspecified, the page size will be the maximum.
831
1032
  */
832
- pageSize?: number;
1033
+ pageSize?:
1034
+ number;
833
1035
  /**
834
1036
  * A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value
835
1037
  * of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
836
1038
  */
837
- pageToken?: string;
1039
+ pageToken?:
1040
+ string;
838
1041
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
839
- parent: string;
1042
+ parent:
1043
+ string;
840
1044
  /** Returns response with indentations and line breaks. */
841
- prettyPrint?: boolean;
1045
+ prettyPrint?:
1046
+ boolean;
842
1047
  /** 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. */
843
- quotaUser?: string;
1048
+ quotaUser?:
1049
+ string;
844
1050
  /**
845
1051
  * The response_view specifies which subset of the Task will be returned. By default response_view is BASIC; not all information is retrieved by default because some data, such as
846
1052
  * payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains. Authorization for FULL requires
847
1053
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
848
1054
  */
849
- responseView?: string;
1055
+ responseView?:
1056
+ string;
850
1057
  /** Upload protocol for media (e.g. "raw", "multipart"). */
851
- upload_protocol?: string;
1058
+ upload_protocol?:
1059
+ string;
852
1060
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
853
- uploadType?: string;
1061
+ uploadType?:
1062
+ string;
854
1063
  }): Request<ListTasksResponse>;
855
1064
  /**
856
1065
  * Forces a task to run now. When this method is called, Cloud Tasks will dispatch the task, even if the task is already running, the queue has reached its RateLimits or is PAUSED.
@@ -861,57 +1070,82 @@ declare namespace gapi.client {
861
1070
  */
862
1071
  run(request: {
863
1072
  /** V1 error format. */
864
- "$.xgafv"?: string;
1073
+ "$.xgafv"?:
1074
+ string;
865
1075
  /** OAuth access token. */
866
- access_token?: string;
1076
+ access_token?:
1077
+ string;
867
1078
  /** Data format for response. */
868
- alt?: string;
1079
+ alt?:
1080
+ string;
869
1081
  /** JSONP */
870
- callback?: string;
1082
+ callback?:
1083
+ string;
871
1084
  /** Selector specifying which fields to include in a partial response. */
872
- fields?: string;
1085
+ fields?:
1086
+ string;
873
1087
  /** 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. */
874
- key?: string;
1088
+ key?:
1089
+ string;
875
1090
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
876
- name: string;
1091
+ name:
1092
+ string;
877
1093
  /** OAuth 2.0 token for the current user. */
878
- oauth_token?: string;
1094
+ oauth_token?:
1095
+ string;
879
1096
  /** Returns response with indentations and line breaks. */
880
- prettyPrint?: boolean;
1097
+ prettyPrint?:
1098
+ boolean;
881
1099
  /** 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. */
882
- quotaUser?: string;
1100
+ quotaUser?:
1101
+ string;
883
1102
  /** Upload protocol for media (e.g. "raw", "multipart"). */
884
- upload_protocol?: string;
1103
+ upload_protocol?:
1104
+ string;
885
1105
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
886
- uploadType?: string;
1106
+ uploadType?:
1107
+ string;
887
1108
  /** Request body */
888
- resource: RunTaskRequest;
1109
+ resource:
1110
+ RunTaskRequest;
889
1111
  }): Request<Task>;
890
1112
  run(request: {
891
1113
  /** V1 error format. */
892
- "$.xgafv"?: string;
1114
+ "$.xgafv"?:
1115
+ string;
893
1116
  /** OAuth access token. */
894
- access_token?: string;
1117
+ access_token?:
1118
+ string;
895
1119
  /** Data format for response. */
896
- alt?: string;
1120
+ alt?:
1121
+ string;
897
1122
  /** JSONP */
898
- callback?: string;
1123
+ callback?:
1124
+ string;
899
1125
  /** Selector specifying which fields to include in a partial response. */
900
- fields?: string;
1126
+ fields?:
1127
+ string;
901
1128
  /** 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. */
902
- key?: string;
1129
+ key?:
1130
+ string;
903
1131
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
904
- name: string;
1132
+ name:
1133
+ string;
905
1134
  /** OAuth 2.0 token for the current user. */
906
- oauth_token?: string;
1135
+ oauth_token?:
1136
+ string;
907
1137
  /** Returns response with indentations and line breaks. */
908
- prettyPrint?: boolean;
1138
+ prettyPrint?:
1139
+ boolean;
909
1140
  /** 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. */
910
- quotaUser?: string;
1141
+ quotaUser?:
1142
+ string;
911
1143
  /** Upload protocol for media (e.g. "raw", "multipart"). */
912
- upload_protocol?: string;
1144
+ upload_protocol?:
1145
+ string;
913
1146
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
914
- uploadType?: string;
1147
+ uploadType?:
1148
+ string;
915
1149
  },
916
1150
  body: RunTaskRequest): Request<Task>;
917
1151
  }
@@ -923,63 +1157,88 @@ declare namespace gapi.client {
923
1157
  */
924
1158
  create(request: {
925
1159
  /** V1 error format. */
926
- "$.xgafv"?: string;
1160
+ "$.xgafv"?:
1161
+ string;
927
1162
  /** OAuth access token. */
928
- access_token?: string;
1163
+ access_token?:
1164
+ string;
929
1165
  /** Data format for response. */
930
- alt?: string;
1166
+ alt?:
1167
+ string;
931
1168
  /** JSONP */
932
- callback?: string;
1169
+ callback?:
1170
+ string;
933
1171
  /** Selector specifying which fields to include in a partial response. */
934
- fields?: string;
1172
+ fields?:
1173
+ string;
935
1174
  /** 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. */
936
- key?: string;
1175
+ key?:
1176
+ string;
937
1177
  /** OAuth 2.0 token for the current user. */
938
- oauth_token?: string;
1178
+ oauth_token?:
1179
+ string;
939
1180
  /**
940
1181
  * Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of allowed locations can be obtained by calling
941
1182
  * Cloud Tasks' implementation of ListLocations.
942
1183
  */
943
- parent: string;
1184
+ parent:
1185
+ string;
944
1186
  /** Returns response with indentations and line breaks. */
945
- prettyPrint?: boolean;
1187
+ prettyPrint?:
1188
+ boolean;
946
1189
  /** 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. */
947
- quotaUser?: string;
1190
+ quotaUser?:
1191
+ string;
948
1192
  /** Upload protocol for media (e.g. "raw", "multipart"). */
949
- upload_protocol?: string;
1193
+ upload_protocol?:
1194
+ string;
950
1195
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
951
- uploadType?: string;
1196
+ uploadType?:
1197
+ string;
952
1198
  /** Request body */
953
- resource: Queue;
1199
+ resource:
1200
+ Queue;
954
1201
  }): Request<Queue>;
955
1202
  create(request: {
956
1203
  /** V1 error format. */
957
- "$.xgafv"?: string;
1204
+ "$.xgafv"?:
1205
+ string;
958
1206
  /** OAuth access token. */
959
- access_token?: string;
1207
+ access_token?:
1208
+ string;
960
1209
  /** Data format for response. */
961
- alt?: string;
1210
+ alt?:
1211
+ string;
962
1212
  /** JSONP */
963
- callback?: string;
1213
+ callback?:
1214
+ string;
964
1215
  /** Selector specifying which fields to include in a partial response. */
965
- fields?: string;
1216
+ fields?:
1217
+ string;
966
1218
  /** 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. */
967
- key?: string;
1219
+ key?:
1220
+ string;
968
1221
  /** OAuth 2.0 token for the current user. */
969
- oauth_token?: string;
1222
+ oauth_token?:
1223
+ string;
970
1224
  /**
971
1225
  * Required. The location name in which the queue will be created. For example: `projects/PROJECT_ID/locations/LOCATION_ID` The list of allowed locations can be obtained by calling
972
1226
  * Cloud Tasks' implementation of ListLocations.
973
1227
  */
974
- parent: string;
1228
+ parent:
1229
+ string;
975
1230
  /** Returns response with indentations and line breaks. */
976
- prettyPrint?: boolean;
1231
+ prettyPrint?:
1232
+ boolean;
977
1233
  /** 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. */
978
- quotaUser?: string;
1234
+ quotaUser?:
1235
+ string;
979
1236
  /** Upload protocol for media (e.g. "raw", "multipart"). */
980
- upload_protocol?: string;
1237
+ upload_protocol?:
1238
+ string;
981
1239
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
982
- uploadType?: string;
1240
+ uploadType?:
1241
+ string;
983
1242
  },
984
1243
  body: Queue): Request<Queue>;
985
1244
  /**
@@ -989,61 +1248,86 @@ declare namespace gapi.client {
989
1248
  */
990
1249
  delete(request?: {
991
1250
  /** V1 error format. */
992
- "$.xgafv"?: string;
1251
+ "$.xgafv"?:
1252
+ string;
993
1253
  /** OAuth access token. */
994
- access_token?: string;
1254
+ access_token?:
1255
+ string;
995
1256
  /** Data format for response. */
996
- alt?: string;
1257
+ alt?:
1258
+ string;
997
1259
  /** JSONP */
998
- callback?: string;
1260
+ callback?:
1261
+ string;
999
1262
  /** Selector specifying which fields to include in a partial response. */
1000
- fields?: string;
1263
+ fields?:
1264
+ string;
1001
1265
  /** 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. */
1002
- key?: string;
1266
+ key?:
1267
+ string;
1003
1268
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
1004
- name: string;
1269
+ name:
1270
+ string;
1005
1271
  /** OAuth 2.0 token for the current user. */
1006
- oauth_token?: string;
1272
+ oauth_token?:
1273
+ string;
1007
1274
  /** Returns response with indentations and line breaks. */
1008
- prettyPrint?: boolean;
1275
+ prettyPrint?:
1276
+ boolean;
1009
1277
  /** 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. */
1010
- quotaUser?: string;
1278
+ quotaUser?:
1279
+ string;
1011
1280
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1012
- upload_protocol?: string;
1281
+ upload_protocol?:
1282
+ string;
1013
1283
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1014
- uploadType?: string;
1284
+ uploadType?:
1285
+ string;
1015
1286
  }): Request<{}>;
1016
1287
  /** Gets a queue. */
1017
1288
  get(request?: {
1018
1289
  /** V1 error format. */
1019
- "$.xgafv"?: string;
1290
+ "$.xgafv"?:
1291
+ string;
1020
1292
  /** OAuth access token. */
1021
- access_token?: string;
1293
+ access_token?:
1294
+ string;
1022
1295
  /** Data format for response. */
1023
- alt?: string;
1296
+ alt?:
1297
+ string;
1024
1298
  /** JSONP */
1025
- callback?: string;
1299
+ callback?:
1300
+ string;
1026
1301
  /** Selector specifying which fields to include in a partial response. */
1027
- fields?: string;
1302
+ fields?:
1303
+ string;
1028
1304
  /** 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. */
1029
- key?: string;
1305
+ key?:
1306
+ string;
1030
1307
  /** Required. The resource name of the queue. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
1031
- name: string;
1308
+ name:
1309
+ string;
1032
1310
  /** OAuth 2.0 token for the current user. */
1033
- oauth_token?: string;
1311
+ oauth_token?:
1312
+ string;
1034
1313
  /** Returns response with indentations and line breaks. */
1035
- prettyPrint?: boolean;
1314
+ prettyPrint?:
1315
+ boolean;
1036
1316
  /** 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. */
1037
- quotaUser?: string;
1317
+ quotaUser?:
1318
+ string;
1038
1319
  /**
1039
1320
  * Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats]
1040
1321
  * will be returned only if it was explicitly specified in the mask.
1041
1322
  */
1042
- readMask?: string;
1323
+ readMask?:
1324
+ string;
1043
1325
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1044
- upload_protocol?: string;
1326
+ upload_protocol?:
1327
+ string;
1045
1328
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1046
- uploadType?: string;
1329
+ uploadType?:
1330
+ string;
1047
1331
  }): Request<Queue>;
1048
1332
  /**
1049
1333
  * Gets the access control policy for a Queue. Returns an empty policy if the resource exists and does not have a policy set. Authorization requires the following [Google
@@ -1051,81 +1335,109 @@ declare namespace gapi.client {
1051
1335
  */
1052
1336
  getIamPolicy(request: {
1053
1337
  /** V1 error format. */
1054
- "$.xgafv"?: string;
1338
+ "$.xgafv"?:
1339
+ string;
1055
1340
  /** OAuth access token. */
1056
- access_token?: string;
1341
+ access_token?:
1342
+ string;
1057
1343
  /** Data format for response. */
1058
- alt?: string;
1344
+ alt?:
1345
+ string;
1059
1346
  /** JSONP */
1060
- callback?: string;
1347
+ callback?:
1348
+ string;
1061
1349
  /** Selector specifying which fields to include in a partial response. */
1062
- fields?: string;
1350
+ fields?:
1351
+ string;
1063
1352
  /** 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. */
1064
- key?: string;
1353
+ key?:
1354
+ string;
1065
1355
  /** OAuth 2.0 token for the current user. */
1066
- oauth_token?: string;
1356
+ oauth_token?:
1357
+ string;
1067
1358
  /** Returns response with indentations and line breaks. */
1068
- prettyPrint?: boolean;
1359
+ prettyPrint?:
1360
+ boolean;
1069
1361
  /** 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. */
1070
- quotaUser?: string;
1362
+ quotaUser?:
1363
+ string;
1071
1364
  /**
1072
1365
  * 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
1073
1366
  * field.
1074
1367
  */
1075
- resource: string;
1368
+ resource:
1369
+ string;
1076
1370
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1077
- upload_protocol?: string;
1371
+ upload_protocol?:
1372
+ string;
1078
1373
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1079
- uploadType?: string;
1374
+ uploadType?:
1375
+ string;
1080
1376
  },
1081
1377
  body: GetIamPolicyRequest): Request<Policy>;
1082
1378
  /** Lists queues. Queues are returned in lexicographical order. */
1083
1379
  list(request?: {
1084
1380
  /** V1 error format. */
1085
- "$.xgafv"?: string;
1381
+ "$.xgafv"?:
1382
+ string;
1086
1383
  /** OAuth access token. */
1087
- access_token?: string;
1384
+ access_token?:
1385
+ string;
1088
1386
  /** Data format for response. */
1089
- alt?: string;
1387
+ alt?:
1388
+ string;
1090
1389
  /** JSONP */
1091
- callback?: string;
1390
+ callback?:
1391
+ string;
1092
1392
  /** Selector specifying which fields to include in a partial response. */
1093
- fields?: string;
1393
+ fields?:
1394
+ string;
1094
1395
  /**
1095
1396
  * `filter` can be used to specify a subset of queues. Any Queue field can be used as a filter and several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The filter
1096
1397
  * syntax is the same as described in [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). Sample filter "state: PAUSED". Note that
1097
1398
  * using filters might cause fewer queues than the requested page_size to be returned.
1098
1399
  */
1099
- filter?: string;
1400
+ filter?:
1401
+ string;
1100
1402
  /** 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;
1403
+ key?:
1404
+ string;
1102
1405
  /** OAuth 2.0 token for the current user. */
1103
- oauth_token?: string;
1406
+ oauth_token?:
1407
+ string;
1104
1408
  /**
1105
1409
  * Requested page size. The maximum page size is 9800. If unspecified, the page size will be the maximum. Fewer queues than requested might be returned, even if more queues exist;
1106
1410
  * use the next_page_token in the response to determine if more queues exist.
1107
1411
  */
1108
- pageSize?: number;
1412
+ pageSize?:
1413
+ number;
1109
1414
  /**
1110
1415
  * A token identifying the page of results to return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value
1111
1416
  * of next_page_token returned from the previous call to ListQueues method. It is an error to switch the value of the filter while iterating through pages.
1112
1417
  */
1113
- pageToken?: string;
1418
+ pageToken?:
1419
+ string;
1114
1420
  /** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` */
1115
- parent: string;
1421
+ parent:
1422
+ string;
1116
1423
  /** Returns response with indentations and line breaks. */
1117
- prettyPrint?: boolean;
1424
+ prettyPrint?:
1425
+ boolean;
1118
1426
  /** 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. */
1119
- quotaUser?: string;
1427
+ quotaUser?:
1428
+ string;
1120
1429
  /**
1121
1430
  * Optional. Read mask is used for a more granular control over what the API returns. If the mask is not present all fields will be returned except [Queue.stats]. [Queue.stats]
1122
1431
  * will be returned only if it was explicitly specified in the mask.
1123
1432
  */
1124
- readMask?: string;
1433
+ readMask?:
1434
+ string;
1125
1435
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1126
- upload_protocol?: string;
1436
+ upload_protocol?:
1437
+ string;
1127
1438
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1128
- uploadType?: string;
1439
+ uploadType?:
1440
+ string;
1129
1441
  }): Request<ListQueuesResponse>;
1130
1442
  /**
1131
1443
  * Updates a queue. This method creates the queue if it does not exist and updates the queue if it does exist. Queues created with this method allow tasks to live for a maximum of 31
@@ -1135,17 +1447,23 @@ declare namespace gapi.client {
1135
1447
  */
1136
1448
  patch(request: {
1137
1449
  /** V1 error format. */
1138
- "$.xgafv"?: string;
1450
+ "$.xgafv"?:
1451
+ string;
1139
1452
  /** OAuth access token. */
1140
- access_token?: string;
1453
+ access_token?:
1454
+ string;
1141
1455
  /** Data format for response. */
1142
- alt?: string;
1456
+ alt?:
1457
+ string;
1143
1458
  /** JSONP */
1144
- callback?: string;
1459
+ callback?:
1460
+ string;
1145
1461
  /** Selector specifying which fields to include in a partial response. */
1146
- fields?: string;
1462
+ fields?:
1463
+ string;
1147
1464
  /** 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. */
1148
- key?: string;
1465
+ key?:
1466
+ string;
1149
1467
  /**
1150
1468
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
1151
1469
  * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
@@ -1153,35 +1471,49 @@ declare namespace gapi.client {
1153
1471
  * the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID`
1154
1472
  * can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
1155
1473
  */
1156
- name: string;
1474
+ name:
1475
+ string;
1157
1476
  /** OAuth 2.0 token for the current user. */
1158
- oauth_token?: string;
1477
+ oauth_token?:
1478
+ string;
1159
1479
  /** Returns response with indentations and line breaks. */
1160
- prettyPrint?: boolean;
1480
+ prettyPrint?:
1481
+ boolean;
1161
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. */
1162
- quotaUser?: string;
1483
+ quotaUser?:
1484
+ string;
1163
1485
  /** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
1164
- updateMask?: string;
1486
+ updateMask?:
1487
+ string;
1165
1488
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1166
- upload_protocol?: string;
1489
+ upload_protocol?:
1490
+ string;
1167
1491
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1168
- uploadType?: string;
1492
+ uploadType?:
1493
+ string;
1169
1494
  /** Request body */
1170
- resource: Queue;
1495
+ resource:
1496
+ Queue;
1171
1497
  }): Request<Queue>;
1172
1498
  patch(request: {
1173
1499
  /** V1 error format. */
1174
- "$.xgafv"?: string;
1500
+ "$.xgafv"?:
1501
+ string;
1175
1502
  /** OAuth access token. */
1176
- access_token?: string;
1503
+ access_token?:
1504
+ string;
1177
1505
  /** Data format for response. */
1178
- alt?: string;
1506
+ alt?:
1507
+ string;
1179
1508
  /** JSONP */
1180
- callback?: string;
1509
+ callback?:
1510
+ string;
1181
1511
  /** Selector specifying which fields to include in a partial response. */
1182
- fields?: string;
1512
+ fields?:
1513
+ string;
1183
1514
  /** 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;
1515
+ key?:
1516
+ string;
1185
1517
  /**
1186
1518
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
1187
1519
  * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more
@@ -1189,19 +1521,26 @@ declare namespace gapi.client {
1189
1521
  * the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID`
1190
1522
  * can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
1191
1523
  */
1192
- name: string;
1524
+ name:
1525
+ string;
1193
1526
  /** OAuth 2.0 token for the current user. */
1194
- oauth_token?: string;
1527
+ oauth_token?:
1528
+ string;
1195
1529
  /** Returns response with indentations and line breaks. */
1196
- prettyPrint?: boolean;
1530
+ prettyPrint?:
1531
+ boolean;
1197
1532
  /** 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. */
1198
- quotaUser?: string;
1533
+ quotaUser?:
1534
+ string;
1199
1535
  /** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
1200
- updateMask?: string;
1536
+ updateMask?:
1537
+ string;
1201
1538
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1202
- upload_protocol?: string;
1539
+ upload_protocol?:
1540
+ string;
1203
1541
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1204
- uploadType?: string;
1542
+ uploadType?:
1543
+ string;
1205
1544
  },
1206
1545
  body: Queue): Request<Queue>;
1207
1546
  /**
@@ -1210,57 +1549,82 @@ declare namespace gapi.client {
1210
1549
  */
1211
1550
  pause(request: {
1212
1551
  /** V1 error format. */
1213
- "$.xgafv"?: string;
1552
+ "$.xgafv"?:
1553
+ string;
1214
1554
  /** OAuth access token. */
1215
- access_token?: string;
1555
+ access_token?:
1556
+ string;
1216
1557
  /** Data format for response. */
1217
- alt?: string;
1558
+ alt?:
1559
+ string;
1218
1560
  /** JSONP */
1219
- callback?: string;
1561
+ callback?:
1562
+ string;
1220
1563
  /** Selector specifying which fields to include in a partial response. */
1221
- fields?: string;
1564
+ fields?:
1565
+ string;
1222
1566
  /** 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. */
1223
- key?: string;
1567
+ key?:
1568
+ string;
1224
1569
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1225
- name: string;
1570
+ name:
1571
+ string;
1226
1572
  /** OAuth 2.0 token for the current user. */
1227
- oauth_token?: string;
1573
+ oauth_token?:
1574
+ string;
1228
1575
  /** Returns response with indentations and line breaks. */
1229
- prettyPrint?: boolean;
1576
+ prettyPrint?:
1577
+ boolean;
1230
1578
  /** 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. */
1231
- quotaUser?: string;
1579
+ quotaUser?:
1580
+ string;
1232
1581
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1233
- upload_protocol?: string;
1582
+ upload_protocol?:
1583
+ string;
1234
1584
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1235
- uploadType?: string;
1585
+ uploadType?:
1586
+ string;
1236
1587
  /** Request body */
1237
- resource: PauseQueueRequest;
1588
+ resource:
1589
+ PauseQueueRequest;
1238
1590
  }): Request<Queue>;
1239
1591
  pause(request: {
1240
1592
  /** V1 error format. */
1241
- "$.xgafv"?: string;
1593
+ "$.xgafv"?:
1594
+ string;
1242
1595
  /** OAuth access token. */
1243
- access_token?: string;
1596
+ access_token?:
1597
+ string;
1244
1598
  /** Data format for response. */
1245
- alt?: string;
1599
+ alt?:
1600
+ string;
1246
1601
  /** JSONP */
1247
- callback?: string;
1602
+ callback?:
1603
+ string;
1248
1604
  /** Selector specifying which fields to include in a partial response. */
1249
- fields?: string;
1605
+ fields?:
1606
+ string;
1250
1607
  /** 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. */
1251
- key?: string;
1608
+ key?:
1609
+ string;
1252
1610
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1253
- name: string;
1611
+ name:
1612
+ string;
1254
1613
  /** OAuth 2.0 token for the current user. */
1255
- oauth_token?: string;
1614
+ oauth_token?:
1615
+ string;
1256
1616
  /** Returns response with indentations and line breaks. */
1257
- prettyPrint?: boolean;
1617
+ prettyPrint?:
1618
+ boolean;
1258
1619
  /** 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. */
1259
- quotaUser?: string;
1620
+ quotaUser?:
1621
+ string;
1260
1622
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1261
- upload_protocol?: string;
1623
+ upload_protocol?:
1624
+ string;
1262
1625
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1263
- uploadType?: string;
1626
+ uploadType?:
1627
+ string;
1264
1628
  },
1265
1629
  body: PauseQueueRequest): Request<Queue>;
1266
1630
  /**
@@ -1269,57 +1633,82 @@ declare namespace gapi.client {
1269
1633
  */
1270
1634
  purge(request: {
1271
1635
  /** V1 error format. */
1272
- "$.xgafv"?: string;
1636
+ "$.xgafv"?:
1637
+ string;
1273
1638
  /** OAuth access token. */
1274
- access_token?: string;
1639
+ access_token?:
1640
+ string;
1275
1641
  /** Data format for response. */
1276
- alt?: string;
1642
+ alt?:
1643
+ string;
1277
1644
  /** JSONP */
1278
- callback?: string;
1645
+ callback?:
1646
+ string;
1279
1647
  /** Selector specifying which fields to include in a partial response. */
1280
- fields?: string;
1648
+ fields?:
1649
+ string;
1281
1650
  /** 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. */
1282
- key?: string;
1651
+ key?:
1652
+ string;
1283
1653
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1284
- name: string;
1654
+ name:
1655
+ string;
1285
1656
  /** OAuth 2.0 token for the current user. */
1286
- oauth_token?: string;
1657
+ oauth_token?:
1658
+ string;
1287
1659
  /** Returns response with indentations and line breaks. */
1288
- prettyPrint?: boolean;
1660
+ prettyPrint?:
1661
+ boolean;
1289
1662
  /** 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. */
1290
- quotaUser?: string;
1663
+ quotaUser?:
1664
+ string;
1291
1665
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1292
- upload_protocol?: string;
1666
+ upload_protocol?:
1667
+ string;
1293
1668
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1294
- uploadType?: string;
1669
+ uploadType?:
1670
+ string;
1295
1671
  /** Request body */
1296
- resource: PurgeQueueRequest;
1672
+ resource:
1673
+ PurgeQueueRequest;
1297
1674
  }): Request<Queue>;
1298
1675
  purge(request: {
1299
1676
  /** V1 error format. */
1300
- "$.xgafv"?: string;
1677
+ "$.xgafv"?:
1678
+ string;
1301
1679
  /** OAuth access token. */
1302
- access_token?: string;
1680
+ access_token?:
1681
+ string;
1303
1682
  /** Data format for response. */
1304
- alt?: string;
1683
+ alt?:
1684
+ string;
1305
1685
  /** JSONP */
1306
- callback?: string;
1686
+ callback?:
1687
+ string;
1307
1688
  /** Selector specifying which fields to include in a partial response. */
1308
- fields?: string;
1689
+ fields?:
1690
+ string;
1309
1691
  /** 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. */
1310
- key?: string;
1692
+ key?:
1693
+ string;
1311
1694
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1312
- name: string;
1695
+ name:
1696
+ string;
1313
1697
  /** OAuth 2.0 token for the current user. */
1314
- oauth_token?: string;
1698
+ oauth_token?:
1699
+ string;
1315
1700
  /** Returns response with indentations and line breaks. */
1316
- prettyPrint?: boolean;
1701
+ prettyPrint?:
1702
+ boolean;
1317
1703
  /** 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. */
1318
- quotaUser?: string;
1704
+ quotaUser?:
1705
+ string;
1319
1706
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1320
- upload_protocol?: string;
1707
+ upload_protocol?:
1708
+ string;
1321
1709
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1322
- uploadType?: string;
1710
+ uploadType?:
1711
+ string;
1323
1712
  },
1324
1713
  body: PurgeQueueRequest): Request<Queue>;
1325
1714
  /**
@@ -1329,57 +1718,82 @@ declare namespace gapi.client {
1329
1718
  */
1330
1719
  resume(request: {
1331
1720
  /** V1 error format. */
1332
- "$.xgafv"?: string;
1721
+ "$.xgafv"?:
1722
+ string;
1333
1723
  /** OAuth access token. */
1334
- access_token?: string;
1724
+ access_token?:
1725
+ string;
1335
1726
  /** Data format for response. */
1336
- alt?: string;
1727
+ alt?:
1728
+ string;
1337
1729
  /** JSONP */
1338
- callback?: string;
1730
+ callback?:
1731
+ string;
1339
1732
  /** Selector specifying which fields to include in a partial response. */
1340
- fields?: string;
1733
+ fields?:
1734
+ string;
1341
1735
  /** 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. */
1342
- key?: string;
1736
+ key?:
1737
+ string;
1343
1738
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1344
- name: string;
1739
+ name:
1740
+ string;
1345
1741
  /** OAuth 2.0 token for the current user. */
1346
- oauth_token?: string;
1742
+ oauth_token?:
1743
+ string;
1347
1744
  /** Returns response with indentations and line breaks. */
1348
- prettyPrint?: boolean;
1745
+ prettyPrint?:
1746
+ boolean;
1349
1747
  /** 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. */
1350
- quotaUser?: string;
1748
+ quotaUser?:
1749
+ string;
1351
1750
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1352
- upload_protocol?: string;
1751
+ upload_protocol?:
1752
+ string;
1353
1753
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1354
- uploadType?: string;
1754
+ uploadType?:
1755
+ string;
1355
1756
  /** Request body */
1356
- resource: ResumeQueueRequest;
1757
+ resource:
1758
+ ResumeQueueRequest;
1357
1759
  }): Request<Queue>;
1358
1760
  resume(request: {
1359
1761
  /** V1 error format. */
1360
- "$.xgafv"?: string;
1762
+ "$.xgafv"?:
1763
+ string;
1361
1764
  /** OAuth access token. */
1362
- access_token?: string;
1765
+ access_token?:
1766
+ string;
1363
1767
  /** Data format for response. */
1364
- alt?: string;
1768
+ alt?:
1769
+ string;
1365
1770
  /** JSONP */
1366
- callback?: string;
1771
+ callback?:
1772
+ string;
1367
1773
  /** Selector specifying which fields to include in a partial response. */
1368
- fields?: string;
1774
+ fields?:
1775
+ string;
1369
1776
  /** 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. */
1370
- key?: string;
1777
+ key?:
1778
+ string;
1371
1779
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1372
- name: string;
1780
+ name:
1781
+ string;
1373
1782
  /** OAuth 2.0 token for the current user. */
1374
- oauth_token?: string;
1783
+ oauth_token?:
1784
+ string;
1375
1785
  /** Returns response with indentations and line breaks. */
1376
- prettyPrint?: boolean;
1786
+ prettyPrint?:
1787
+ boolean;
1377
1788
  /** 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. */
1378
- quotaUser?: string;
1789
+ quotaUser?:
1790
+ string;
1379
1791
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1380
- upload_protocol?: string;
1792
+ upload_protocol?:
1793
+ string;
1381
1794
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1382
- uploadType?: string;
1795
+ uploadType?:
1796
+ string;
1383
1797
  },
1384
1798
  body: ResumeQueueRequest): Request<Queue>;
1385
1799
  /**
@@ -1389,32 +1803,44 @@ declare namespace gapi.client {
1389
1803
  */
1390
1804
  setIamPolicy(request: {
1391
1805
  /** V1 error format. */
1392
- "$.xgafv"?: string;
1806
+ "$.xgafv"?:
1807
+ string;
1393
1808
  /** OAuth access token. */
1394
- access_token?: string;
1809
+ access_token?:
1810
+ string;
1395
1811
  /** Data format for response. */
1396
- alt?: string;
1812
+ alt?:
1813
+ string;
1397
1814
  /** JSONP */
1398
- callback?: string;
1815
+ callback?:
1816
+ string;
1399
1817
  /** Selector specifying which fields to include in a partial response. */
1400
- fields?: string;
1818
+ fields?:
1819
+ string;
1401
1820
  /** 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. */
1402
- key?: string;
1821
+ key?:
1822
+ string;
1403
1823
  /** OAuth 2.0 token for the current user. */
1404
- oauth_token?: string;
1824
+ oauth_token?:
1825
+ string;
1405
1826
  /** Returns response with indentations and line breaks. */
1406
- prettyPrint?: boolean;
1827
+ prettyPrint?:
1828
+ boolean;
1407
1829
  /** 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. */
1408
- quotaUser?: string;
1830
+ quotaUser?:
1831
+ string;
1409
1832
  /**
1410
1833
  * 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
1411
1834
  * field.
1412
1835
  */
1413
- resource: string;
1836
+ resource:
1837
+ string;
1414
1838
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1415
- upload_protocol?: string;
1839
+ upload_protocol?:
1840
+ string;
1416
1841
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1417
- uploadType?: string;
1842
+ uploadType?:
1843
+ string;
1418
1844
  },
1419
1845
  body: SetIamPolicyRequest): Request<Policy>;
1420
1846
  /**
@@ -1423,104 +1849,146 @@ declare namespace gapi.client {
1423
1849
  */
1424
1850
  testIamPermissions(request: {
1425
1851
  /** V1 error format. */
1426
- "$.xgafv"?: string;
1852
+ "$.xgafv"?:
1853
+ string;
1427
1854
  /** OAuth access token. */
1428
- access_token?: string;
1855
+ access_token?:
1856
+ string;
1429
1857
  /** Data format for response. */
1430
- alt?: string;
1858
+ alt?:
1859
+ string;
1431
1860
  /** JSONP */
1432
- callback?: string;
1861
+ callback?:
1862
+ string;
1433
1863
  /** Selector specifying which fields to include in a partial response. */
1434
- fields?: string;
1864
+ fields?:
1865
+ string;
1435
1866
  /** 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. */
1436
- key?: string;
1867
+ key?:
1868
+ string;
1437
1869
  /** OAuth 2.0 token for the current user. */
1438
- oauth_token?: string;
1870
+ oauth_token?:
1871
+ string;
1439
1872
  /** Returns response with indentations and line breaks. */
1440
- prettyPrint?: boolean;
1873
+ prettyPrint?:
1874
+ boolean;
1441
1875
  /** 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. */
1442
- quotaUser?: string;
1876
+ quotaUser?:
1877
+ string;
1443
1878
  /**
1444
1879
  * 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
1445
1880
  * this field.
1446
1881
  */
1447
- resource: string;
1882
+ resource:
1883
+ string;
1448
1884
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1449
- upload_protocol?: string;
1885
+ upload_protocol?:
1886
+ string;
1450
1887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1451
- uploadType?: string;
1888
+ uploadType?:
1889
+ string;
1452
1890
  },
1453
1891
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1454
- tasks: TasksResource;
1892
+ tasks:
1893
+ TasksResource;
1455
1894
  }
1456
1895
  interface LocationsResource {
1457
1896
  /** Gets information about a location. */
1458
1897
  get(request?: {
1459
1898
  /** V1 error format. */
1460
- "$.xgafv"?: string;
1899
+ "$.xgafv"?:
1900
+ string;
1461
1901
  /** OAuth access token. */
1462
- access_token?: string;
1902
+ access_token?:
1903
+ string;
1463
1904
  /** Data format for response. */
1464
- alt?: string;
1905
+ alt?:
1906
+ string;
1465
1907
  /** JSONP */
1466
- callback?: string;
1908
+ callback?:
1909
+ string;
1467
1910
  /** Selector specifying which fields to include in a partial response. */
1468
- fields?: string;
1911
+ fields?:
1912
+ string;
1469
1913
  /** 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. */
1470
- key?: string;
1914
+ key?:
1915
+ string;
1471
1916
  /** Resource name for the location. */
1472
- name: string;
1917
+ name:
1918
+ string;
1473
1919
  /** OAuth 2.0 token for the current user. */
1474
- oauth_token?: string;
1920
+ oauth_token?:
1921
+ string;
1475
1922
  /** Returns response with indentations and line breaks. */
1476
- prettyPrint?: boolean;
1923
+ prettyPrint?:
1924
+ boolean;
1477
1925
  /** 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. */
1478
- quotaUser?: string;
1926
+ quotaUser?:
1927
+ string;
1479
1928
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1480
- upload_protocol?: string;
1929
+ upload_protocol?:
1930
+ string;
1481
1931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1482
- uploadType?: string;
1932
+ uploadType?:
1933
+ string;
1483
1934
  }): Request<Location>;
1484
1935
  /** Lists information about the supported locations for this service. */
1485
1936
  list(request?: {
1486
1937
  /** V1 error format. */
1487
- "$.xgafv"?: string;
1938
+ "$.xgafv"?:
1939
+ string;
1488
1940
  /** OAuth access token. */
1489
- access_token?: string;
1941
+ access_token?:
1942
+ string;
1490
1943
  /** Data format for response. */
1491
- alt?: string;
1944
+ alt?:
1945
+ string;
1492
1946
  /** JSONP */
1493
- callback?: string;
1947
+ callback?:
1948
+ string;
1494
1949
  /** Selector specifying which fields to include in a partial response. */
1495
- fields?: string;
1950
+ fields?:
1951
+ string;
1496
1952
  /**
1497
1953
  * 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
1498
1954
  * [AIP-160](https://google.aip.dev/160).
1499
1955
  */
1500
- filter?: string;
1956
+ filter?:
1957
+ string;
1501
1958
  /** 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. */
1502
- key?: string;
1959
+ key?:
1960
+ string;
1503
1961
  /** The resource that owns the locations collection, if applicable. */
1504
- name: string;
1962
+ name:
1963
+ string;
1505
1964
  /** OAuth 2.0 token for the current user. */
1506
- oauth_token?: string;
1965
+ oauth_token?:
1966
+ string;
1507
1967
  /** The maximum number of results to return. If not set, the service selects a default. */
1508
- pageSize?: number;
1968
+ pageSize?:
1969
+ number;
1509
1970
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1510
- pageToken?: string;
1971
+ pageToken?:
1972
+ string;
1511
1973
  /** Returns response with indentations and line breaks. */
1512
- prettyPrint?: boolean;
1974
+ prettyPrint?:
1975
+ boolean;
1513
1976
  /** 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. */
1514
- quotaUser?: string;
1977
+ quotaUser?:
1978
+ string;
1515
1979
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1516
- upload_protocol?: string;
1980
+ upload_protocol?:
1981
+ string;
1517
1982
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1518
- uploadType?: string;
1983
+ uploadType?:
1984
+ string;
1519
1985
  }): Request<ListLocationsResponse>;
1520
- queues: QueuesResource;
1986
+ queues:
1987
+ QueuesResource;
1521
1988
  }
1522
1989
  interface ProjectsResource {
1523
- locations: LocationsResource;
1990
+ locations:
1991
+ LocationsResource;
1524
1992
  }
1525
1993
 
1526
1994
  const projects: ProjectsResource;