@maxim_mazurok/gapi.client.cloudtasks-v2 0.0.20230317 → 0.0.20230417

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 +809 -405
  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=v2
12
- // Revision: 20230317
12
+ // Revision: 20230417
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,9 +27,11 @@ declare namespace gapi.client {
27
27
  * Task-level setting for App Engine routing. * If app_engine_routing_override is set on the queue, this value is used for all tasks in the queue, no matter what the setting is for the
28
28
  * task-level app_engine_routing.
29
29
  */
30
- appEngineRouting?: AppEngineRouting;
30
+ appEngineRouting?:
31
+ AppEngineRouting;
31
32
  /** 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. */
32
- body?: string;
33
+ body?:
34
+ string;
33
35
  /**
34
36
  * 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
35
37
  * 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
@@ -42,19 +44,22 @@ declare namespace gapi.client {
42
44
  * 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
43
45
  * Task. For more information, see the CreateTask documentation.
44
46
  */
45
- headers?: { [P in string]: string };
47
+ headers?:
48
+ { [P in string]: string };
46
49
  /**
47
50
  * 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,
48
51
  * otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request
49
52
  * 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
50
53
  * Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
51
54
  */
52
- httpMethod?: string;
55
+ httpMethod?:
56
+ string;
53
57
  /**
54
58
  * 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
55
59
  * the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
56
60
  */
57
- relativeUri?: string;
61
+ relativeUri?:
62
+ string;
58
63
  }
59
64
  interface AppEngineRouting {
60
65
  /**
@@ -62,39 +67,47 @@ declare namespace gapi.client {
62
67
  * 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
63
68
  * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
64
69
  */
65
- host?: string;
70
+ host?:
71
+ string;
66
72
  /**
67
73
  * 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
68
74
  * 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
69
75
  * 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
70
76
  * request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
71
77
  */
72
- instance?: string;
78
+ instance?:
79
+ string;
73
80
  /**
74
81
  * 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
75
82
  * 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
76
83
  * domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
77
84
  */
78
- service?: string;
85
+ service?:
86
+ string;
79
87
  /**
80
88
  * 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
81
89
  * 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
82
90
  * domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
83
91
  */
84
- version?: string;
92
+ version?:
93
+ string;
85
94
  }
86
95
  interface Attempt {
87
96
  /** Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. */
88
- dispatchTime?: string;
97
+ dispatchTime?:
98
+ string;
89
99
  /**
90
100
  * 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
91
101
  * is meaningless.
92
102
  */
93
- responseStatus?: Status;
103
+ responseStatus?:
104
+ Status;
94
105
  /** Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond. */
95
- responseTime?: string;
106
+ responseTime?:
107
+ string;
96
108
  /** Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond. */
97
- scheduleTime?: string;
109
+ scheduleTime?:
110
+ string;
98
111
  }
99
112
  interface Binding {
100
113
  /**
@@ -102,7 +115,8 @@ declare namespace gapi.client {
102
115
  * 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
103
116
  * resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
104
117
  */
105
- condition?: Expr;
118
+ condition?:
119
+ Expr;
106
120
  /**
107
121
  * 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
108
122
  * 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
@@ -119,9 +133,11 @@ declare namespace gapi.client {
119
133
  * 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
120
134
  * retains the role in the binding.
121
135
  */
122
- members?: string[];
136
+ members?:
137
+ string[];
123
138
  /** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
124
- role?: string;
139
+ role?:
140
+ string;
125
141
  }
126
142
  interface CreateTaskRequest {
127
143
  /**
@@ -129,7 +145,8 @@ declare namespace gapi.client {
129
145
  * 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
130
146
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
131
147
  */
132
- responseView?: string;
148
+ responseView?:
149
+ string;
133
150
  /**
134
151
  * 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
135
152
  * 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
@@ -141,24 +158,30 @@ declare namespace gapi.client {
141
158
  * 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
142
159
  * distribution of task ids to store and serve tasks efficiently.
143
160
  */
144
- task?: Task;
161
+ task?:
162
+ Task;
145
163
  }
146
164
  // tslint:disable-next-line:no-empty-interface
147
165
  interface Empty {
148
166
  }
149
167
  interface Expr {
150
168
  /** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
151
- description?: string;
169
+ description?:
170
+ string;
152
171
  /** Textual representation of an expression in Common Expression Language syntax. */
153
- expression?: string;
172
+ expression?:
173
+ string;
154
174
  /** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
155
- location?: string;
175
+ location?:
176
+ string;
156
177
  /** 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. */
157
- title?: string;
178
+ title?:
179
+ string;
158
180
  }
159
181
  interface GetIamPolicyRequest {
160
182
  /** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
161
- options?: GetPolicyOptions;
183
+ options?:
184
+ GetPolicyOptions;
162
185
  }
163
186
  interface GetPolicyOptions {
164
187
  /**
@@ -168,11 +191,13 @@ declare namespace gapi.client {
168
191
  * bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
169
192
  * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
170
193
  */
171
- requestedPolicyVersion?: number;
194
+ requestedPolicyVersion?:
195
+ number;
172
196
  }
173
197
  interface HttpRequest {
174
198
  /** 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. */
175
- body?: string;
199
+ body?:
200
+ string;
176
201
  /**
177
202
  * 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
178
203
  * 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: * Host: This will be
@@ -181,79 +206,99 @@ declare namespace gapi.client {
181
206
  * created. For example, `Content-Type` can be set to `"application/octet-stream"` or `"application/json"`. Headers which can have multiple values (according to RFC2616) can be
182
207
  * specified using comma-separated values. The size of the headers must be less than 80KB.
183
208
  */
184
- headers?: { [P in string]: string };
209
+ headers?:
210
+ { [P in string]: string };
185
211
  /** The HTTP method to use for the request. The default is POST. */
186
- httpMethod?: string;
212
+ httpMethod?:
213
+ string;
187
214
  /**
188
215
  * 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
189
216
  * authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
190
217
  */
191
- oauthToken?: OAuthToken;
218
+ oauthToken?:
219
+ OAuthToken;
192
220
  /**
193
221
  * 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
194
222
  * type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
195
223
  */
196
- oidcToken?: OidcToken;
224
+ oidcToken?:
225
+ OidcToken;
197
226
  /**
198
227
  * 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
199
228
  * `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`
200
229
  * header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
201
230
  */
202
- url?: string;
231
+ url?:
232
+ string;
203
233
  }
204
234
  interface ListLocationsResponse {
205
235
  /** A list of locations that matches the specified filter in the request. */
206
- locations?: Location[];
236
+ locations?:
237
+ Location[];
207
238
  /** The standard List next-page token. */
208
- nextPageToken?: string;
239
+ nextPageToken?:
240
+ string;
209
241
  }
210
242
  interface ListQueuesResponse {
211
243
  /**
212
244
  * 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
213
245
  * results. The page token is valid for only 2 hours.
214
246
  */
215
- nextPageToken?: string;
247
+ nextPageToken?:
248
+ string;
216
249
  /** The list of queues. */
217
- queues?: Queue[];
250
+ queues?:
251
+ Queue[];
218
252
  }
219
253
  interface ListTasksResponse {
220
254
  /**
221
255
  * 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
222
256
  * results.
223
257
  */
224
- nextPageToken?: string;
258
+ nextPageToken?:
259
+ string;
225
260
  /** The list of tasks. */
226
- tasks?: Task[];
261
+ tasks?:
262
+ Task[];
227
263
  }
228
264
  interface Location {
229
265
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
230
- displayName?: string;
266
+ displayName?:
267
+ string;
231
268
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
232
- labels?: { [P in string]: string };
269
+ labels?:
270
+ { [P in string]: string };
233
271
  /** The canonical id for this location. For example: `"us-east1"`. */
234
- locationId?: string;
272
+ locationId?:
273
+ string;
235
274
  /** Service-specific metadata. For example the available capacity at the given location. */
236
- metadata?: { [P in string]: any };
275
+ metadata?:
276
+ { [P in string]: any };
237
277
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
238
- name?: string;
278
+ name?:
279
+ string;
239
280
  }
240
281
  interface OAuthToken {
241
282
  /** OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. */
242
- scope?: string;
283
+ scope?:
284
+ string;
243
285
  /**
244
286
  * [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.
245
287
  * The caller must have iam.serviceAccounts.actAs permission for the service account.
246
288
  */
247
- serviceAccountEmail?: string;
289
+ serviceAccountEmail?:
290
+ string;
248
291
  }
249
292
  interface OidcToken {
250
293
  /** Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. */
251
- audience?: string;
294
+ audience?:
295
+ string;
252
296
  /**
253
297
  * [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.
254
298
  * The caller must have iam.serviceAccounts.actAs permission for the service account.
255
299
  */
256
- serviceAccountEmail?: string;
300
+ serviceAccountEmail?:
301
+ string;
257
302
  }
258
303
  // tslint:disable-next-line:no-empty-interface
259
304
  interface PauseQueueRequest {
@@ -265,7 +310,8 @@ declare namespace gapi.client {
265
310
  * 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
266
311
  * 1,450 principals to the `bindings` in the `Policy`.
267
312
  */
268
- bindings?: Binding[];
313
+ bindings?:
314
+ Binding[];
269
315
  /**
270
316
  * `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
271
317
  * 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
@@ -273,7 +319,8 @@ declare namespace gapi.client {
273
319
  * 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`
274
320
  * policy, and all of the conditions in the version `3` policy are lost.
275
321
  */
276
- etag?: string;
322
+ etag?:
323
+ string;
277
324
  /**
278
325
  * 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
279
326
  * 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
@@ -282,7 +329,8 @@ declare namespace gapi.client {
282
329
  * 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
283
330
  * 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).
284
331
  */
285
- version?: number;
332
+ version?:
333
+ number;
286
334
  }
287
335
  // tslint:disable-next-line:no-empty-interface
288
336
  interface PurgeQueueRequest {
@@ -292,7 +340,8 @@ declare namespace gapi.client {
292
340
  * Overrides for task-level app_engine_routing. These settings apply only to App Engine tasks in this queue. Http tasks are not affected. If set, `app_engine_routing_override` is used
293
341
  * for all App Engine tasks in the queue, no matter what the setting is for the task-level app_engine_routing.
294
342
  */
295
- appEngineRoutingOverride?: AppEngineRouting;
343
+ appEngineRoutingOverride?:
344
+ AppEngineRouting;
296
345
  /**
297
346
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
298
347
  * `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
@@ -300,13 +349,15 @@ declare namespace gapi.client {
300
349
  * 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
301
350
  * contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
302
351
  */
303
- name?: string;
352
+ name?:
353
+ string;
304
354
  /**
305
355
  * 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,
306
356
  * 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
307
357
  * to the nearest microsecond. Purge time will be unset if the queue has never been purged.
308
358
  */
309
- purgeTime?: string;
359
+ purgeTime?:
360
+ string;
310
361
  /**
311
362
  * 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: *
312
363
  * 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). *
@@ -314,21 +365,25 @@ declare namespace gapi.client {
314
365
  * 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
315
366
  * to `429` (Too Many Requests) or `503` (Service Unavailable) responses from the worker, high error rates, or to smooth sudden large traffic spikes.
316
367
  */
317
- rateLimits?: RateLimits;
368
+ rateLimits?:
369
+ RateLimits;
318
370
  /**
319
371
  * 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
320
372
  * 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
321
373
  * have retry settings explicitly set on the task and were created by the App Engine SDK. See [App Engine
322
374
  * documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
323
375
  */
324
- retryConfig?: RetryConfig;
376
+ retryConfig?:
377
+ RetryConfig;
325
378
  /** Configuration options for writing logs to [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this field is unset, then no logs are written. */
326
- stackdriverLoggingConfig?: StackdriverLoggingConfig;
379
+ stackdriverLoggingConfig?:
380
+ StackdriverLoggingConfig;
327
381
  /**
328
382
  * Output only. The state of the queue. `state` can only be changed by calling PauseQueue, ResumeQueue, or uploading
329
383
  * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.
330
384
  */
331
- state?: string;
385
+ state?:
386
+ string;
332
387
  }
333
388
  interface RateLimits {
334
389
  /**
@@ -341,18 +396,21 @@ declare namespace gapi.client {
341
396
  * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue
342
397
  * created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of max_dispatches_per_second, regardless of whether max_dispatches_per_second is updated.
343
398
  */
344
- maxBurstSize?: number;
399
+ maxBurstSize?:
400
+ number;
345
401
  /**
346
402
  * 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
347
403
  * 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
348
404
  * meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
349
405
  */
350
- maxConcurrentDispatches?: number;
406
+ maxConcurrentDispatches?:
407
+ number;
351
408
  /**
352
409
  * The maximum rate at which tasks are dispatched from this queue. If unspecified when the queue is created, Cloud Tasks will pick the default. * The maximum allowed value is 500. This
353
410
  * field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
354
411
  */
355
- maxDispatchesPerSecond?: number;
412
+ maxDispatchesPerSecond?:
413
+ number;
356
414
  }
357
415
  // tslint:disable-next-line:no-empty-interface
358
416
  interface ResumeQueueRequest {
@@ -363,13 +421,15 @@ declare namespace gapi.client {
363
421
  * -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
364
422
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
365
423
  */
366
- maxAttempts?: number;
424
+ maxAttempts?:
425
+ number;
367
426
  /**
368
427
  * 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
369
428
  * 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
370
429
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
371
430
  */
372
- maxBackoff?: string;
431
+ maxBackoff?:
432
+ string;
373
433
  /**
374
434
  * 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
375
435
  * 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
@@ -377,20 +437,23 @@ declare namespace gapi.client {
377
437
  * 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
378
438
  * 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).
379
439
  */
380
- maxDoublings?: number;
440
+ maxDoublings?:
441
+ number;
381
442
  /**
382
443
  * 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
383
444
  * *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
384
445
  * 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
385
446
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
386
447
  */
387
- maxRetryDuration?: string;
448
+ maxRetryDuration?:
449
+ string;
388
450
  /**
389
451
  * 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
390
452
  * 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
391
453
  * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
392
454
  */
393
- minBackoff?: string;
455
+ minBackoff?:
456
+ string;
394
457
  }
395
458
  interface RunTaskRequest {
396
459
  /**
@@ -398,40 +461,49 @@ declare namespace gapi.client {
398
461
  * 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
399
462
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
400
463
  */
401
- responseView?: string;
464
+ responseView?:
465
+ string;
402
466
  }
403
467
  interface SetIamPolicyRequest {
404
468
  /**
405
469
  * 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
406
470
  * services (such as Projects) might reject them.
407
471
  */
408
- policy?: Policy;
472
+ policy?:
473
+ Policy;
409
474
  }
410
475
  interface StackdriverLoggingConfig {
411
476
  /**
412
477
  * 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
413
478
  * is the default and means that no operations are logged.
414
479
  */
415
- samplingRatio?: number;
480
+ samplingRatio?:
481
+ number;
416
482
  }
417
483
  interface Status {
418
484
  /** The status code, which should be an enum value of google.rpc.Code. */
419
- code?: number;
485
+ code?:
486
+ number;
420
487
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
421
- details?: Array<{ [P in string]: any }>;
488
+ details?:
489
+ Array<{ [P in string]: any }>;
422
490
  /**
423
491
  * 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
424
492
  * client.
425
493
  */
426
- message?: string;
494
+ message?:
495
+ string;
427
496
  }
428
497
  interface Task {
429
498
  /** HTTP request that is sent to the App Engine app handler. An App Engine task is a task that has AppEngineHttpRequest set. */
430
- appEngineHttpRequest?: AppEngineHttpRequest;
499
+ appEngineHttpRequest?:
500
+ AppEngineHttpRequest;
431
501
  /** Output only. The time that the task was created. `create_time` will be truncated to the nearest second. */
432
- createTime?: string;
502
+ createTime?:
503
+ string;
433
504
  /** Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. */
434
- dispatchCount?: number;
505
+ dispatchCount?:
506
+ number;
435
507
  /**
436
508
  * 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`
437
509
  * 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
@@ -444,13 +516,17 @@ declare namespace gapi.client {
444
516
  * [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an
445
517
  * approximate deadline.
446
518
  */
447
- dispatchDeadline?: string;
519
+ dispatchDeadline?:
520
+ string;
448
521
  /** 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. */
449
- firstAttempt?: Attempt;
522
+ firstAttempt?:
523
+ Attempt;
450
524
  /** HTTP request that is sent to the worker. An HTTP task is a task that has HttpRequest set. */
451
- httpRequest?: HttpRequest;
525
+ httpRequest?:
526
+ HttpRequest;
452
527
  /** Output only. The status of the task's last attempt. */
453
- lastAttempt?: Attempt;
528
+ lastAttempt?:
529
+ Attempt;
454
530
  /**
455
531
  * 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` *
456
532
  * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
@@ -459,141 +535,197 @@ declare namespace gapi.client {
459
535
  * 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
460
536
  * length is 500 characters.
461
537
  */
462
- name?: string;
538
+ name?:
539
+ string;
463
540
  /** Output only. The number of attempts which have received a response. */
464
- responseCount?: number;
541
+ responseCount?:
542
+ number;
465
543
  /** The time when the task is scheduled to be attempted or retried. `schedule_time` will be truncated to the nearest microsecond. */
466
- scheduleTime?: string;
544
+ scheduleTime?:
545
+ string;
467
546
  /** Output only. The view specifies which subset of the Task has been returned. */
468
- view?: string;
547
+ view?:
548
+ string;
469
549
  }
470
550
  interface TestIamPermissionsRequest {
471
551
  /**
472
552
  * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
473
553
  * Overview](https://cloud.google.com/iam/docs/overview#permissions).
474
554
  */
475
- permissions?: string[];
555
+ permissions?:
556
+ string[];
476
557
  }
477
558
  interface TestIamPermissionsResponse {
478
559
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
479
- permissions?: string[];
560
+ permissions?:
561
+ string[];
480
562
  }
481
563
  interface TasksResource {
482
564
  /** 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. */
483
565
  create(request: {
484
566
  /** V1 error format. */
485
- "$.xgafv"?: string;
567
+ "$.xgafv"?:
568
+ string;
486
569
  /** OAuth access token. */
487
- access_token?: string;
570
+ access_token?:
571
+ string;
488
572
  /** Data format for response. */
489
- alt?: string;
573
+ alt?:
574
+ string;
490
575
  /** JSONP */
491
- callback?: string;
576
+ callback?:
577
+ string;
492
578
  /** Selector specifying which fields to include in a partial response. */
493
- fields?: string;
579
+ fields?:
580
+ string;
494
581
  /** 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. */
495
- key?: string;
582
+ key?:
583
+ string;
496
584
  /** OAuth 2.0 token for the current user. */
497
- oauth_token?: string;
585
+ oauth_token?:
586
+ string;
498
587
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
499
- parent: string;
588
+ parent:
589
+ string;
500
590
  /** Returns response with indentations and line breaks. */
501
- prettyPrint?: boolean;
591
+ prettyPrint?:
592
+ boolean;
502
593
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
503
- quotaUser?: string;
594
+ quotaUser?:
595
+ string;
504
596
  /** Upload protocol for media (e.g. "raw", "multipart"). */
505
- upload_protocol?: string;
597
+ upload_protocol?:
598
+ string;
506
599
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
507
- uploadType?: string;
600
+ uploadType?:
601
+ string;
508
602
  /** Request body */
509
- resource: CreateTaskRequest;
603
+ resource:
604
+ CreateTaskRequest;
510
605
  }): Request<Task>;
511
606
  create(request: {
512
607
  /** V1 error format. */
513
- "$.xgafv"?: string;
608
+ "$.xgafv"?:
609
+ string;
514
610
  /** OAuth access token. */
515
- access_token?: string;
611
+ access_token?:
612
+ string;
516
613
  /** Data format for response. */
517
- alt?: string;
614
+ alt?:
615
+ string;
518
616
  /** JSONP */
519
- callback?: string;
617
+ callback?:
618
+ string;
520
619
  /** Selector specifying which fields to include in a partial response. */
521
- fields?: string;
620
+ fields?:
621
+ string;
522
622
  /** 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. */
523
- key?: string;
623
+ key?:
624
+ string;
524
625
  /** OAuth 2.0 token for the current user. */
525
- oauth_token?: string;
626
+ oauth_token?:
627
+ string;
526
628
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
527
- parent: string;
629
+ parent:
630
+ string;
528
631
  /** Returns response with indentations and line breaks. */
529
- prettyPrint?: boolean;
632
+ prettyPrint?:
633
+ boolean;
530
634
  /** 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. */
531
- quotaUser?: string;
635
+ quotaUser?:
636
+ string;
532
637
  /** Upload protocol for media (e.g. "raw", "multipart"). */
533
- upload_protocol?: string;
638
+ upload_protocol?:
639
+ string;
534
640
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
535
- uploadType?: string;
641
+ uploadType?:
642
+ string;
536
643
  },
537
644
  body: CreateTaskRequest): Request<Task>;
538
645
  /** 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. */
539
646
  delete(request?: {
540
647
  /** V1 error format. */
541
- "$.xgafv"?: string;
648
+ "$.xgafv"?:
649
+ string;
542
650
  /** OAuth access token. */
543
- access_token?: string;
651
+ access_token?:
652
+ string;
544
653
  /** Data format for response. */
545
- alt?: string;
654
+ alt?:
655
+ string;
546
656
  /** JSONP */
547
- callback?: string;
657
+ callback?:
658
+ string;
548
659
  /** Selector specifying which fields to include in a partial response. */
549
- fields?: string;
660
+ fields?:
661
+ string;
550
662
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
551
- key?: string;
663
+ key?:
664
+ string;
552
665
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
553
- name: string;
666
+ name:
667
+ string;
554
668
  /** OAuth 2.0 token for the current user. */
555
- oauth_token?: string;
669
+ oauth_token?:
670
+ string;
556
671
  /** Returns response with indentations and line breaks. */
557
- prettyPrint?: boolean;
672
+ prettyPrint?:
673
+ boolean;
558
674
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
559
- quotaUser?: string;
675
+ quotaUser?:
676
+ string;
560
677
  /** Upload protocol for media (e.g. "raw", "multipart"). */
561
- upload_protocol?: string;
678
+ upload_protocol?:
679
+ string;
562
680
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
563
- uploadType?: string;
681
+ uploadType?:
682
+ string;
564
683
  }): Request<{}>;
565
684
  /** Gets a task. */
566
685
  get(request?: {
567
686
  /** V1 error format. */
568
- "$.xgafv"?: string;
687
+ "$.xgafv"?:
688
+ string;
569
689
  /** OAuth access token. */
570
- access_token?: string;
690
+ access_token?:
691
+ string;
571
692
  /** Data format for response. */
572
- alt?: string;
693
+ alt?:
694
+ string;
573
695
  /** JSONP */
574
- callback?: string;
696
+ callback?:
697
+ string;
575
698
  /** Selector specifying which fields to include in a partial response. */
576
- fields?: string;
699
+ fields?:
700
+ string;
577
701
  /** 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. */
578
- key?: string;
702
+ key?:
703
+ string;
579
704
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
580
- name: string;
705
+ name:
706
+ string;
581
707
  /** OAuth 2.0 token for the current user. */
582
- oauth_token?: string;
708
+ oauth_token?:
709
+ string;
583
710
  /** Returns response with indentations and line breaks. */
584
- prettyPrint?: boolean;
711
+ prettyPrint?:
712
+ boolean;
585
713
  /** 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. */
586
- quotaUser?: string;
714
+ quotaUser?:
715
+ string;
587
716
  /**
588
717
  * 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
589
718
  * 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
590
719
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
591
720
  */
592
- responseView?: string;
721
+ responseView?:
722
+ string;
593
723
  /** Upload protocol for media (e.g. "raw", "multipart"). */
594
- upload_protocol?: string;
724
+ upload_protocol?:
725
+ string;
595
726
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
596
- uploadType?: string;
727
+ uploadType?:
728
+ string;
597
729
  }): Request<Task>;
598
730
  /**
599
731
  * 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
@@ -601,45 +733,60 @@ declare namespace gapi.client {
601
733
  */
602
734
  list(request?: {
603
735
  /** V1 error format. */
604
- "$.xgafv"?: string;
736
+ "$.xgafv"?:
737
+ string;
605
738
  /** OAuth access token. */
606
- access_token?: string;
739
+ access_token?:
740
+ string;
607
741
  /** Data format for response. */
608
- alt?: string;
742
+ alt?:
743
+ string;
609
744
  /** JSONP */
610
- callback?: string;
745
+ callback?:
746
+ string;
611
747
  /** Selector specifying which fields to include in a partial response. */
612
- fields?: string;
748
+ fields?:
749
+ string;
613
750
  /** 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. */
614
- key?: string;
751
+ key?:
752
+ string;
615
753
  /** OAuth 2.0 token for the current user. */
616
- oauth_token?: string;
754
+ oauth_token?:
755
+ string;
617
756
  /**
618
757
  * 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
619
758
  * size is 1000. If unspecified, the page size will be the maximum.
620
759
  */
621
- pageSize?: number;
760
+ pageSize?:
761
+ number;
622
762
  /**
623
763
  * 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
624
764
  * of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
625
765
  */
626
- pageToken?: string;
766
+ pageToken?:
767
+ string;
627
768
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
628
- parent: string;
769
+ parent:
770
+ string;
629
771
  /** Returns response with indentations and line breaks. */
630
- prettyPrint?: boolean;
772
+ prettyPrint?:
773
+ boolean;
631
774
  /** 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. */
632
- quotaUser?: string;
775
+ quotaUser?:
776
+ string;
633
777
  /**
634
778
  * 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
635
779
  * 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
636
780
  * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
637
781
  */
638
- responseView?: string;
782
+ responseView?:
783
+ string;
639
784
  /** Upload protocol for media (e.g. "raw", "multipart"). */
640
- upload_protocol?: string;
785
+ upload_protocol?:
786
+ string;
641
787
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
642
- uploadType?: string;
788
+ uploadType?:
789
+ string;
643
790
  }): Request<ListTasksResponse>;
644
791
  /**
645
792
  * 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.
@@ -650,57 +797,82 @@ declare namespace gapi.client {
650
797
  */
651
798
  run(request: {
652
799
  /** V1 error format. */
653
- "$.xgafv"?: string;
800
+ "$.xgafv"?:
801
+ string;
654
802
  /** OAuth access token. */
655
- access_token?: string;
803
+ access_token?:
804
+ string;
656
805
  /** Data format for response. */
657
- alt?: string;
806
+ alt?:
807
+ string;
658
808
  /** JSONP */
659
- callback?: string;
809
+ callback?:
810
+ string;
660
811
  /** Selector specifying which fields to include in a partial response. */
661
- fields?: string;
812
+ fields?:
813
+ string;
662
814
  /** 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. */
663
- key?: string;
815
+ key?:
816
+ string;
664
817
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
665
- name: string;
818
+ name:
819
+ string;
666
820
  /** OAuth 2.0 token for the current user. */
667
- oauth_token?: string;
821
+ oauth_token?:
822
+ string;
668
823
  /** Returns response with indentations and line breaks. */
669
- prettyPrint?: boolean;
824
+ prettyPrint?:
825
+ boolean;
670
826
  /** 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. */
671
- quotaUser?: string;
827
+ quotaUser?:
828
+ string;
672
829
  /** Upload protocol for media (e.g. "raw", "multipart"). */
673
- upload_protocol?: string;
830
+ upload_protocol?:
831
+ string;
674
832
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
675
- uploadType?: string;
833
+ uploadType?:
834
+ string;
676
835
  /** Request body */
677
- resource: RunTaskRequest;
836
+ resource:
837
+ RunTaskRequest;
678
838
  }): Request<Task>;
679
839
  run(request: {
680
840
  /** V1 error format. */
681
- "$.xgafv"?: string;
841
+ "$.xgafv"?:
842
+ string;
682
843
  /** OAuth access token. */
683
- access_token?: string;
844
+ access_token?:
845
+ string;
684
846
  /** Data format for response. */
685
- alt?: string;
847
+ alt?:
848
+ string;
686
849
  /** JSONP */
687
- callback?: string;
850
+ callback?:
851
+ string;
688
852
  /** Selector specifying which fields to include in a partial response. */
689
- fields?: string;
853
+ fields?:
854
+ string;
690
855
  /** 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. */
691
- key?: string;
856
+ key?:
857
+ string;
692
858
  /** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
693
- name: string;
859
+ name:
860
+ string;
694
861
  /** OAuth 2.0 token for the current user. */
695
- oauth_token?: string;
862
+ oauth_token?:
863
+ string;
696
864
  /** Returns response with indentations and line breaks. */
697
- prettyPrint?: boolean;
865
+ prettyPrint?:
866
+ boolean;
698
867
  /** 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. */
699
- quotaUser?: string;
868
+ quotaUser?:
869
+ string;
700
870
  /** Upload protocol for media (e.g. "raw", "multipart"). */
701
- upload_protocol?: string;
871
+ upload_protocol?:
872
+ string;
702
873
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
703
- uploadType?: string;
874
+ uploadType?:
875
+ string;
704
876
  },
705
877
  body: RunTaskRequest): Request<Task>;
706
878
  }
@@ -712,63 +884,88 @@ declare namespace gapi.client {
712
884
  */
713
885
  create(request: {
714
886
  /** V1 error format. */
715
- "$.xgafv"?: string;
887
+ "$.xgafv"?:
888
+ string;
716
889
  /** OAuth access token. */
717
- access_token?: string;
890
+ access_token?:
891
+ string;
718
892
  /** Data format for response. */
719
- alt?: string;
893
+ alt?:
894
+ string;
720
895
  /** JSONP */
721
- callback?: string;
896
+ callback?:
897
+ string;
722
898
  /** Selector specifying which fields to include in a partial response. */
723
- fields?: string;
899
+ fields?:
900
+ string;
724
901
  /** 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. */
725
- key?: string;
902
+ key?:
903
+ string;
726
904
  /** OAuth 2.0 token for the current user. */
727
- oauth_token?: string;
905
+ oauth_token?:
906
+ string;
728
907
  /**
729
908
  * 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
730
909
  * Cloud Tasks' implementation of ListLocations.
731
910
  */
732
- parent: string;
911
+ parent:
912
+ string;
733
913
  /** Returns response with indentations and line breaks. */
734
- prettyPrint?: boolean;
914
+ prettyPrint?:
915
+ boolean;
735
916
  /** 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. */
736
- quotaUser?: string;
917
+ quotaUser?:
918
+ string;
737
919
  /** Upload protocol for media (e.g. "raw", "multipart"). */
738
- upload_protocol?: string;
920
+ upload_protocol?:
921
+ string;
739
922
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
740
- uploadType?: string;
923
+ uploadType?:
924
+ string;
741
925
  /** Request body */
742
- resource: Queue;
926
+ resource:
927
+ Queue;
743
928
  }): Request<Queue>;
744
929
  create(request: {
745
930
  /** V1 error format. */
746
- "$.xgafv"?: string;
931
+ "$.xgafv"?:
932
+ string;
747
933
  /** OAuth access token. */
748
- access_token?: string;
934
+ access_token?:
935
+ string;
749
936
  /** Data format for response. */
750
- alt?: string;
937
+ alt?:
938
+ string;
751
939
  /** JSONP */
752
- callback?: string;
940
+ callback?:
941
+ string;
753
942
  /** Selector specifying which fields to include in a partial response. */
754
- fields?: string;
943
+ fields?:
944
+ string;
755
945
  /** 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. */
756
- key?: string;
946
+ key?:
947
+ string;
757
948
  /** OAuth 2.0 token for the current user. */
758
- oauth_token?: string;
949
+ oauth_token?:
950
+ string;
759
951
  /**
760
952
  * 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
761
953
  * Cloud Tasks' implementation of ListLocations.
762
954
  */
763
- parent: string;
955
+ parent:
956
+ string;
764
957
  /** Returns response with indentations and line breaks. */
765
- prettyPrint?: boolean;
958
+ prettyPrint?:
959
+ boolean;
766
960
  /** 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. */
767
- quotaUser?: string;
961
+ quotaUser?:
962
+ string;
768
963
  /** Upload protocol for media (e.g. "raw", "multipart"). */
769
- upload_protocol?: string;
964
+ upload_protocol?:
965
+ string;
770
966
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
771
- uploadType?: string;
967
+ uploadType?:
968
+ string;
772
969
  },
773
970
  body: Queue): Request<Queue>;
774
971
  /**
@@ -778,56 +975,80 @@ declare namespace gapi.client {
778
975
  */
779
976
  delete(request?: {
780
977
  /** V1 error format. */
781
- "$.xgafv"?: string;
978
+ "$.xgafv"?:
979
+ string;
782
980
  /** OAuth access token. */
783
- access_token?: string;
981
+ access_token?:
982
+ string;
784
983
  /** Data format for response. */
785
- alt?: string;
984
+ alt?:
985
+ string;
786
986
  /** JSONP */
787
- callback?: string;
987
+ callback?:
988
+ string;
788
989
  /** Selector specifying which fields to include in a partial response. */
789
- fields?: string;
990
+ fields?:
991
+ string;
790
992
  /** 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. */
791
- key?: string;
993
+ key?:
994
+ string;
792
995
  /** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
793
- name: string;
996
+ name:
997
+ string;
794
998
  /** OAuth 2.0 token for the current user. */
795
- oauth_token?: string;
999
+ oauth_token?:
1000
+ string;
796
1001
  /** Returns response with indentations and line breaks. */
797
- prettyPrint?: boolean;
1002
+ prettyPrint?:
1003
+ boolean;
798
1004
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
799
- quotaUser?: string;
1005
+ quotaUser?:
1006
+ string;
800
1007
  /** Upload protocol for media (e.g. "raw", "multipart"). */
801
- upload_protocol?: string;
1008
+ upload_protocol?:
1009
+ string;
802
1010
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
803
- uploadType?: string;
1011
+ uploadType?:
1012
+ string;
804
1013
  }): Request<{}>;
805
1014
  /** Gets a queue. */
806
1015
  get(request?: {
807
1016
  /** V1 error format. */
808
- "$.xgafv"?: string;
1017
+ "$.xgafv"?:
1018
+ string;
809
1019
  /** OAuth access token. */
810
- access_token?: string;
1020
+ access_token?:
1021
+ string;
811
1022
  /** Data format for response. */
812
- alt?: string;
1023
+ alt?:
1024
+ string;
813
1025
  /** JSONP */
814
- callback?: string;
1026
+ callback?:
1027
+ string;
815
1028
  /** Selector specifying which fields to include in a partial response. */
816
- fields?: string;
1029
+ fields?:
1030
+ string;
817
1031
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
818
- key?: string;
1032
+ key?:
1033
+ string;
819
1034
  /** Required. The resource name of the queue. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
820
- name: string;
1035
+ name:
1036
+ string;
821
1037
  /** OAuth 2.0 token for the current user. */
822
- oauth_token?: string;
1038
+ oauth_token?:
1039
+ string;
823
1040
  /** Returns response with indentations and line breaks. */
824
- prettyPrint?: boolean;
1041
+ prettyPrint?:
1042
+ boolean;
825
1043
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
826
- quotaUser?: string;
1044
+ quotaUser?:
1045
+ string;
827
1046
  /** Upload protocol for media (e.g. "raw", "multipart"). */
828
- upload_protocol?: string;
1047
+ upload_protocol?:
1048
+ string;
829
1049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
830
- uploadType?: string;
1050
+ uploadType?:
1051
+ string;
831
1052
  }): Request<Queue>;
832
1053
  /**
833
1054
  * 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
@@ -835,76 +1056,103 @@ declare namespace gapi.client {
835
1056
  */
836
1057
  getIamPolicy(request: {
837
1058
  /** V1 error format. */
838
- "$.xgafv"?: string;
1059
+ "$.xgafv"?:
1060
+ string;
839
1061
  /** OAuth access token. */
840
- access_token?: string;
1062
+ access_token?:
1063
+ string;
841
1064
  /** Data format for response. */
842
- alt?: string;
1065
+ alt?:
1066
+ string;
843
1067
  /** JSONP */
844
- callback?: string;
1068
+ callback?:
1069
+ string;
845
1070
  /** Selector specifying which fields to include in a partial response. */
846
- fields?: string;
1071
+ fields?:
1072
+ string;
847
1073
  /** 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. */
848
- key?: string;
1074
+ key?:
1075
+ string;
849
1076
  /** OAuth 2.0 token for the current user. */
850
- oauth_token?: string;
1077
+ oauth_token?:
1078
+ string;
851
1079
  /** Returns response with indentations and line breaks. */
852
- prettyPrint?: boolean;
1080
+ prettyPrint?:
1081
+ boolean;
853
1082
  /** 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. */
854
- quotaUser?: string;
1083
+ quotaUser?:
1084
+ string;
855
1085
  /**
856
1086
  * 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
857
1087
  * field.
858
1088
  */
859
- resource: string;
1089
+ resource:
1090
+ string;
860
1091
  /** Upload protocol for media (e.g. "raw", "multipart"). */
861
- upload_protocol?: string;
1092
+ upload_protocol?:
1093
+ string;
862
1094
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
863
- uploadType?: string;
1095
+ uploadType?:
1096
+ string;
864
1097
  },
865
1098
  body: GetIamPolicyRequest): Request<Policy>;
866
1099
  /** Lists queues. Queues are returned in lexicographical order. */
867
1100
  list(request?: {
868
1101
  /** V1 error format. */
869
- "$.xgafv"?: string;
1102
+ "$.xgafv"?:
1103
+ string;
870
1104
  /** OAuth access token. */
871
- access_token?: string;
1105
+ access_token?:
1106
+ string;
872
1107
  /** Data format for response. */
873
- alt?: string;
1108
+ alt?:
1109
+ string;
874
1110
  /** JSONP */
875
- callback?: string;
1111
+ callback?:
1112
+ string;
876
1113
  /** Selector specifying which fields to include in a partial response. */
877
- fields?: string;
1114
+ fields?:
1115
+ string;
878
1116
  /**
879
1117
  * `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
880
1118
  * 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
881
1119
  * using filters might cause fewer queues than the requested page_size to be returned.
882
1120
  */
883
- filter?: string;
1121
+ filter?:
1122
+ string;
884
1123
  /** 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. */
885
- key?: string;
1124
+ key?:
1125
+ string;
886
1126
  /** OAuth 2.0 token for the current user. */
887
- oauth_token?: string;
1127
+ oauth_token?:
1128
+ string;
888
1129
  /**
889
1130
  * 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;
890
1131
  * use the next_page_token in the response to determine if more queues exist.
891
1132
  */
892
- pageSize?: number;
1133
+ pageSize?:
1134
+ number;
893
1135
  /**
894
1136
  * 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
895
1137
  * 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.
896
1138
  */
897
- pageToken?: string;
1139
+ pageToken?:
1140
+ string;
898
1141
  /** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` */
899
- parent: string;
1142
+ parent:
1143
+ string;
900
1144
  /** Returns response with indentations and line breaks. */
901
- prettyPrint?: boolean;
1145
+ prettyPrint?:
1146
+ boolean;
902
1147
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
903
- quotaUser?: string;
1148
+ quotaUser?:
1149
+ string;
904
1150
  /** Upload protocol for media (e.g. "raw", "multipart"). */
905
- upload_protocol?: string;
1151
+ upload_protocol?:
1152
+ string;
906
1153
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
907
- uploadType?: string;
1154
+ uploadType?:
1155
+ string;
908
1156
  }): Request<ListQueuesResponse>;
909
1157
  /**
910
1158
  * 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
@@ -914,17 +1162,23 @@ declare namespace gapi.client {
914
1162
  */
915
1163
  patch(request: {
916
1164
  /** V1 error format. */
917
- "$.xgafv"?: string;
1165
+ "$.xgafv"?:
1166
+ string;
918
1167
  /** OAuth access token. */
919
- access_token?: string;
1168
+ access_token?:
1169
+ string;
920
1170
  /** Data format for response. */
921
- alt?: string;
1171
+ alt?:
1172
+ string;
922
1173
  /** JSONP */
923
- callback?: string;
1174
+ callback?:
1175
+ string;
924
1176
  /** Selector specifying which fields to include in a partial response. */
925
- fields?: string;
1177
+ fields?:
1178
+ string;
926
1179
  /** 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. */
927
- key?: string;
1180
+ key?:
1181
+ string;
928
1182
  /**
929
1183
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
930
1184
  * `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
@@ -932,35 +1186,49 @@ declare namespace gapi.client {
932
1186
  * 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`
933
1187
  * can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
934
1188
  */
935
- name: string;
1189
+ name:
1190
+ string;
936
1191
  /** OAuth 2.0 token for the current user. */
937
- oauth_token?: string;
1192
+ oauth_token?:
1193
+ string;
938
1194
  /** Returns response with indentations and line breaks. */
939
- prettyPrint?: boolean;
1195
+ prettyPrint?:
1196
+ boolean;
940
1197
  /** 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. */
941
- quotaUser?: string;
1198
+ quotaUser?:
1199
+ string;
942
1200
  /** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
943
- updateMask?: string;
1201
+ updateMask?:
1202
+ string;
944
1203
  /** Upload protocol for media (e.g. "raw", "multipart"). */
945
- upload_protocol?: string;
1204
+ upload_protocol?:
1205
+ string;
946
1206
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
947
- uploadType?: string;
1207
+ uploadType?:
1208
+ string;
948
1209
  /** Request body */
949
- resource: Queue;
1210
+ resource:
1211
+ Queue;
950
1212
  }): Request<Queue>;
951
1213
  patch(request: {
952
1214
  /** V1 error format. */
953
- "$.xgafv"?: string;
1215
+ "$.xgafv"?:
1216
+ string;
954
1217
  /** OAuth access token. */
955
- access_token?: string;
1218
+ access_token?:
1219
+ string;
956
1220
  /** Data format for response. */
957
- alt?: string;
1221
+ alt?:
1222
+ string;
958
1223
  /** JSONP */
959
- callback?: string;
1224
+ callback?:
1225
+ string;
960
1226
  /** Selector specifying which fields to include in a partial response. */
961
- fields?: string;
1227
+ fields?:
1228
+ string;
962
1229
  /** 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. */
963
- key?: string;
1230
+ key?:
1231
+ string;
964
1232
  /**
965
1233
  * Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
966
1234
  * `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
@@ -968,19 +1236,26 @@ declare namespace gapi.client {
968
1236
  * 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`
969
1237
  * can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
970
1238
  */
971
- name: string;
1239
+ name:
1240
+ string;
972
1241
  /** OAuth 2.0 token for the current user. */
973
- oauth_token?: string;
1242
+ oauth_token?:
1243
+ string;
974
1244
  /** Returns response with indentations and line breaks. */
975
- prettyPrint?: boolean;
1245
+ prettyPrint?:
1246
+ boolean;
976
1247
  /** 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. */
977
- quotaUser?: string;
1248
+ quotaUser?:
1249
+ string;
978
1250
  /** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
979
- updateMask?: string;
1251
+ updateMask?:
1252
+ string;
980
1253
  /** Upload protocol for media (e.g. "raw", "multipart"). */
981
- upload_protocol?: string;
1254
+ upload_protocol?:
1255
+ string;
982
1256
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
983
- uploadType?: string;
1257
+ uploadType?:
1258
+ string;
984
1259
  },
985
1260
  body: Queue): Request<Queue>;
986
1261
  /**
@@ -989,57 +1264,82 @@ declare namespace gapi.client {
989
1264
  */
990
1265
  pause(request: {
991
1266
  /** V1 error format. */
992
- "$.xgafv"?: string;
1267
+ "$.xgafv"?:
1268
+ string;
993
1269
  /** OAuth access token. */
994
- access_token?: string;
1270
+ access_token?:
1271
+ string;
995
1272
  /** Data format for response. */
996
- alt?: string;
1273
+ alt?:
1274
+ string;
997
1275
  /** JSONP */
998
- callback?: string;
1276
+ callback?:
1277
+ string;
999
1278
  /** Selector specifying which fields to include in a partial response. */
1000
- fields?: string;
1279
+ fields?:
1280
+ string;
1001
1281
  /** 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;
1282
+ key?:
1283
+ string;
1003
1284
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1004
- name: string;
1285
+ name:
1286
+ string;
1005
1287
  /** OAuth 2.0 token for the current user. */
1006
- oauth_token?: string;
1288
+ oauth_token?:
1289
+ string;
1007
1290
  /** Returns response with indentations and line breaks. */
1008
- prettyPrint?: boolean;
1291
+ prettyPrint?:
1292
+ boolean;
1009
1293
  /** 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;
1294
+ quotaUser?:
1295
+ string;
1011
1296
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1012
- upload_protocol?: string;
1297
+ upload_protocol?:
1298
+ string;
1013
1299
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1014
- uploadType?: string;
1300
+ uploadType?:
1301
+ string;
1015
1302
  /** Request body */
1016
- resource: PauseQueueRequest;
1303
+ resource:
1304
+ PauseQueueRequest;
1017
1305
  }): Request<Queue>;
1018
1306
  pause(request: {
1019
1307
  /** V1 error format. */
1020
- "$.xgafv"?: string;
1308
+ "$.xgafv"?:
1309
+ string;
1021
1310
  /** OAuth access token. */
1022
- access_token?: string;
1311
+ access_token?:
1312
+ string;
1023
1313
  /** Data format for response. */
1024
- alt?: string;
1314
+ alt?:
1315
+ string;
1025
1316
  /** JSONP */
1026
- callback?: string;
1317
+ callback?:
1318
+ string;
1027
1319
  /** Selector specifying which fields to include in a partial response. */
1028
- fields?: string;
1320
+ fields?:
1321
+ string;
1029
1322
  /** 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. */
1030
- key?: string;
1323
+ key?:
1324
+ string;
1031
1325
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1032
- name: string;
1326
+ name:
1327
+ string;
1033
1328
  /** OAuth 2.0 token for the current user. */
1034
- oauth_token?: string;
1329
+ oauth_token?:
1330
+ string;
1035
1331
  /** Returns response with indentations and line breaks. */
1036
- prettyPrint?: boolean;
1332
+ prettyPrint?:
1333
+ boolean;
1037
1334
  /** 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. */
1038
- quotaUser?: string;
1335
+ quotaUser?:
1336
+ string;
1039
1337
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1040
- upload_protocol?: string;
1338
+ upload_protocol?:
1339
+ string;
1041
1340
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1042
- uploadType?: string;
1341
+ uploadType?:
1342
+ string;
1043
1343
  },
1044
1344
  body: PauseQueueRequest): Request<Queue>;
1045
1345
  /**
@@ -1048,57 +1348,82 @@ declare namespace gapi.client {
1048
1348
  */
1049
1349
  purge(request: {
1050
1350
  /** V1 error format. */
1051
- "$.xgafv"?: string;
1351
+ "$.xgafv"?:
1352
+ string;
1052
1353
  /** OAuth access token. */
1053
- access_token?: string;
1354
+ access_token?:
1355
+ string;
1054
1356
  /** Data format for response. */
1055
- alt?: string;
1357
+ alt?:
1358
+ string;
1056
1359
  /** JSONP */
1057
- callback?: string;
1360
+ callback?:
1361
+ string;
1058
1362
  /** Selector specifying which fields to include in a partial response. */
1059
- fields?: string;
1363
+ fields?:
1364
+ string;
1060
1365
  /** 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. */
1061
- key?: string;
1366
+ key?:
1367
+ string;
1062
1368
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1063
- name: string;
1369
+ name:
1370
+ string;
1064
1371
  /** OAuth 2.0 token for the current user. */
1065
- oauth_token?: string;
1372
+ oauth_token?:
1373
+ string;
1066
1374
  /** Returns response with indentations and line breaks. */
1067
- prettyPrint?: boolean;
1375
+ prettyPrint?:
1376
+ boolean;
1068
1377
  /** 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. */
1069
- quotaUser?: string;
1378
+ quotaUser?:
1379
+ string;
1070
1380
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1071
- upload_protocol?: string;
1381
+ upload_protocol?:
1382
+ string;
1072
1383
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1073
- uploadType?: string;
1384
+ uploadType?:
1385
+ string;
1074
1386
  /** Request body */
1075
- resource: PurgeQueueRequest;
1387
+ resource:
1388
+ PurgeQueueRequest;
1076
1389
  }): Request<Queue>;
1077
1390
  purge(request: {
1078
1391
  /** V1 error format. */
1079
- "$.xgafv"?: string;
1392
+ "$.xgafv"?:
1393
+ string;
1080
1394
  /** OAuth access token. */
1081
- access_token?: string;
1395
+ access_token?:
1396
+ string;
1082
1397
  /** Data format for response. */
1083
- alt?: string;
1398
+ alt?:
1399
+ string;
1084
1400
  /** JSONP */
1085
- callback?: string;
1401
+ callback?:
1402
+ string;
1086
1403
  /** Selector specifying which fields to include in a partial response. */
1087
- fields?: string;
1404
+ fields?:
1405
+ string;
1088
1406
  /** 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. */
1089
- key?: string;
1407
+ key?:
1408
+ string;
1090
1409
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1091
- name: string;
1410
+ name:
1411
+ string;
1092
1412
  /** OAuth 2.0 token for the current user. */
1093
- oauth_token?: string;
1413
+ oauth_token?:
1414
+ string;
1094
1415
  /** Returns response with indentations and line breaks. */
1095
- prettyPrint?: boolean;
1416
+ prettyPrint?:
1417
+ boolean;
1096
1418
  /** 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. */
1097
- quotaUser?: string;
1419
+ quotaUser?:
1420
+ string;
1098
1421
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1099
- upload_protocol?: string;
1422
+ upload_protocol?:
1423
+ string;
1100
1424
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1101
- uploadType?: string;
1425
+ uploadType?:
1426
+ string;
1102
1427
  },
1103
1428
  body: PurgeQueueRequest): Request<Queue>;
1104
1429
  /**
@@ -1108,57 +1433,82 @@ declare namespace gapi.client {
1108
1433
  */
1109
1434
  resume(request: {
1110
1435
  /** V1 error format. */
1111
- "$.xgafv"?: string;
1436
+ "$.xgafv"?:
1437
+ string;
1112
1438
  /** OAuth access token. */
1113
- access_token?: string;
1439
+ access_token?:
1440
+ string;
1114
1441
  /** Data format for response. */
1115
- alt?: string;
1442
+ alt?:
1443
+ string;
1116
1444
  /** JSONP */
1117
- callback?: string;
1445
+ callback?:
1446
+ string;
1118
1447
  /** Selector specifying which fields to include in a partial response. */
1119
- fields?: string;
1448
+ fields?:
1449
+ string;
1120
1450
  /** 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. */
1121
- key?: string;
1451
+ key?:
1452
+ string;
1122
1453
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1123
- name: string;
1454
+ name:
1455
+ string;
1124
1456
  /** OAuth 2.0 token for the current user. */
1125
- oauth_token?: string;
1457
+ oauth_token?:
1458
+ string;
1126
1459
  /** Returns response with indentations and line breaks. */
1127
- prettyPrint?: boolean;
1460
+ prettyPrint?:
1461
+ boolean;
1128
1462
  /** 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. */
1129
- quotaUser?: string;
1463
+ quotaUser?:
1464
+ string;
1130
1465
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1131
- upload_protocol?: string;
1466
+ upload_protocol?:
1467
+ string;
1132
1468
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1133
- uploadType?: string;
1469
+ uploadType?:
1470
+ string;
1134
1471
  /** Request body */
1135
- resource: ResumeQueueRequest;
1472
+ resource:
1473
+ ResumeQueueRequest;
1136
1474
  }): Request<Queue>;
1137
1475
  resume(request: {
1138
1476
  /** V1 error format. */
1139
- "$.xgafv"?: string;
1477
+ "$.xgafv"?:
1478
+ string;
1140
1479
  /** OAuth access token. */
1141
- access_token?: string;
1480
+ access_token?:
1481
+ string;
1142
1482
  /** Data format for response. */
1143
- alt?: string;
1483
+ alt?:
1484
+ string;
1144
1485
  /** JSONP */
1145
- callback?: string;
1486
+ callback?:
1487
+ string;
1146
1488
  /** Selector specifying which fields to include in a partial response. */
1147
- fields?: string;
1489
+ fields?:
1490
+ string;
1148
1491
  /** 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. */
1149
- key?: string;
1492
+ key?:
1493
+ string;
1150
1494
  /** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
1151
- name: string;
1495
+ name:
1496
+ string;
1152
1497
  /** OAuth 2.0 token for the current user. */
1153
- oauth_token?: string;
1498
+ oauth_token?:
1499
+ string;
1154
1500
  /** Returns response with indentations and line breaks. */
1155
- prettyPrint?: boolean;
1501
+ prettyPrint?:
1502
+ boolean;
1156
1503
  /** 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. */
1157
- quotaUser?: string;
1504
+ quotaUser?:
1505
+ string;
1158
1506
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1159
- upload_protocol?: string;
1507
+ upload_protocol?:
1508
+ string;
1160
1509
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1161
- uploadType?: string;
1510
+ uploadType?:
1511
+ string;
1162
1512
  },
1163
1513
  body: ResumeQueueRequest): Request<Queue>;
1164
1514
  /**
@@ -1168,32 +1518,44 @@ declare namespace gapi.client {
1168
1518
  */
1169
1519
  setIamPolicy(request: {
1170
1520
  /** V1 error format. */
1171
- "$.xgafv"?: string;
1521
+ "$.xgafv"?:
1522
+ string;
1172
1523
  /** OAuth access token. */
1173
- access_token?: string;
1524
+ access_token?:
1525
+ string;
1174
1526
  /** Data format for response. */
1175
- alt?: string;
1527
+ alt?:
1528
+ string;
1176
1529
  /** JSONP */
1177
- callback?: string;
1530
+ callback?:
1531
+ string;
1178
1532
  /** Selector specifying which fields to include in a partial response. */
1179
- fields?: string;
1533
+ fields?:
1534
+ string;
1180
1535
  /** 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. */
1181
- key?: string;
1536
+ key?:
1537
+ string;
1182
1538
  /** OAuth 2.0 token for the current user. */
1183
- oauth_token?: string;
1539
+ oauth_token?:
1540
+ string;
1184
1541
  /** Returns response with indentations and line breaks. */
1185
- prettyPrint?: boolean;
1542
+ prettyPrint?:
1543
+ boolean;
1186
1544
  /** 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. */
1187
- quotaUser?: string;
1545
+ quotaUser?:
1546
+ string;
1188
1547
  /**
1189
1548
  * 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
1190
1549
  * field.
1191
1550
  */
1192
- resource: string;
1551
+ resource:
1552
+ string;
1193
1553
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1194
- upload_protocol?: string;
1554
+ upload_protocol?:
1555
+ string;
1195
1556
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1196
- uploadType?: string;
1557
+ uploadType?:
1558
+ string;
1197
1559
  },
1198
1560
  body: SetIamPolicyRequest): Request<Policy>;
1199
1561
  /**
@@ -1202,104 +1564,146 @@ declare namespace gapi.client {
1202
1564
  */
1203
1565
  testIamPermissions(request: {
1204
1566
  /** V1 error format. */
1205
- "$.xgafv"?: string;
1567
+ "$.xgafv"?:
1568
+ string;
1206
1569
  /** OAuth access token. */
1207
- access_token?: string;
1570
+ access_token?:
1571
+ string;
1208
1572
  /** Data format for response. */
1209
- alt?: string;
1573
+ alt?:
1574
+ string;
1210
1575
  /** JSONP */
1211
- callback?: string;
1576
+ callback?:
1577
+ string;
1212
1578
  /** Selector specifying which fields to include in a partial response. */
1213
- fields?: string;
1579
+ fields?:
1580
+ string;
1214
1581
  /** 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. */
1215
- key?: string;
1582
+ key?:
1583
+ string;
1216
1584
  /** OAuth 2.0 token for the current user. */
1217
- oauth_token?: string;
1585
+ oauth_token?:
1586
+ string;
1218
1587
  /** Returns response with indentations and line breaks. */
1219
- prettyPrint?: boolean;
1588
+ prettyPrint?:
1589
+ boolean;
1220
1590
  /** 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. */
1221
- quotaUser?: string;
1591
+ quotaUser?:
1592
+ string;
1222
1593
  /**
1223
1594
  * 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
1224
1595
  * this field.
1225
1596
  */
1226
- resource: string;
1597
+ resource:
1598
+ string;
1227
1599
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1228
- upload_protocol?: string;
1600
+ upload_protocol?:
1601
+ string;
1229
1602
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1230
- uploadType?: string;
1603
+ uploadType?:
1604
+ string;
1231
1605
  },
1232
1606
  body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
1233
- tasks: TasksResource;
1607
+ tasks:
1608
+ TasksResource;
1234
1609
  }
1235
1610
  interface LocationsResource {
1236
1611
  /** Gets information about a location. */
1237
1612
  get(request?: {
1238
1613
  /** V1 error format. */
1239
- "$.xgafv"?: string;
1614
+ "$.xgafv"?:
1615
+ string;
1240
1616
  /** OAuth access token. */
1241
- access_token?: string;
1617
+ access_token?:
1618
+ string;
1242
1619
  /** Data format for response. */
1243
- alt?: string;
1620
+ alt?:
1621
+ string;
1244
1622
  /** JSONP */
1245
- callback?: string;
1623
+ callback?:
1624
+ string;
1246
1625
  /** Selector specifying which fields to include in a partial response. */
1247
- fields?: string;
1626
+ fields?:
1627
+ string;
1248
1628
  /** 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. */
1249
- key?: string;
1629
+ key?:
1630
+ string;
1250
1631
  /** Resource name for the location. */
1251
- name: string;
1632
+ name:
1633
+ string;
1252
1634
  /** OAuth 2.0 token for the current user. */
1253
- oauth_token?: string;
1635
+ oauth_token?:
1636
+ string;
1254
1637
  /** Returns response with indentations and line breaks. */
1255
- prettyPrint?: boolean;
1638
+ prettyPrint?:
1639
+ boolean;
1256
1640
  /** 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. */
1257
- quotaUser?: string;
1641
+ quotaUser?:
1642
+ string;
1258
1643
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1259
- upload_protocol?: string;
1644
+ upload_protocol?:
1645
+ string;
1260
1646
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1261
- uploadType?: string;
1647
+ uploadType?:
1648
+ string;
1262
1649
  }): Request<Location>;
1263
1650
  /** Lists information about the supported locations for this service. */
1264
1651
  list(request?: {
1265
1652
  /** V1 error format. */
1266
- "$.xgafv"?: string;
1653
+ "$.xgafv"?:
1654
+ string;
1267
1655
  /** OAuth access token. */
1268
- access_token?: string;
1656
+ access_token?:
1657
+ string;
1269
1658
  /** Data format for response. */
1270
- alt?: string;
1659
+ alt?:
1660
+ string;
1271
1661
  /** JSONP */
1272
- callback?: string;
1662
+ callback?:
1663
+ string;
1273
1664
  /** Selector specifying which fields to include in a partial response. */
1274
- fields?: string;
1665
+ fields?:
1666
+ string;
1275
1667
  /**
1276
1668
  * 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
1277
1669
  * [AIP-160](https://google.aip.dev/160).
1278
1670
  */
1279
- filter?: string;
1671
+ filter?:
1672
+ string;
1280
1673
  /** 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. */
1281
- key?: string;
1674
+ key?:
1675
+ string;
1282
1676
  /** The resource that owns the locations collection, if applicable. */
1283
- name: string;
1677
+ name:
1678
+ string;
1284
1679
  /** OAuth 2.0 token for the current user. */
1285
- oauth_token?: string;
1680
+ oauth_token?:
1681
+ string;
1286
1682
  /** The maximum number of results to return. If not set, the service selects a default. */
1287
- pageSize?: number;
1683
+ pageSize?:
1684
+ number;
1288
1685
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
1289
- pageToken?: string;
1686
+ pageToken?:
1687
+ string;
1290
1688
  /** Returns response with indentations and line breaks. */
1291
- prettyPrint?: boolean;
1689
+ prettyPrint?:
1690
+ boolean;
1292
1691
  /** 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. */
1293
- quotaUser?: string;
1692
+ quotaUser?:
1693
+ string;
1294
1694
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1295
- upload_protocol?: string;
1695
+ upload_protocol?:
1696
+ string;
1296
1697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1297
- uploadType?: string;
1698
+ uploadType?:
1699
+ string;
1298
1700
  }): Request<ListLocationsResponse>;
1299
- queues: QueuesResource;
1701
+ queues:
1702
+ QueuesResource;
1300
1703
  }
1301
1704
  interface ProjectsResource {
1302
- locations: LocationsResource;
1705
+ locations:
1706
+ LocationsResource;
1303
1707
  }
1304
1708
 
1305
1709
  const projects: ProjectsResource;