@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20230417 → 0.0.20230505
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.
- package/index.d.ts +1209 -605
- package/package.json +1 -1
- 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=v2beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230505
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -27,14 +27,16 @@ declare namespace gapi.client {
|
|
|
27
27
|
* Required. The task's current schedule time, available in the schedule_time returned by LeaseTasks response or RenewLease response. This restriction is to ensure that your worker
|
|
28
28
|
* currently holds the lease.
|
|
29
29
|
*/
|
|
30
|
-
scheduleTime?:
|
|
30
|
+
scheduleTime?:
|
|
31
|
+
string;
|
|
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?:
|
|
38
|
+
appEngineRouting?:
|
|
39
|
+
AppEngineRouting;
|
|
38
40
|
/**
|
|
39
41
|
* 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
|
|
40
42
|
* 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
|
|
@@ -47,31 +49,36 @@ declare namespace gapi.client {
|
|
|
47
49
|
* are not visible 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
|
|
48
50
|
* maximum size of the Task. For more information, see the CreateTask documentation.
|
|
49
51
|
*/
|
|
50
|
-
headers?:
|
|
52
|
+
headers?:
|
|
53
|
+
{ [P in string]: string };
|
|
51
54
|
/**
|
|
52
55
|
* 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,
|
|
53
56
|
* otherwise the task attempt fails with error code 405 (Method Not Allowed). See [Writing a push task request
|
|
54
57
|
* 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
|
|
55
58
|
* Requests are Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
|
|
56
59
|
*/
|
|
57
|
-
httpMethod?:
|
|
60
|
+
httpMethod?:
|
|
61
|
+
string;
|
|
58
62
|
/**
|
|
59
63
|
* Payload. The payload will be sent as the HTTP message body. A message body, and thus a payload, is allowed only if the HTTP method is POST or PUT. It is an error to set a data
|
|
60
64
|
* payload on a task with an incompatible HttpMethod.
|
|
61
65
|
*/
|
|
62
|
-
payload?:
|
|
66
|
+
payload?:
|
|
67
|
+
string;
|
|
63
68
|
/**
|
|
64
69
|
* The relative URL. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path and query string arguments. If the relative URL is empty, then
|
|
65
70
|
* the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters.
|
|
66
71
|
*/
|
|
67
|
-
relativeUrl?:
|
|
72
|
+
relativeUrl?:
|
|
73
|
+
string;
|
|
68
74
|
}
|
|
69
75
|
interface AppEngineHttpTarget {
|
|
70
76
|
/**
|
|
71
77
|
* 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
|
|
72
78
|
* app_engine_routing.
|
|
73
79
|
*/
|
|
74
|
-
appEngineRoutingOverride?:
|
|
80
|
+
appEngineRoutingOverride?:
|
|
81
|
+
AppEngineRouting;
|
|
75
82
|
}
|
|
76
83
|
interface AppEngineRouting {
|
|
77
84
|
/**
|
|
@@ -86,36 +93,44 @@ declare namespace gapi.client {
|
|
|
86
93
|
* task is attempted. If instance is empty, then the task will be sent to an instance which is available when the task is attempted. If service, version, or instance is invalid, then
|
|
87
94
|
* the task will be sent to the default version of the default service when the task is attempted.
|
|
88
95
|
*/
|
|
89
|
-
host?:
|
|
96
|
+
host?:
|
|
97
|
+
string;
|
|
90
98
|
/**
|
|
91
99
|
* 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
|
|
92
100
|
* 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
|
|
93
101
|
* 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
|
|
94
102
|
* request routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
|
|
95
103
|
*/
|
|
96
|
-
instance?:
|
|
104
|
+
instance?:
|
|
105
|
+
string;
|
|
97
106
|
/**
|
|
98
107
|
* 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
|
|
99
108
|
* 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
|
|
100
109
|
* domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
|
|
101
110
|
*/
|
|
102
|
-
service?:
|
|
111
|
+
service?:
|
|
112
|
+
string;
|
|
103
113
|
/**
|
|
104
114
|
* 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
|
|
105
115
|
* 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
|
|
106
116
|
* domains are not parsed by Cloud Tasks. If host is not parsable, then service, version, and instance are the empty string.
|
|
107
117
|
*/
|
|
108
|
-
version?:
|
|
118
|
+
version?:
|
|
119
|
+
string;
|
|
109
120
|
}
|
|
110
121
|
interface AttemptStatus {
|
|
111
122
|
/** Output only. The time that this attempt was dispatched. `dispatch_time` will be truncated to the nearest microsecond. */
|
|
112
|
-
dispatchTime?:
|
|
123
|
+
dispatchTime?:
|
|
124
|
+
string;
|
|
113
125
|
/** Output only. The response from the target for this attempt. If the task has not been attempted or the task is currently running then the response status is unset. */
|
|
114
|
-
responseStatus?:
|
|
126
|
+
responseStatus?:
|
|
127
|
+
Status;
|
|
115
128
|
/** Output only. The time that this attempt response was received. `response_time` will be truncated to the nearest microsecond. */
|
|
116
|
-
responseTime?:
|
|
129
|
+
responseTime?:
|
|
130
|
+
string;
|
|
117
131
|
/** Output only. The time that this attempt was scheduled. `schedule_time` will be truncated to the nearest microsecond. */
|
|
118
|
-
scheduleTime?:
|
|
132
|
+
scheduleTime?:
|
|
133
|
+
string;
|
|
119
134
|
}
|
|
120
135
|
interface Binding {
|
|
121
136
|
/**
|
|
@@ -123,7 +138,8 @@ declare namespace gapi.client {
|
|
|
123
138
|
* 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
|
|
124
139
|
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
125
140
|
*/
|
|
126
|
-
condition?:
|
|
141
|
+
condition?:
|
|
142
|
+
Expr;
|
|
127
143
|
/**
|
|
128
144
|
* 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
|
|
129
145
|
* 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
|
|
@@ -140,17 +156,21 @@ declare namespace gapi.client {
|
|
|
140
156
|
* 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
|
|
141
157
|
* retains the role in the binding.
|
|
142
158
|
*/
|
|
143
|
-
members?:
|
|
159
|
+
members?:
|
|
160
|
+
string[];
|
|
144
161
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
145
|
-
role?:
|
|
162
|
+
role?:
|
|
163
|
+
string;
|
|
146
164
|
}
|
|
147
165
|
interface BufferTaskRequest {
|
|
148
166
|
/** Optional. Body of the HTTP request. The body can take any generic value. The value is written to the HttpRequest of the [Task]. */
|
|
149
|
-
body?:
|
|
167
|
+
body?:
|
|
168
|
+
HttpBody;
|
|
150
169
|
}
|
|
151
170
|
interface BufferTaskResponse {
|
|
152
171
|
/** The created task. */
|
|
153
|
-
task?:
|
|
172
|
+
task?:
|
|
173
|
+
Task;
|
|
154
174
|
}
|
|
155
175
|
interface CancelLeaseRequest {
|
|
156
176
|
/**
|
|
@@ -158,12 +178,14 @@ declare namespace gapi.client {
|
|
|
158
178
|
* 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
|
|
159
179
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
160
180
|
*/
|
|
161
|
-
responseView?:
|
|
181
|
+
responseView?:
|
|
182
|
+
string;
|
|
162
183
|
/**
|
|
163
184
|
* Required. The task's current schedule time, available in the schedule_time returned by LeaseTasks response or RenewLease response. This restriction is to ensure that your worker
|
|
164
185
|
* currently holds the lease.
|
|
165
186
|
*/
|
|
166
|
-
scheduleTime?:
|
|
187
|
+
scheduleTime?:
|
|
188
|
+
string;
|
|
167
189
|
}
|
|
168
190
|
interface CreateTaskRequest {
|
|
169
191
|
/**
|
|
@@ -171,7 +193,8 @@ declare namespace gapi.client {
|
|
|
171
193
|
* 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
|
|
172
194
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
173
195
|
*/
|
|
174
|
-
responseView?:
|
|
196
|
+
responseView?:
|
|
197
|
+
string;
|
|
175
198
|
/**
|
|
176
199
|
* 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
|
|
177
200
|
* 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
|
|
@@ -183,24 +206,30 @@ declare namespace gapi.client {
|
|
|
183
206
|
* 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
|
|
184
207
|
* distribution of task ids to store and serve tasks efficiently.
|
|
185
208
|
*/
|
|
186
|
-
task?:
|
|
209
|
+
task?:
|
|
210
|
+
Task;
|
|
187
211
|
}
|
|
188
212
|
// tslint:disable-next-line:no-empty-interface
|
|
189
213
|
interface Empty {
|
|
190
214
|
}
|
|
191
215
|
interface Expr {
|
|
192
216
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
193
|
-
description?:
|
|
217
|
+
description?:
|
|
218
|
+
string;
|
|
194
219
|
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
195
|
-
expression?:
|
|
220
|
+
expression?:
|
|
221
|
+
string;
|
|
196
222
|
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
197
|
-
location?:
|
|
223
|
+
location?:
|
|
224
|
+
string;
|
|
198
225
|
/** 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. */
|
|
199
|
-
title?:
|
|
226
|
+
title?:
|
|
227
|
+
string;
|
|
200
228
|
}
|
|
201
229
|
interface GetIamPolicyRequest {
|
|
202
230
|
/** OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. */
|
|
203
|
-
options?:
|
|
231
|
+
options?:
|
|
232
|
+
GetPolicyOptions;
|
|
204
233
|
}
|
|
205
234
|
interface GetPolicyOptions {
|
|
206
235
|
/**
|
|
@@ -210,29 +239,37 @@ declare namespace gapi.client {
|
|
|
210
239
|
* bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
211
240
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
212
241
|
*/
|
|
213
|
-
requestedPolicyVersion?:
|
|
242
|
+
requestedPolicyVersion?:
|
|
243
|
+
number;
|
|
214
244
|
}
|
|
215
245
|
interface Header {
|
|
216
246
|
/** The key of the header. */
|
|
217
|
-
key?:
|
|
247
|
+
key?:
|
|
248
|
+
string;
|
|
218
249
|
/** The value of the header. */
|
|
219
|
-
value?:
|
|
250
|
+
value?:
|
|
251
|
+
string;
|
|
220
252
|
}
|
|
221
253
|
interface HeaderOverride {
|
|
222
254
|
/** header embodying a key and a value. */
|
|
223
|
-
header?:
|
|
255
|
+
header?:
|
|
256
|
+
Header;
|
|
224
257
|
}
|
|
225
258
|
interface HttpBody {
|
|
226
259
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
227
|
-
contentType?:
|
|
260
|
+
contentType?:
|
|
261
|
+
string;
|
|
228
262
|
/** The HTTP request/response body as raw binary. */
|
|
229
|
-
data?:
|
|
263
|
+
data?:
|
|
264
|
+
string;
|
|
230
265
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
231
|
-
extensions?:
|
|
266
|
+
extensions?:
|
|
267
|
+
Array<{ [P in string]: any }>;
|
|
232
268
|
}
|
|
233
269
|
interface HttpRequest {
|
|
234
270
|
/** 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. */
|
|
235
|
-
body?:
|
|
271
|
+
body?:
|
|
272
|
+
string;
|
|
236
273
|
/**
|
|
237
274
|
* HTTP request headers. This map contains the header field names and values. Headers can be set when running the task is created or task is created. These headers represent a subset
|
|
238
275
|
* of the headers that will 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: *
|
|
@@ -242,25 +279,30 @@ declare namespace gapi.client {
|
|
|
242
279
|
* 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
|
|
243
280
|
* specified using comma-separated values. The size of the headers must be less than 80KB.
|
|
244
281
|
*/
|
|
245
|
-
headers?:
|
|
282
|
+
headers?:
|
|
283
|
+
{ [P in string]: string };
|
|
246
284
|
/** The HTTP method to use for the request. The default is POST. */
|
|
247
|
-
httpMethod?:
|
|
285
|
+
httpMethod?:
|
|
286
|
+
string;
|
|
248
287
|
/**
|
|
249
288
|
* 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
|
|
250
289
|
* authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
|
|
251
290
|
*/
|
|
252
|
-
oauthToken?:
|
|
291
|
+
oauthToken?:
|
|
292
|
+
OAuthToken;
|
|
253
293
|
/**
|
|
254
294
|
* 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
|
|
255
295
|
* type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
|
|
256
296
|
*/
|
|
257
|
-
oidcToken?:
|
|
297
|
+
oidcToken?:
|
|
298
|
+
OidcToken;
|
|
258
299
|
/**
|
|
259
300
|
* 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
|
|
260
301
|
* `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`
|
|
261
302
|
* header response from a redirect response [`300` - `399`] may be followed. The redirect is not counted as a separate attempt.
|
|
262
303
|
*/
|
|
263
|
-
url?:
|
|
304
|
+
url?:
|
|
305
|
+
string;
|
|
264
306
|
}
|
|
265
307
|
interface HttpTarget {
|
|
266
308
|
/**
|
|
@@ -272,24 +314,29 @@ declare namespace gapi.client {
|
|
|
272
314
|
* 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
|
|
273
315
|
* specified using comma-separated values. The size of the headers must be less than 80KB. Queue-level headers to override headers of all the tasks in the queue.
|
|
274
316
|
*/
|
|
275
|
-
headerOverrides?:
|
|
317
|
+
headerOverrides?:
|
|
318
|
+
HeaderOverride[];
|
|
276
319
|
/**
|
|
277
320
|
* 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
|
|
278
321
|
* ignored at execution time.
|
|
279
322
|
*/
|
|
280
|
-
httpMethod?:
|
|
323
|
+
httpMethod?:
|
|
324
|
+
string;
|
|
281
325
|
/**
|
|
282
326
|
* 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
|
|
283
327
|
* authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
|
|
284
328
|
*/
|
|
285
|
-
oauthToken?:
|
|
329
|
+
oauthToken?:
|
|
330
|
+
OAuthToken;
|
|
286
331
|
/**
|
|
287
332
|
* 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
|
|
288
333
|
* type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
|
|
289
334
|
*/
|
|
290
|
-
oidcToken?:
|
|
335
|
+
oidcToken?:
|
|
336
|
+
OidcToken;
|
|
291
337
|
/** Uri override. When specified, overrides the execution Uri for all the tasks in the queue. */
|
|
292
|
-
uriOverride?:
|
|
338
|
+
uriOverride?:
|
|
339
|
+
UriOverride;
|
|
293
340
|
}
|
|
294
341
|
interface LeaseTasksRequest {
|
|
295
342
|
/**
|
|
@@ -300,87 +347,108 @@ declare namespace gapi.client {
|
|
|
300
347
|
* [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
|
|
301
348
|
* Tasks. Tag which aren't UTF-8 encoded can't be used in the filter and the task's tag will be displayed as empty in Cloud Tasks.
|
|
302
349
|
*/
|
|
303
|
-
filter?:
|
|
350
|
+
filter?:
|
|
351
|
+
string;
|
|
304
352
|
/**
|
|
305
353
|
* Required. The duration of the lease. Each task returned in the response will have its schedule_time set to the current time plus the `lease_duration`. The task is leased until its
|
|
306
354
|
* schedule_time; thus, the task will not be returned to another LeaseTasks call before its schedule_time. After the worker has successfully finished the work associated with the task,
|
|
307
355
|
* the worker must call via AcknowledgeTask before the schedule_time. Otherwise the task will be returned to a later LeaseTasks call so that another worker can retry it. The maximum
|
|
308
356
|
* lease duration is 1 week. `lease_duration` will be truncated to the nearest second.
|
|
309
357
|
*/
|
|
310
|
-
leaseDuration?:
|
|
358
|
+
leaseDuration?:
|
|
359
|
+
string;
|
|
311
360
|
/**
|
|
312
361
|
* The maximum number of tasks to lease. The system will make a best effort to return as close to as `max_tasks` as possible. The largest that `max_tasks` can be is 1000. The maximum
|
|
313
362
|
* total size of a lease tasks response is 32 MB. If the sum of all task sizes requested reaches this limit, fewer tasks than requested are returned.
|
|
314
363
|
*/
|
|
315
|
-
maxTasks?:
|
|
364
|
+
maxTasks?:
|
|
365
|
+
number;
|
|
316
366
|
/**
|
|
317
367
|
* 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
|
|
318
368
|
* 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
|
|
319
369
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
320
370
|
*/
|
|
321
|
-
responseView?:
|
|
371
|
+
responseView?:
|
|
372
|
+
string;
|
|
322
373
|
}
|
|
323
374
|
interface LeaseTasksResponse {
|
|
324
375
|
/** The leased tasks. */
|
|
325
|
-
tasks?:
|
|
376
|
+
tasks?:
|
|
377
|
+
Task[];
|
|
326
378
|
}
|
|
327
379
|
interface ListLocationsResponse {
|
|
328
380
|
/** A list of locations that matches the specified filter in the request. */
|
|
329
|
-
locations?:
|
|
381
|
+
locations?:
|
|
382
|
+
Location[];
|
|
330
383
|
/** The standard List next-page token. */
|
|
331
|
-
nextPageToken?:
|
|
384
|
+
nextPageToken?:
|
|
385
|
+
string;
|
|
332
386
|
}
|
|
333
387
|
interface ListQueuesResponse {
|
|
334
388
|
/**
|
|
335
389
|
* 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
|
|
336
390
|
* results. The page token is valid for only 2 hours.
|
|
337
391
|
*/
|
|
338
|
-
nextPageToken?:
|
|
392
|
+
nextPageToken?:
|
|
393
|
+
string;
|
|
339
394
|
/** The list of queues. */
|
|
340
|
-
queues?:
|
|
395
|
+
queues?:
|
|
396
|
+
Queue[];
|
|
341
397
|
}
|
|
342
398
|
interface ListTasksResponse {
|
|
343
399
|
/**
|
|
344
400
|
* 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
|
|
345
401
|
* results.
|
|
346
402
|
*/
|
|
347
|
-
nextPageToken?:
|
|
403
|
+
nextPageToken?:
|
|
404
|
+
string;
|
|
348
405
|
/** The list of tasks. */
|
|
349
|
-
tasks?:
|
|
406
|
+
tasks?:
|
|
407
|
+
Task[];
|
|
350
408
|
}
|
|
351
409
|
interface Location {
|
|
352
410
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
353
|
-
displayName?:
|
|
411
|
+
displayName?:
|
|
412
|
+
string;
|
|
354
413
|
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
355
|
-
labels?:
|
|
414
|
+
labels?:
|
|
415
|
+
{ [P in string]: string };
|
|
356
416
|
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
357
|
-
locationId?:
|
|
417
|
+
locationId?:
|
|
418
|
+
string;
|
|
358
419
|
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
359
|
-
metadata?:
|
|
420
|
+
metadata?:
|
|
421
|
+
{ [P in string]: any };
|
|
360
422
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
361
|
-
name?:
|
|
423
|
+
name?:
|
|
424
|
+
string;
|
|
362
425
|
}
|
|
363
426
|
interface OAuthToken {
|
|
364
427
|
/** OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. */
|
|
365
|
-
scope?:
|
|
428
|
+
scope?:
|
|
429
|
+
string;
|
|
366
430
|
/**
|
|
367
431
|
* [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.
|
|
368
432
|
* The caller must have iam.serviceAccounts.actAs permission for the service account.
|
|
369
433
|
*/
|
|
370
|
-
serviceAccountEmail?:
|
|
434
|
+
serviceAccountEmail?:
|
|
435
|
+
string;
|
|
371
436
|
}
|
|
372
437
|
interface OidcToken {
|
|
373
438
|
/** Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. */
|
|
374
|
-
audience?:
|
|
439
|
+
audience?:
|
|
440
|
+
string;
|
|
375
441
|
/**
|
|
376
442
|
* [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.
|
|
377
443
|
* The caller must have iam.serviceAccounts.actAs permission for the service account.
|
|
378
444
|
*/
|
|
379
|
-
serviceAccountEmail?:
|
|
445
|
+
serviceAccountEmail?:
|
|
446
|
+
string;
|
|
380
447
|
}
|
|
381
448
|
interface PathOverride {
|
|
382
449
|
/** The URI path (e.g., /users/1234). Default is an empty string. */
|
|
383
|
-
path?:
|
|
450
|
+
path?:
|
|
451
|
+
string;
|
|
384
452
|
}
|
|
385
453
|
// tslint:disable-next-line:no-empty-interface
|
|
386
454
|
interface PauseQueueRequest {
|
|
@@ -392,7 +460,8 @@ declare namespace gapi.client {
|
|
|
392
460
|
* 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
|
|
393
461
|
* 1,450 principals to the `bindings` in the `Policy`.
|
|
394
462
|
*/
|
|
395
|
-
bindings?:
|
|
463
|
+
bindings?:
|
|
464
|
+
Binding[];
|
|
396
465
|
/**
|
|
397
466
|
* `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
|
|
398
467
|
* 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
|
|
@@ -400,7 +469,8 @@ declare namespace gapi.client {
|
|
|
400
469
|
* 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`
|
|
401
470
|
* policy, and all of the conditions in the version `3` policy are lost.
|
|
402
471
|
*/
|
|
403
|
-
etag?:
|
|
472
|
+
etag?:
|
|
473
|
+
string;
|
|
404
474
|
/**
|
|
405
475
|
* 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
|
|
406
476
|
* 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
|
|
@@ -409,11 +479,13 @@ declare namespace gapi.client {
|
|
|
409
479
|
* 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
|
|
410
480
|
* 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).
|
|
411
481
|
*/
|
|
412
|
-
version?:
|
|
482
|
+
version?:
|
|
483
|
+
number;
|
|
413
484
|
}
|
|
414
485
|
interface PullMessage {
|
|
415
486
|
/** A data payload consumed by the worker to execute the task. */
|
|
416
|
-
payload?:
|
|
487
|
+
payload?:
|
|
488
|
+
string;
|
|
417
489
|
/**
|
|
418
490
|
* The task's tag. Tags allow similar tasks to be processed in a batch. If you label tasks with a tag, your worker can lease tasks with the same tag using filter. For example, if you
|
|
419
491
|
* want to aggregate the events associated with a specific user once a day, you could tag tasks with the user ID. The task's tag can only be set when the task is created. The tag must
|
|
@@ -421,7 +493,8 @@ declare namespace gapi.client {
|
|
|
421
493
|
* [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
|
|
422
494
|
* Tasks. If a tag isn't UTF-8 encoded, the tag will be empty when the task is returned by Cloud Tasks.
|
|
423
495
|
*/
|
|
424
|
-
tag?:
|
|
496
|
+
tag?:
|
|
497
|
+
string;
|
|
425
498
|
}
|
|
426
499
|
// tslint:disable-next-line:no-empty-interface
|
|
427
500
|
interface PullTarget {
|
|
@@ -431,13 +504,16 @@ declare namespace gapi.client {
|
|
|
431
504
|
}
|
|
432
505
|
interface QueryOverride {
|
|
433
506
|
/** The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. */
|
|
434
|
-
queryParams?:
|
|
507
|
+
queryParams?:
|
|
508
|
+
string;
|
|
435
509
|
}
|
|
436
510
|
interface Queue {
|
|
437
511
|
/** App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. */
|
|
438
|
-
appEngineHttpTarget?:
|
|
512
|
+
appEngineHttpTarget?:
|
|
513
|
+
AppEngineHttpTarget;
|
|
439
514
|
/** An http_target is used to override the target values for HTTP tasks. */
|
|
440
|
-
httpTarget?:
|
|
515
|
+
httpTarget?:
|
|
516
|
+
HttpTarget;
|
|
441
517
|
/**
|
|
442
518
|
* Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
|
|
443
519
|
* `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
|
|
@@ -445,65 +521,79 @@ declare namespace gapi.client {
|
|
|
445
521
|
* 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
|
|
446
522
|
* contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
|
|
447
523
|
*/
|
|
448
|
-
name?:
|
|
524
|
+
name?:
|
|
525
|
+
string;
|
|
449
526
|
/** Pull target. A pull queue is a queue that has a PullTarget. */
|
|
450
|
-
pullTarget?:
|
|
527
|
+
pullTarget?:
|
|
528
|
+
any;
|
|
451
529
|
/**
|
|
452
530
|
* 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,
|
|
453
531
|
* 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
|
|
454
532
|
* to the nearest microsecond. Purge time will be unset if the queue has never been purged.
|
|
455
533
|
*/
|
|
456
|
-
purgeTime?:
|
|
534
|
+
purgeTime?:
|
|
535
|
+
string;
|
|
457
536
|
/**
|
|
458
537
|
* Rate limits for task dispatches. rate_limits and retry_config are related because they both control task attempts however they control how tasks are attempted in different ways: *
|
|
459
538
|
* 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). *
|
|
460
539
|
* retry_config controls what happens to particular a task after its first attempt fails. That is, retry_config controls task retries (the second attempt, third attempt, etc).
|
|
461
540
|
*/
|
|
462
|
-
rateLimits?:
|
|
541
|
+
rateLimits?:
|
|
542
|
+
RateLimits;
|
|
463
543
|
/**
|
|
464
544
|
* 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
|
|
465
545
|
* 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
|
|
466
546
|
* have retry settings explicitly set on the task and were created by the App Engine SDK. See [App Engine
|
|
467
547
|
* documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
|
|
468
548
|
*/
|
|
469
|
-
retryConfig?:
|
|
549
|
+
retryConfig?:
|
|
550
|
+
RetryConfig;
|
|
470
551
|
/**
|
|
471
552
|
* Output only. The state of the queue. `state` can only be changed by called PauseQueue, ResumeQueue, or uploading
|
|
472
553
|
* [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to change `state`.
|
|
473
554
|
*/
|
|
474
|
-
state?:
|
|
555
|
+
state?:
|
|
556
|
+
string;
|
|
475
557
|
/** Output only. The realtime, informational statistics for a queue. In order to receive the statistics the caller should include this field in the FieldMask. */
|
|
476
|
-
stats?:
|
|
558
|
+
stats?:
|
|
559
|
+
QueueStats;
|
|
477
560
|
/**
|
|
478
561
|
* 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
|
|
479
562
|
* 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
|
|
480
563
|
* [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for these queues. To view the maximum valid duration, see the documentation for Duration.
|
|
481
564
|
*/
|
|
482
|
-
taskTtl?:
|
|
565
|
+
taskTtl?:
|
|
566
|
+
string;
|
|
483
567
|
/**
|
|
484
568
|
* The task tombstone time to live (TTL). After a task is deleted or completed, the task's tombstone is retained for the length of time specified by `tombstone_ttl`. The tombstone is
|
|
485
569
|
* 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
|
|
486
570
|
* for CreateTaskRequest. Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
|
|
487
571
|
*/
|
|
488
|
-
tombstoneTtl?:
|
|
572
|
+
tombstoneTtl?:
|
|
573
|
+
string;
|
|
489
574
|
}
|
|
490
575
|
interface QueueStats {
|
|
491
576
|
/** Output only. The number of requests that the queue has dispatched but has not received a reply for yet. */
|
|
492
|
-
concurrentDispatchesCount?:
|
|
577
|
+
concurrentDispatchesCount?:
|
|
578
|
+
string;
|
|
493
579
|
/**
|
|
494
580
|
* 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
|
|
495
581
|
* value could be less to avoid overloading the endpoints tasks in the queue are targeting.
|
|
496
582
|
*/
|
|
497
|
-
effectiveExecutionRate?:
|
|
583
|
+
effectiveExecutionRate?:
|
|
584
|
+
number;
|
|
498
585
|
/** 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. */
|
|
499
|
-
executedLastMinuteCount?:
|
|
586
|
+
executedLastMinuteCount?:
|
|
587
|
+
string;
|
|
500
588
|
/** Output only. An estimation of the nearest time in the future where a task in the queue is scheduled to be executed. */
|
|
501
|
-
oldestEstimatedArrivalTime?:
|
|
589
|
+
oldestEstimatedArrivalTime?:
|
|
590
|
+
string;
|
|
502
591
|
/**
|
|
503
592
|
* 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
|
|
504
593
|
* has not yet received a reply for, and the failed tasks that the queue is retrying.
|
|
505
594
|
*/
|
|
506
|
-
tasksCount?:
|
|
595
|
+
tasksCount?:
|
|
596
|
+
string;
|
|
507
597
|
}
|
|
508
598
|
interface RateLimits {
|
|
509
599
|
/**
|
|
@@ -516,35 +606,41 @@ declare namespace gapi.client {
|
|
|
516
606
|
* [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
|
|
517
607
|
* `max_burst_size`, `max_burst_size` value will get updated if UpdateQueue is updating max_dispatches_per_second.
|
|
518
608
|
*/
|
|
519
|
-
maxBurstSize?:
|
|
609
|
+
maxBurstSize?:
|
|
610
|
+
number;
|
|
520
611
|
/**
|
|
521
612
|
* 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
|
|
522
613
|
* 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 is output only
|
|
523
614
|
* for pull queues and always -1, which indicates no limit. No other queue types can have `max_concurrent_tasks` set to -1. This field has the same meaning as [max_concurrent_requests
|
|
524
615
|
* in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
|
|
525
616
|
*/
|
|
526
|
-
maxConcurrentTasks?:
|
|
617
|
+
maxConcurrentTasks?:
|
|
618
|
+
number;
|
|
527
619
|
/**
|
|
528
620
|
* 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
|
|
529
621
|
* allowed value is 500. * This field is output only for pull queues. In addition to the `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of LeaseTasks requests are allowed
|
|
530
622
|
* per pull queue. This field has the same meaning as [rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
|
|
531
623
|
*/
|
|
532
|
-
maxTasksDispatchedPerSecond?:
|
|
624
|
+
maxTasksDispatchedPerSecond?:
|
|
625
|
+
number;
|
|
533
626
|
}
|
|
534
627
|
interface RenewLeaseRequest {
|
|
535
628
|
/** Required. The desired new lease duration, starting from now. The maximum lease duration is 1 week. `lease_duration` will be truncated to the nearest second. */
|
|
536
|
-
leaseDuration?:
|
|
629
|
+
leaseDuration?:
|
|
630
|
+
string;
|
|
537
631
|
/**
|
|
538
632
|
* 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
|
|
539
633
|
* 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
|
|
540
634
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
541
635
|
*/
|
|
542
|
-
responseView?:
|
|
636
|
+
responseView?:
|
|
637
|
+
string;
|
|
543
638
|
/**
|
|
544
639
|
* Required. The task's current schedule time, available in the schedule_time returned by LeaseTasks response or RenewLease response. This restriction is to ensure that your worker
|
|
545
640
|
* currently holds the lease.
|
|
546
641
|
*/
|
|
547
|
-
scheduleTime?:
|
|
642
|
+
scheduleTime?:
|
|
643
|
+
string;
|
|
548
644
|
}
|
|
549
645
|
// tslint:disable-next-line:no-empty-interface
|
|
550
646
|
interface ResumeQueueRequest {
|
|
@@ -554,13 +650,15 @@ declare namespace gapi.client {
|
|
|
554
650
|
* The maximum number of attempts for a task. Cloud Tasks will attempt the task `max_attempts` times (that is, if the first attempt fails, then there will be `max_attempts - 1`
|
|
555
651
|
* retries). Must be > 0.
|
|
556
652
|
*/
|
|
557
|
-
maxAttempts?:
|
|
653
|
+
maxAttempts?:
|
|
654
|
+
number;
|
|
558
655
|
/**
|
|
559
656
|
* 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
|
|
560
657
|
* when the queue is created, Cloud Tasks will pick the default. This field is output only for pull queues. `max_backoff` will be truncated to the nearest second. This field has the
|
|
561
658
|
* same meaning as [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
562
659
|
*/
|
|
563
|
-
maxBackoff?:
|
|
660
|
+
maxBackoff?:
|
|
661
|
+
string;
|
|
564
662
|
/**
|
|
565
663
|
* 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
|
|
566
664
|
* 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
|
|
@@ -569,22 +667,26 @@ declare namespace gapi.client {
|
|
|
569
667
|
* default. This field is output only for pull queues. This field has the same meaning as [max_doublings in
|
|
570
668
|
* queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
571
669
|
*/
|
|
572
|
-
maxDoublings?:
|
|
670
|
+
maxDoublings?:
|
|
671
|
+
number;
|
|
573
672
|
/**
|
|
574
673
|
* 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
|
|
575
674
|
* *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
|
|
576
675
|
* queue is created, Cloud Tasks will pick the default. This field is output only for pull queues. `max_retry_duration` will be truncated to the nearest second. This field has the same
|
|
577
676
|
* meaning as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
578
677
|
*/
|
|
579
|
-
maxRetryDuration?:
|
|
678
|
+
maxRetryDuration?:
|
|
679
|
+
string;
|
|
580
680
|
/**
|
|
581
681
|
* 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
|
|
582
682
|
* when the queue is created, Cloud Tasks will pick the default. This field is output only for pull queues. `min_backoff` will be truncated to the nearest second. This field has the
|
|
583
683
|
* same meaning as [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
584
684
|
*/
|
|
585
|
-
minBackoff?:
|
|
685
|
+
minBackoff?:
|
|
686
|
+
string;
|
|
586
687
|
/** If true, then the number of attempts is unlimited. */
|
|
587
|
-
unlimitedAttempts?:
|
|
688
|
+
unlimitedAttempts?:
|
|
689
|
+
boolean;
|
|
588
690
|
}
|
|
589
691
|
interface RunTaskRequest {
|
|
590
692
|
/**
|
|
@@ -592,36 +694,44 @@ declare namespace gapi.client {
|
|
|
592
694
|
* 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
|
|
593
695
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
594
696
|
*/
|
|
595
|
-
responseView?:
|
|
697
|
+
responseView?:
|
|
698
|
+
string;
|
|
596
699
|
}
|
|
597
700
|
interface SetIamPolicyRequest {
|
|
598
701
|
/**
|
|
599
702
|
* 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
|
|
600
703
|
* services (such as Projects) might reject them.
|
|
601
704
|
*/
|
|
602
|
-
policy?:
|
|
705
|
+
policy?:
|
|
706
|
+
Policy;
|
|
603
707
|
}
|
|
604
708
|
interface Status {
|
|
605
709
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
606
|
-
code?:
|
|
710
|
+
code?:
|
|
711
|
+
number;
|
|
607
712
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
608
|
-
details?:
|
|
713
|
+
details?:
|
|
714
|
+
Array<{ [P in string]: any }>;
|
|
609
715
|
/**
|
|
610
716
|
* 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
|
|
611
717
|
* client.
|
|
612
718
|
*/
|
|
613
|
-
message?:
|
|
719
|
+
message?:
|
|
720
|
+
string;
|
|
614
721
|
}
|
|
615
722
|
interface Task {
|
|
616
723
|
/**
|
|
617
724
|
* App Engine HTTP request that is sent to the task's target. Can be set only if app_engine_http_target is set on the queue. An App Engine task is a task that has AppEngineHttpRequest
|
|
618
725
|
* set.
|
|
619
726
|
*/
|
|
620
|
-
appEngineHttpRequest?:
|
|
727
|
+
appEngineHttpRequest?:
|
|
728
|
+
AppEngineHttpRequest;
|
|
621
729
|
/** Output only. The time that the task was created. `create_time` will be truncated to the nearest second. */
|
|
622
|
-
createTime?:
|
|
730
|
+
createTime?:
|
|
731
|
+
string;
|
|
623
732
|
/** HTTP request that is sent to the task's target. An HTTP task is a task that has HttpRequest set. */
|
|
624
|
-
httpRequest?:
|
|
733
|
+
httpRequest?:
|
|
734
|
+
HttpRequest;
|
|
625
735
|
/**
|
|
626
736
|
* 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` *
|
|
627
737
|
* `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying
|
|
@@ -630,63 +740,80 @@ declare namespace gapi.client {
|
|
|
630
740
|
* 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
|
|
631
741
|
* length is 500 characters.
|
|
632
742
|
*/
|
|
633
|
-
name?:
|
|
743
|
+
name?:
|
|
744
|
+
string;
|
|
634
745
|
/** LeaseTasks to process the task. Can be set only if pull_target is set on the queue. A pull task is a task that has PullMessage set. */
|
|
635
|
-
pullMessage?:
|
|
746
|
+
pullMessage?:
|
|
747
|
+
PullMessage;
|
|
636
748
|
/**
|
|
637
749
|
* The time when the task is scheduled to be attempted. For App Engine queues, this is when the task will be attempted or retried. For pull queues, this is the time when the task is
|
|
638
750
|
* available to be leased; if a task is currently leased, this is the time when the current lease expires, that is, the time that the task was leased plus the lease_duration.
|
|
639
751
|
* `schedule_time` will be truncated to the nearest microsecond.
|
|
640
752
|
*/
|
|
641
|
-
scheduleTime?:
|
|
753
|
+
scheduleTime?:
|
|
754
|
+
string;
|
|
642
755
|
/** Output only. The task status. */
|
|
643
|
-
status?:
|
|
756
|
+
status?:
|
|
757
|
+
TaskStatus;
|
|
644
758
|
/** Output only. The view specifies which subset of the Task has been returned. */
|
|
645
|
-
view?:
|
|
759
|
+
view?:
|
|
760
|
+
string;
|
|
646
761
|
}
|
|
647
762
|
interface TaskStatus {
|
|
648
763
|
/** Output only. The number of attempts dispatched. This count includes attempts which have been dispatched but haven't received a response. */
|
|
649
|
-
attemptDispatchCount?:
|
|
764
|
+
attemptDispatchCount?:
|
|
765
|
+
number;
|
|
650
766
|
/** Output only. The number of attempts which have received a response. This field is not calculated for pull tasks. */
|
|
651
|
-
attemptResponseCount?:
|
|
767
|
+
attemptResponseCount?:
|
|
768
|
+
number;
|
|
652
769
|
/**
|
|
653
770
|
* Output only. The status of the task's first attempt. Only dispatch_time will be set. The other AttemptStatus information is not retained by Cloud Tasks. This field is not calculated
|
|
654
771
|
* for pull tasks.
|
|
655
772
|
*/
|
|
656
|
-
firstAttemptStatus?:
|
|
773
|
+
firstAttemptStatus?:
|
|
774
|
+
AttemptStatus;
|
|
657
775
|
/** Output only. The status of the task's last attempt. This field is not calculated for pull tasks. */
|
|
658
|
-
lastAttemptStatus?:
|
|
776
|
+
lastAttemptStatus?:
|
|
777
|
+
AttemptStatus;
|
|
659
778
|
}
|
|
660
779
|
interface TestIamPermissionsRequest {
|
|
661
780
|
/**
|
|
662
781
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
663
782
|
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
664
783
|
*/
|
|
665
|
-
permissions?:
|
|
784
|
+
permissions?:
|
|
785
|
+
string[];
|
|
666
786
|
}
|
|
667
787
|
interface TestIamPermissionsResponse {
|
|
668
788
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
669
|
-
permissions?:
|
|
789
|
+
permissions?:
|
|
790
|
+
string[];
|
|
670
791
|
}
|
|
671
792
|
interface UriOverride {
|
|
672
793
|
/**
|
|
673
794
|
* 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
|
|
674
795
|
* overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
|
|
675
796
|
*/
|
|
676
|
-
host?:
|
|
797
|
+
host?:
|
|
798
|
+
string;
|
|
677
799
|
/** 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. */
|
|
678
|
-
pathOverride?:
|
|
800
|
+
pathOverride?:
|
|
801
|
+
PathOverride;
|
|
679
802
|
/**
|
|
680
803
|
* 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
|
|
681
804
|
* 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.
|
|
682
805
|
*/
|
|
683
|
-
port?:
|
|
806
|
+
port?:
|
|
807
|
+
string;
|
|
684
808
|
/** 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. */
|
|
685
|
-
queryOverride?:
|
|
809
|
+
queryOverride?:
|
|
810
|
+
QueryOverride;
|
|
686
811
|
/** Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */
|
|
687
|
-
scheme?:
|
|
812
|
+
scheme?:
|
|
813
|
+
string;
|
|
688
814
|
/** URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. */
|
|
689
|
-
uriOverrideEnforceMode?:
|
|
815
|
+
uriOverrideEnforceMode?:
|
|
816
|
+
string;
|
|
690
817
|
}
|
|
691
818
|
interface QueueResource {
|
|
692
819
|
/**
|
|
@@ -695,68 +822,94 @@ declare namespace gapi.client {
|
|
|
695
822
|
*/
|
|
696
823
|
update(request: {
|
|
697
824
|
/** V1 error format. */
|
|
698
|
-
"$.xgafv"?:
|
|
825
|
+
"$.xgafv"?:
|
|
826
|
+
string;
|
|
699
827
|
/** OAuth access token. */
|
|
700
|
-
access_token?:
|
|
828
|
+
access_token?:
|
|
829
|
+
string;
|
|
701
830
|
/** Data format for response. */
|
|
702
|
-
alt?:
|
|
831
|
+
alt?:
|
|
832
|
+
string;
|
|
703
833
|
/**
|
|
704
834
|
* Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against
|
|
705
835
|
* which to make the request.
|
|
706
836
|
*/
|
|
707
|
-
appId?:
|
|
837
|
+
appId?:
|
|
838
|
+
string;
|
|
708
839
|
/** JSONP */
|
|
709
|
-
callback?:
|
|
840
|
+
callback?:
|
|
841
|
+
string;
|
|
710
842
|
/** Selector specifying which fields to include in a partial response. */
|
|
711
|
-
fields?:
|
|
843
|
+
fields?:
|
|
844
|
+
string;
|
|
712
845
|
/** 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. */
|
|
713
|
-
key?:
|
|
846
|
+
key?:
|
|
847
|
+
string;
|
|
714
848
|
/** OAuth 2.0 token for the current user. */
|
|
715
|
-
oauth_token?:
|
|
849
|
+
oauth_token?:
|
|
850
|
+
string;
|
|
716
851
|
/** Returns response with indentations and line breaks. */
|
|
717
|
-
prettyPrint?:
|
|
852
|
+
prettyPrint?:
|
|
853
|
+
boolean;
|
|
718
854
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
719
|
-
quotaUser?:
|
|
855
|
+
quotaUser?:
|
|
856
|
+
string;
|
|
720
857
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
721
|
-
upload_protocol?:
|
|
858
|
+
upload_protocol?:
|
|
859
|
+
string;
|
|
722
860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
723
|
-
uploadType?:
|
|
861
|
+
uploadType?:
|
|
862
|
+
string;
|
|
724
863
|
/** Request body */
|
|
725
|
-
resource:
|
|
864
|
+
resource:
|
|
865
|
+
HttpBody;
|
|
726
866
|
}): Request<{}>;
|
|
727
867
|
update(request: {
|
|
728
868
|
/** V1 error format. */
|
|
729
|
-
"$.xgafv"?:
|
|
869
|
+
"$.xgafv"?:
|
|
870
|
+
string;
|
|
730
871
|
/** OAuth access token. */
|
|
731
|
-
access_token?:
|
|
872
|
+
access_token?:
|
|
873
|
+
string;
|
|
732
874
|
/** Data format for response. */
|
|
733
|
-
alt?:
|
|
875
|
+
alt?:
|
|
876
|
+
string;
|
|
734
877
|
/**
|
|
735
878
|
* Required. The App ID is supplied as an HTTP parameter. Unlike internal usage of App ID, it does not include a region prefix. Rather, the App ID represents the Project ID against
|
|
736
879
|
* which to make the request.
|
|
737
880
|
*/
|
|
738
|
-
appId?:
|
|
881
|
+
appId?:
|
|
882
|
+
string;
|
|
739
883
|
/** JSONP */
|
|
740
|
-
callback?:
|
|
884
|
+
callback?:
|
|
885
|
+
string;
|
|
741
886
|
/** Selector specifying which fields to include in a partial response. */
|
|
742
|
-
fields?:
|
|
887
|
+
fields?:
|
|
888
|
+
string;
|
|
743
889
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
744
|
-
key?:
|
|
890
|
+
key?:
|
|
891
|
+
string;
|
|
745
892
|
/** OAuth 2.0 token for the current user. */
|
|
746
|
-
oauth_token?:
|
|
893
|
+
oauth_token?:
|
|
894
|
+
string;
|
|
747
895
|
/** Returns response with indentations and line breaks. */
|
|
748
|
-
prettyPrint?:
|
|
896
|
+
prettyPrint?:
|
|
897
|
+
boolean;
|
|
749
898
|
/** 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. */
|
|
750
|
-
quotaUser?:
|
|
899
|
+
quotaUser?:
|
|
900
|
+
string;
|
|
751
901
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
752
|
-
upload_protocol?:
|
|
902
|
+
upload_protocol?:
|
|
903
|
+
string;
|
|
753
904
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
754
|
-
uploadType?:
|
|
905
|
+
uploadType?:
|
|
906
|
+
string;
|
|
755
907
|
},
|
|
756
908
|
body: HttpBody): Request<{}>;
|
|
757
909
|
}
|
|
758
910
|
interface ApiResource {
|
|
759
|
-
queue:
|
|
911
|
+
queue:
|
|
912
|
+
QueueResource;
|
|
760
913
|
}
|
|
761
914
|
interface TasksResource {
|
|
762
915
|
/**
|
|
@@ -766,57 +919,82 @@ declare namespace gapi.client {
|
|
|
766
919
|
*/
|
|
767
920
|
acknowledge(request: {
|
|
768
921
|
/** V1 error format. */
|
|
769
|
-
"$.xgafv"?:
|
|
922
|
+
"$.xgafv"?:
|
|
923
|
+
string;
|
|
770
924
|
/** OAuth access token. */
|
|
771
|
-
access_token?:
|
|
925
|
+
access_token?:
|
|
926
|
+
string;
|
|
772
927
|
/** Data format for response. */
|
|
773
|
-
alt?:
|
|
928
|
+
alt?:
|
|
929
|
+
string;
|
|
774
930
|
/** JSONP */
|
|
775
|
-
callback?:
|
|
931
|
+
callback?:
|
|
932
|
+
string;
|
|
776
933
|
/** Selector specifying which fields to include in a partial response. */
|
|
777
|
-
fields?:
|
|
934
|
+
fields?:
|
|
935
|
+
string;
|
|
778
936
|
/** 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. */
|
|
779
|
-
key?:
|
|
937
|
+
key?:
|
|
938
|
+
string;
|
|
780
939
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
781
|
-
name:
|
|
940
|
+
name:
|
|
941
|
+
string;
|
|
782
942
|
/** OAuth 2.0 token for the current user. */
|
|
783
|
-
oauth_token?:
|
|
943
|
+
oauth_token?:
|
|
944
|
+
string;
|
|
784
945
|
/** Returns response with indentations and line breaks. */
|
|
785
|
-
prettyPrint?:
|
|
946
|
+
prettyPrint?:
|
|
947
|
+
boolean;
|
|
786
948
|
/** 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. */
|
|
787
|
-
quotaUser?:
|
|
949
|
+
quotaUser?:
|
|
950
|
+
string;
|
|
788
951
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
789
|
-
upload_protocol?:
|
|
952
|
+
upload_protocol?:
|
|
953
|
+
string;
|
|
790
954
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
791
|
-
uploadType?:
|
|
955
|
+
uploadType?:
|
|
956
|
+
string;
|
|
792
957
|
/** Request body */
|
|
793
|
-
resource:
|
|
958
|
+
resource:
|
|
959
|
+
AcknowledgeTaskRequest;
|
|
794
960
|
}): Request<{}>;
|
|
795
961
|
acknowledge(request: {
|
|
796
962
|
/** V1 error format. */
|
|
797
|
-
"$.xgafv"?:
|
|
963
|
+
"$.xgafv"?:
|
|
964
|
+
string;
|
|
798
965
|
/** OAuth access token. */
|
|
799
|
-
access_token?:
|
|
966
|
+
access_token?:
|
|
967
|
+
string;
|
|
800
968
|
/** Data format for response. */
|
|
801
|
-
alt?:
|
|
969
|
+
alt?:
|
|
970
|
+
string;
|
|
802
971
|
/** JSONP */
|
|
803
|
-
callback?:
|
|
972
|
+
callback?:
|
|
973
|
+
string;
|
|
804
974
|
/** Selector specifying which fields to include in a partial response. */
|
|
805
|
-
fields?:
|
|
975
|
+
fields?:
|
|
976
|
+
string;
|
|
806
977
|
/** 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. */
|
|
807
|
-
key?:
|
|
978
|
+
key?:
|
|
979
|
+
string;
|
|
808
980
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
809
|
-
name:
|
|
981
|
+
name:
|
|
982
|
+
string;
|
|
810
983
|
/** OAuth 2.0 token for the current user. */
|
|
811
|
-
oauth_token?:
|
|
984
|
+
oauth_token?:
|
|
985
|
+
string;
|
|
812
986
|
/** Returns response with indentations and line breaks. */
|
|
813
|
-
prettyPrint?:
|
|
987
|
+
prettyPrint?:
|
|
988
|
+
boolean;
|
|
814
989
|
/** 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. */
|
|
815
|
-
quotaUser?:
|
|
990
|
+
quotaUser?:
|
|
991
|
+
string;
|
|
816
992
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
817
|
-
upload_protocol?:
|
|
993
|
+
upload_protocol?:
|
|
994
|
+
string;
|
|
818
995
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
819
|
-
uploadType?:
|
|
996
|
+
uploadType?:
|
|
997
|
+
string;
|
|
820
998
|
},
|
|
821
999
|
body: AcknowledgeTaskRequest): Request<{}>;
|
|
822
1000
|
/**
|
|
@@ -827,61 +1005,88 @@ declare namespace gapi.client {
|
|
|
827
1005
|
*/
|
|
828
1006
|
buffer(request: {
|
|
829
1007
|
/** V1 error format. */
|
|
830
|
-
"$.xgafv"?:
|
|
1008
|
+
"$.xgafv"?:
|
|
1009
|
+
string;
|
|
831
1010
|
/** OAuth access token. */
|
|
832
|
-
access_token?:
|
|
1011
|
+
access_token?:
|
|
1012
|
+
string;
|
|
833
1013
|
/** Data format for response. */
|
|
834
|
-
alt?:
|
|
1014
|
+
alt?:
|
|
1015
|
+
string;
|
|
835
1016
|
/** JSONP */
|
|
836
|
-
callback?:
|
|
1017
|
+
callback?:
|
|
1018
|
+
string;
|
|
837
1019
|
/** Selector specifying which fields to include in a partial response. */
|
|
838
|
-
fields?:
|
|
1020
|
+
fields?:
|
|
1021
|
+
string;
|
|
839
1022
|
/** 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. */
|
|
840
|
-
key?:
|
|
1023
|
+
key?:
|
|
1024
|
+
string;
|
|
841
1025
|
/** OAuth 2.0 token for the current user. */
|
|
842
|
-
oauth_token?:
|
|
1026
|
+
oauth_token?:
|
|
1027
|
+
string;
|
|
843
1028
|
/** Returns response with indentations and line breaks. */
|
|
844
|
-
prettyPrint?:
|
|
1029
|
+
prettyPrint?:
|
|
1030
|
+
boolean;
|
|
845
1031
|
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
846
|
-
queue:
|
|
1032
|
+
queue:
|
|
1033
|
+
string;
|
|
847
1034
|
/** 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. */
|
|
848
|
-
quotaUser?:
|
|
1035
|
+
quotaUser?:
|
|
1036
|
+
string;
|
|
849
1037
|
/** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
|
|
850
|
-
taskId:
|
|
1038
|
+
taskId:
|
|
1039
|
+
string;
|
|
851
1040
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
852
|
-
upload_protocol?:
|
|
1041
|
+
upload_protocol?:
|
|
1042
|
+
string;
|
|
853
1043
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
854
|
-
uploadType?:
|
|
1044
|
+
uploadType?:
|
|
1045
|
+
string;
|
|
855
1046
|
/** Request body */
|
|
856
|
-
resource:
|
|
1047
|
+
resource:
|
|
1048
|
+
BufferTaskRequest;
|
|
857
1049
|
}): Request<BufferTaskResponse>;
|
|
858
1050
|
buffer(request: {
|
|
859
1051
|
/** V1 error format. */
|
|
860
|
-
"$.xgafv"?:
|
|
1052
|
+
"$.xgafv"?:
|
|
1053
|
+
string;
|
|
861
1054
|
/** OAuth access token. */
|
|
862
|
-
access_token?:
|
|
1055
|
+
access_token?:
|
|
1056
|
+
string;
|
|
863
1057
|
/** Data format for response. */
|
|
864
|
-
alt?:
|
|
1058
|
+
alt?:
|
|
1059
|
+
string;
|
|
865
1060
|
/** JSONP */
|
|
866
|
-
callback?:
|
|
1061
|
+
callback?:
|
|
1062
|
+
string;
|
|
867
1063
|
/** Selector specifying which fields to include in a partial response. */
|
|
868
|
-
fields?:
|
|
1064
|
+
fields?:
|
|
1065
|
+
string;
|
|
869
1066
|
/** 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. */
|
|
870
|
-
key?:
|
|
1067
|
+
key?:
|
|
1068
|
+
string;
|
|
871
1069
|
/** OAuth 2.0 token for the current user. */
|
|
872
|
-
oauth_token?:
|
|
1070
|
+
oauth_token?:
|
|
1071
|
+
string;
|
|
873
1072
|
/** Returns response with indentations and line breaks. */
|
|
874
|
-
prettyPrint?:
|
|
1073
|
+
prettyPrint?:
|
|
1074
|
+
boolean;
|
|
875
1075
|
/** Required. The parent queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
876
|
-
queue:
|
|
1076
|
+
queue:
|
|
1077
|
+
string;
|
|
877
1078
|
/** 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. */
|
|
878
|
-
quotaUser?:
|
|
1079
|
+
quotaUser?:
|
|
1080
|
+
string;
|
|
879
1081
|
/** Optional. Task ID for the task being created. If not provided, a random task ID is assigned to the task. */
|
|
880
|
-
taskId:
|
|
1082
|
+
taskId:
|
|
1083
|
+
string;
|
|
881
1084
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
882
|
-
upload_protocol?:
|
|
1085
|
+
upload_protocol?:
|
|
1086
|
+
string;
|
|
883
1087
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
884
|
-
uploadType?:
|
|
1088
|
+
uploadType?:
|
|
1089
|
+
string;
|
|
885
1090
|
},
|
|
886
1091
|
body: BufferTaskRequest): Request<BufferTaskResponse>;
|
|
887
1092
|
/**
|
|
@@ -890,57 +1095,82 @@ declare namespace gapi.client {
|
|
|
890
1095
|
*/
|
|
891
1096
|
cancelLease(request: {
|
|
892
1097
|
/** V1 error format. */
|
|
893
|
-
"$.xgafv"?:
|
|
1098
|
+
"$.xgafv"?:
|
|
1099
|
+
string;
|
|
894
1100
|
/** OAuth access token. */
|
|
895
|
-
access_token?:
|
|
1101
|
+
access_token?:
|
|
1102
|
+
string;
|
|
896
1103
|
/** Data format for response. */
|
|
897
|
-
alt?:
|
|
1104
|
+
alt?:
|
|
1105
|
+
string;
|
|
898
1106
|
/** JSONP */
|
|
899
|
-
callback?:
|
|
1107
|
+
callback?:
|
|
1108
|
+
string;
|
|
900
1109
|
/** Selector specifying which fields to include in a partial response. */
|
|
901
|
-
fields?:
|
|
1110
|
+
fields?:
|
|
1111
|
+
string;
|
|
902
1112
|
/** 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. */
|
|
903
|
-
key?:
|
|
1113
|
+
key?:
|
|
1114
|
+
string;
|
|
904
1115
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
905
|
-
name:
|
|
1116
|
+
name:
|
|
1117
|
+
string;
|
|
906
1118
|
/** OAuth 2.0 token for the current user. */
|
|
907
|
-
oauth_token?:
|
|
1119
|
+
oauth_token?:
|
|
1120
|
+
string;
|
|
908
1121
|
/** Returns response with indentations and line breaks. */
|
|
909
|
-
prettyPrint?:
|
|
1122
|
+
prettyPrint?:
|
|
1123
|
+
boolean;
|
|
910
1124
|
/** 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. */
|
|
911
|
-
quotaUser?:
|
|
1125
|
+
quotaUser?:
|
|
1126
|
+
string;
|
|
912
1127
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
913
|
-
upload_protocol?:
|
|
1128
|
+
upload_protocol?:
|
|
1129
|
+
string;
|
|
914
1130
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
915
|
-
uploadType?:
|
|
1131
|
+
uploadType?:
|
|
1132
|
+
string;
|
|
916
1133
|
/** Request body */
|
|
917
|
-
resource:
|
|
1134
|
+
resource:
|
|
1135
|
+
CancelLeaseRequest;
|
|
918
1136
|
}): Request<Task>;
|
|
919
1137
|
cancelLease(request: {
|
|
920
1138
|
/** V1 error format. */
|
|
921
|
-
"$.xgafv"?:
|
|
1139
|
+
"$.xgafv"?:
|
|
1140
|
+
string;
|
|
922
1141
|
/** OAuth access token. */
|
|
923
|
-
access_token?:
|
|
1142
|
+
access_token?:
|
|
1143
|
+
string;
|
|
924
1144
|
/** Data format for response. */
|
|
925
|
-
alt?:
|
|
1145
|
+
alt?:
|
|
1146
|
+
string;
|
|
926
1147
|
/** JSONP */
|
|
927
|
-
callback?:
|
|
1148
|
+
callback?:
|
|
1149
|
+
string;
|
|
928
1150
|
/** Selector specifying which fields to include in a partial response. */
|
|
929
|
-
fields?:
|
|
1151
|
+
fields?:
|
|
1152
|
+
string;
|
|
930
1153
|
/** 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. */
|
|
931
|
-
key?:
|
|
1154
|
+
key?:
|
|
1155
|
+
string;
|
|
932
1156
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
933
|
-
name:
|
|
1157
|
+
name:
|
|
1158
|
+
string;
|
|
934
1159
|
/** OAuth 2.0 token for the current user. */
|
|
935
|
-
oauth_token?:
|
|
1160
|
+
oauth_token?:
|
|
1161
|
+
string;
|
|
936
1162
|
/** Returns response with indentations and line breaks. */
|
|
937
|
-
prettyPrint?:
|
|
1163
|
+
prettyPrint?:
|
|
1164
|
+
boolean;
|
|
938
1165
|
/** 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. */
|
|
939
|
-
quotaUser?:
|
|
1166
|
+
quotaUser?:
|
|
1167
|
+
string;
|
|
940
1168
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
941
|
-
upload_protocol?:
|
|
1169
|
+
upload_protocol?:
|
|
1170
|
+
string;
|
|
942
1171
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
943
|
-
uploadType?:
|
|
1172
|
+
uploadType?:
|
|
1173
|
+
string;
|
|
944
1174
|
},
|
|
945
1175
|
body: CancelLeaseRequest): Request<Task>;
|
|
946
1176
|
/**
|
|
@@ -949,118 +1179,168 @@ declare namespace gapi.client {
|
|
|
949
1179
|
*/
|
|
950
1180
|
create(request: {
|
|
951
1181
|
/** V1 error format. */
|
|
952
|
-
"$.xgafv"?:
|
|
1182
|
+
"$.xgafv"?:
|
|
1183
|
+
string;
|
|
953
1184
|
/** OAuth access token. */
|
|
954
|
-
access_token?:
|
|
1185
|
+
access_token?:
|
|
1186
|
+
string;
|
|
955
1187
|
/** Data format for response. */
|
|
956
|
-
alt?:
|
|
1188
|
+
alt?:
|
|
1189
|
+
string;
|
|
957
1190
|
/** JSONP */
|
|
958
|
-
callback?:
|
|
1191
|
+
callback?:
|
|
1192
|
+
string;
|
|
959
1193
|
/** Selector specifying which fields to include in a partial response. */
|
|
960
|
-
fields?:
|
|
1194
|
+
fields?:
|
|
1195
|
+
string;
|
|
961
1196
|
/** 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. */
|
|
962
|
-
key?:
|
|
1197
|
+
key?:
|
|
1198
|
+
string;
|
|
963
1199
|
/** OAuth 2.0 token for the current user. */
|
|
964
|
-
oauth_token?:
|
|
1200
|
+
oauth_token?:
|
|
1201
|
+
string;
|
|
965
1202
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
966
|
-
parent:
|
|
1203
|
+
parent:
|
|
1204
|
+
string;
|
|
967
1205
|
/** Returns response with indentations and line breaks. */
|
|
968
|
-
prettyPrint?:
|
|
1206
|
+
prettyPrint?:
|
|
1207
|
+
boolean;
|
|
969
1208
|
/** 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. */
|
|
970
|
-
quotaUser?:
|
|
1209
|
+
quotaUser?:
|
|
1210
|
+
string;
|
|
971
1211
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
972
|
-
upload_protocol?:
|
|
1212
|
+
upload_protocol?:
|
|
1213
|
+
string;
|
|
973
1214
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
974
|
-
uploadType?:
|
|
1215
|
+
uploadType?:
|
|
1216
|
+
string;
|
|
975
1217
|
/** Request body */
|
|
976
|
-
resource:
|
|
1218
|
+
resource:
|
|
1219
|
+
CreateTaskRequest;
|
|
977
1220
|
}): Request<Task>;
|
|
978
1221
|
create(request: {
|
|
979
1222
|
/** V1 error format. */
|
|
980
|
-
"$.xgafv"?:
|
|
1223
|
+
"$.xgafv"?:
|
|
1224
|
+
string;
|
|
981
1225
|
/** OAuth access token. */
|
|
982
|
-
access_token?:
|
|
1226
|
+
access_token?:
|
|
1227
|
+
string;
|
|
983
1228
|
/** Data format for response. */
|
|
984
|
-
alt?:
|
|
1229
|
+
alt?:
|
|
1230
|
+
string;
|
|
985
1231
|
/** JSONP */
|
|
986
|
-
callback?:
|
|
1232
|
+
callback?:
|
|
1233
|
+
string;
|
|
987
1234
|
/** Selector specifying which fields to include in a partial response. */
|
|
988
|
-
fields?:
|
|
1235
|
+
fields?:
|
|
1236
|
+
string;
|
|
989
1237
|
/** 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. */
|
|
990
|
-
key?:
|
|
1238
|
+
key?:
|
|
1239
|
+
string;
|
|
991
1240
|
/** OAuth 2.0 token for the current user. */
|
|
992
|
-
oauth_token?:
|
|
1241
|
+
oauth_token?:
|
|
1242
|
+
string;
|
|
993
1243
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` The queue must already exist. */
|
|
994
|
-
parent:
|
|
1244
|
+
parent:
|
|
1245
|
+
string;
|
|
995
1246
|
/** Returns response with indentations and line breaks. */
|
|
996
|
-
prettyPrint?:
|
|
1247
|
+
prettyPrint?:
|
|
1248
|
+
boolean;
|
|
997
1249
|
/** 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. */
|
|
998
|
-
quotaUser?:
|
|
1250
|
+
quotaUser?:
|
|
1251
|
+
string;
|
|
999
1252
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1000
|
-
upload_protocol?:
|
|
1253
|
+
upload_protocol?:
|
|
1254
|
+
string;
|
|
1001
1255
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1002
|
-
uploadType?:
|
|
1256
|
+
uploadType?:
|
|
1257
|
+
string;
|
|
1003
1258
|
},
|
|
1004
1259
|
body: CreateTaskRequest): Request<Task>;
|
|
1005
1260
|
/** Deletes a task. A task can be deleted if it is scheduled or dispatched. A task cannot be deleted if it has completed successfully or permanently failed. */
|
|
1006
1261
|
delete(request?: {
|
|
1007
1262
|
/** V1 error format. */
|
|
1008
|
-
"$.xgafv"?:
|
|
1263
|
+
"$.xgafv"?:
|
|
1264
|
+
string;
|
|
1009
1265
|
/** OAuth access token. */
|
|
1010
|
-
access_token?:
|
|
1266
|
+
access_token?:
|
|
1267
|
+
string;
|
|
1011
1268
|
/** Data format for response. */
|
|
1012
|
-
alt?:
|
|
1269
|
+
alt?:
|
|
1270
|
+
string;
|
|
1013
1271
|
/** JSONP */
|
|
1014
|
-
callback?:
|
|
1272
|
+
callback?:
|
|
1273
|
+
string;
|
|
1015
1274
|
/** Selector specifying which fields to include in a partial response. */
|
|
1016
|
-
fields?:
|
|
1275
|
+
fields?:
|
|
1276
|
+
string;
|
|
1017
1277
|
/** 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. */
|
|
1018
|
-
key?:
|
|
1278
|
+
key?:
|
|
1279
|
+
string;
|
|
1019
1280
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1020
|
-
name:
|
|
1281
|
+
name:
|
|
1282
|
+
string;
|
|
1021
1283
|
/** OAuth 2.0 token for the current user. */
|
|
1022
|
-
oauth_token?:
|
|
1284
|
+
oauth_token?:
|
|
1285
|
+
string;
|
|
1023
1286
|
/** Returns response with indentations and line breaks. */
|
|
1024
|
-
prettyPrint?:
|
|
1287
|
+
prettyPrint?:
|
|
1288
|
+
boolean;
|
|
1025
1289
|
/** 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. */
|
|
1026
|
-
quotaUser?:
|
|
1290
|
+
quotaUser?:
|
|
1291
|
+
string;
|
|
1027
1292
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1028
|
-
upload_protocol?:
|
|
1293
|
+
upload_protocol?:
|
|
1294
|
+
string;
|
|
1029
1295
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1030
|
-
uploadType?:
|
|
1296
|
+
uploadType?:
|
|
1297
|
+
string;
|
|
1031
1298
|
}): Request<{}>;
|
|
1032
1299
|
/** Gets a task. */
|
|
1033
1300
|
get(request?: {
|
|
1034
1301
|
/** V1 error format. */
|
|
1035
|
-
"$.xgafv"?:
|
|
1302
|
+
"$.xgafv"?:
|
|
1303
|
+
string;
|
|
1036
1304
|
/** OAuth access token. */
|
|
1037
|
-
access_token?:
|
|
1305
|
+
access_token?:
|
|
1306
|
+
string;
|
|
1038
1307
|
/** Data format for response. */
|
|
1039
|
-
alt?:
|
|
1308
|
+
alt?:
|
|
1309
|
+
string;
|
|
1040
1310
|
/** JSONP */
|
|
1041
|
-
callback?:
|
|
1311
|
+
callback?:
|
|
1312
|
+
string;
|
|
1042
1313
|
/** Selector specifying which fields to include in a partial response. */
|
|
1043
|
-
fields?:
|
|
1314
|
+
fields?:
|
|
1315
|
+
string;
|
|
1044
1316
|
/** 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. */
|
|
1045
|
-
key?:
|
|
1317
|
+
key?:
|
|
1318
|
+
string;
|
|
1046
1319
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1047
|
-
name:
|
|
1320
|
+
name:
|
|
1321
|
+
string;
|
|
1048
1322
|
/** OAuth 2.0 token for the current user. */
|
|
1049
|
-
oauth_token?:
|
|
1323
|
+
oauth_token?:
|
|
1324
|
+
string;
|
|
1050
1325
|
/** Returns response with indentations and line breaks. */
|
|
1051
|
-
prettyPrint?:
|
|
1326
|
+
prettyPrint?:
|
|
1327
|
+
boolean;
|
|
1052
1328
|
/** 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. */
|
|
1053
|
-
quotaUser?:
|
|
1329
|
+
quotaUser?:
|
|
1330
|
+
string;
|
|
1054
1331
|
/**
|
|
1055
1332
|
* 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
|
|
1056
1333
|
* 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
|
|
1057
1334
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
1058
1335
|
*/
|
|
1059
|
-
responseView?:
|
|
1336
|
+
responseView?:
|
|
1337
|
+
string;
|
|
1060
1338
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1061
|
-
upload_protocol?:
|
|
1339
|
+
upload_protocol?:
|
|
1340
|
+
string;
|
|
1062
1341
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1063
|
-
uploadType?:
|
|
1342
|
+
uploadType?:
|
|
1343
|
+
string;
|
|
1064
1344
|
}): Request<Task>;
|
|
1065
1345
|
/**
|
|
1066
1346
|
* Leases tasks from a pull queue for lease_duration. This method is invoked by the worker to obtain a lease. The worker must acknowledge the task via AcknowledgeTask after they have
|
|
@@ -1070,57 +1350,82 @@ declare namespace gapi.client {
|
|
|
1070
1350
|
*/
|
|
1071
1351
|
lease(request: {
|
|
1072
1352
|
/** V1 error format. */
|
|
1073
|
-
"$.xgafv"?:
|
|
1353
|
+
"$.xgafv"?:
|
|
1354
|
+
string;
|
|
1074
1355
|
/** OAuth access token. */
|
|
1075
|
-
access_token?:
|
|
1356
|
+
access_token?:
|
|
1357
|
+
string;
|
|
1076
1358
|
/** Data format for response. */
|
|
1077
|
-
alt?:
|
|
1359
|
+
alt?:
|
|
1360
|
+
string;
|
|
1078
1361
|
/** JSONP */
|
|
1079
|
-
callback?:
|
|
1362
|
+
callback?:
|
|
1363
|
+
string;
|
|
1080
1364
|
/** Selector specifying which fields to include in a partial response. */
|
|
1081
|
-
fields?:
|
|
1365
|
+
fields?:
|
|
1366
|
+
string;
|
|
1082
1367
|
/** 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. */
|
|
1083
|
-
key?:
|
|
1368
|
+
key?:
|
|
1369
|
+
string;
|
|
1084
1370
|
/** OAuth 2.0 token for the current user. */
|
|
1085
|
-
oauth_token?:
|
|
1371
|
+
oauth_token?:
|
|
1372
|
+
string;
|
|
1086
1373
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
|
|
1087
|
-
parent:
|
|
1374
|
+
parent:
|
|
1375
|
+
string;
|
|
1088
1376
|
/** Returns response with indentations and line breaks. */
|
|
1089
|
-
prettyPrint?:
|
|
1377
|
+
prettyPrint?:
|
|
1378
|
+
boolean;
|
|
1090
1379
|
/** 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. */
|
|
1091
|
-
quotaUser?:
|
|
1380
|
+
quotaUser?:
|
|
1381
|
+
string;
|
|
1092
1382
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1093
|
-
upload_protocol?:
|
|
1383
|
+
upload_protocol?:
|
|
1384
|
+
string;
|
|
1094
1385
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1095
|
-
uploadType?:
|
|
1386
|
+
uploadType?:
|
|
1387
|
+
string;
|
|
1096
1388
|
/** Request body */
|
|
1097
|
-
resource:
|
|
1389
|
+
resource:
|
|
1390
|
+
LeaseTasksRequest;
|
|
1098
1391
|
}): Request<LeaseTasksResponse>;
|
|
1099
1392
|
lease(request: {
|
|
1100
1393
|
/** V1 error format. */
|
|
1101
|
-
"$.xgafv"?:
|
|
1394
|
+
"$.xgafv"?:
|
|
1395
|
+
string;
|
|
1102
1396
|
/** OAuth access token. */
|
|
1103
|
-
access_token?:
|
|
1397
|
+
access_token?:
|
|
1398
|
+
string;
|
|
1104
1399
|
/** Data format for response. */
|
|
1105
|
-
alt?:
|
|
1400
|
+
alt?:
|
|
1401
|
+
string;
|
|
1106
1402
|
/** JSONP */
|
|
1107
|
-
callback?:
|
|
1403
|
+
callback?:
|
|
1404
|
+
string;
|
|
1108
1405
|
/** Selector specifying which fields to include in a partial response. */
|
|
1109
|
-
fields?:
|
|
1406
|
+
fields?:
|
|
1407
|
+
string;
|
|
1110
1408
|
/** 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. */
|
|
1111
|
-
key?:
|
|
1409
|
+
key?:
|
|
1410
|
+
string;
|
|
1112
1411
|
/** OAuth 2.0 token for the current user. */
|
|
1113
|
-
oauth_token?:
|
|
1412
|
+
oauth_token?:
|
|
1413
|
+
string;
|
|
1114
1414
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
|
|
1115
|
-
parent:
|
|
1415
|
+
parent:
|
|
1416
|
+
string;
|
|
1116
1417
|
/** Returns response with indentations and line breaks. */
|
|
1117
|
-
prettyPrint?:
|
|
1418
|
+
prettyPrint?:
|
|
1419
|
+
boolean;
|
|
1118
1420
|
/** 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?:
|
|
1421
|
+
quotaUser?:
|
|
1422
|
+
string;
|
|
1120
1423
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1121
|
-
upload_protocol?:
|
|
1424
|
+
upload_protocol?:
|
|
1425
|
+
string;
|
|
1122
1426
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1123
|
-
uploadType?:
|
|
1427
|
+
uploadType?:
|
|
1428
|
+
string;
|
|
1124
1429
|
},
|
|
1125
1430
|
body: LeaseTasksRequest): Request<LeaseTasksResponse>;
|
|
1126
1431
|
/**
|
|
@@ -1129,45 +1434,60 @@ declare namespace gapi.client {
|
|
|
1129
1434
|
*/
|
|
1130
1435
|
list(request?: {
|
|
1131
1436
|
/** V1 error format. */
|
|
1132
|
-
"$.xgafv"?:
|
|
1437
|
+
"$.xgafv"?:
|
|
1438
|
+
string;
|
|
1133
1439
|
/** OAuth access token. */
|
|
1134
|
-
access_token?:
|
|
1440
|
+
access_token?:
|
|
1441
|
+
string;
|
|
1135
1442
|
/** Data format for response. */
|
|
1136
|
-
alt?:
|
|
1443
|
+
alt?:
|
|
1444
|
+
string;
|
|
1137
1445
|
/** JSONP */
|
|
1138
|
-
callback?:
|
|
1446
|
+
callback?:
|
|
1447
|
+
string;
|
|
1139
1448
|
/** Selector specifying which fields to include in a partial response. */
|
|
1140
|
-
fields?:
|
|
1449
|
+
fields?:
|
|
1450
|
+
string;
|
|
1141
1451
|
/** 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. */
|
|
1142
|
-
key?:
|
|
1452
|
+
key?:
|
|
1453
|
+
string;
|
|
1143
1454
|
/** OAuth 2.0 token for the current user. */
|
|
1144
|
-
oauth_token?:
|
|
1455
|
+
oauth_token?:
|
|
1456
|
+
string;
|
|
1145
1457
|
/**
|
|
1146
1458
|
* 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
|
|
1147
1459
|
* size is 1000. If unspecified, the page size will be the maximum.
|
|
1148
1460
|
*/
|
|
1149
|
-
pageSize?:
|
|
1461
|
+
pageSize?:
|
|
1462
|
+
number;
|
|
1150
1463
|
/**
|
|
1151
1464
|
* 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
|
|
1152
1465
|
* of next_page_token returned from the previous call to ListTasks method. The page token is valid for only 2 hours.
|
|
1153
1466
|
*/
|
|
1154
|
-
pageToken?:
|
|
1467
|
+
pageToken?:
|
|
1468
|
+
string;
|
|
1155
1469
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
|
|
1156
|
-
parent:
|
|
1470
|
+
parent:
|
|
1471
|
+
string;
|
|
1157
1472
|
/** Returns response with indentations and line breaks. */
|
|
1158
|
-
prettyPrint?:
|
|
1473
|
+
prettyPrint?:
|
|
1474
|
+
boolean;
|
|
1159
1475
|
/** 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. */
|
|
1160
|
-
quotaUser?:
|
|
1476
|
+
quotaUser?:
|
|
1477
|
+
string;
|
|
1161
1478
|
/**
|
|
1162
1479
|
* 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
|
|
1163
1480
|
* 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
|
|
1164
1481
|
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) permission on the Task resource.
|
|
1165
1482
|
*/
|
|
1166
|
-
responseView?:
|
|
1483
|
+
responseView?:
|
|
1484
|
+
string;
|
|
1167
1485
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1168
|
-
upload_protocol?:
|
|
1486
|
+
upload_protocol?:
|
|
1487
|
+
string;
|
|
1169
1488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1170
|
-
uploadType?:
|
|
1489
|
+
uploadType?:
|
|
1490
|
+
string;
|
|
1171
1491
|
}): Request<ListTasksResponse>;
|
|
1172
1492
|
/**
|
|
1173
1493
|
* Renew the current lease of a pull task. The worker can use this method to extend the lease by a new duration, starting from now. The new task lease will be returned in the task's
|
|
@@ -1175,57 +1495,82 @@ declare namespace gapi.client {
|
|
|
1175
1495
|
*/
|
|
1176
1496
|
renewLease(request: {
|
|
1177
1497
|
/** V1 error format. */
|
|
1178
|
-
"$.xgafv"?:
|
|
1498
|
+
"$.xgafv"?:
|
|
1499
|
+
string;
|
|
1179
1500
|
/** OAuth access token. */
|
|
1180
|
-
access_token?:
|
|
1501
|
+
access_token?:
|
|
1502
|
+
string;
|
|
1181
1503
|
/** Data format for response. */
|
|
1182
|
-
alt?:
|
|
1504
|
+
alt?:
|
|
1505
|
+
string;
|
|
1183
1506
|
/** JSONP */
|
|
1184
|
-
callback?:
|
|
1507
|
+
callback?:
|
|
1508
|
+
string;
|
|
1185
1509
|
/** Selector specifying which fields to include in a partial response. */
|
|
1186
|
-
fields?:
|
|
1510
|
+
fields?:
|
|
1511
|
+
string;
|
|
1187
1512
|
/** 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. */
|
|
1188
|
-
key?:
|
|
1513
|
+
key?:
|
|
1514
|
+
string;
|
|
1189
1515
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1190
|
-
name:
|
|
1516
|
+
name:
|
|
1517
|
+
string;
|
|
1191
1518
|
/** OAuth 2.0 token for the current user. */
|
|
1192
|
-
oauth_token?:
|
|
1519
|
+
oauth_token?:
|
|
1520
|
+
string;
|
|
1193
1521
|
/** Returns response with indentations and line breaks. */
|
|
1194
|
-
prettyPrint?:
|
|
1522
|
+
prettyPrint?:
|
|
1523
|
+
boolean;
|
|
1195
1524
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1196
|
-
quotaUser?:
|
|
1525
|
+
quotaUser?:
|
|
1526
|
+
string;
|
|
1197
1527
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1198
|
-
upload_protocol?:
|
|
1528
|
+
upload_protocol?:
|
|
1529
|
+
string;
|
|
1199
1530
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1200
|
-
uploadType?:
|
|
1531
|
+
uploadType?:
|
|
1532
|
+
string;
|
|
1201
1533
|
/** Request body */
|
|
1202
|
-
resource:
|
|
1534
|
+
resource:
|
|
1535
|
+
RenewLeaseRequest;
|
|
1203
1536
|
}): Request<Task>;
|
|
1204
1537
|
renewLease(request: {
|
|
1205
1538
|
/** V1 error format. */
|
|
1206
|
-
"$.xgafv"?:
|
|
1539
|
+
"$.xgafv"?:
|
|
1540
|
+
string;
|
|
1207
1541
|
/** OAuth access token. */
|
|
1208
|
-
access_token?:
|
|
1542
|
+
access_token?:
|
|
1543
|
+
string;
|
|
1209
1544
|
/** Data format for response. */
|
|
1210
|
-
alt?:
|
|
1545
|
+
alt?:
|
|
1546
|
+
string;
|
|
1211
1547
|
/** JSONP */
|
|
1212
|
-
callback?:
|
|
1548
|
+
callback?:
|
|
1549
|
+
string;
|
|
1213
1550
|
/** Selector specifying which fields to include in a partial response. */
|
|
1214
|
-
fields?:
|
|
1551
|
+
fields?:
|
|
1552
|
+
string;
|
|
1215
1553
|
/** 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. */
|
|
1216
|
-
key?:
|
|
1554
|
+
key?:
|
|
1555
|
+
string;
|
|
1217
1556
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1218
|
-
name:
|
|
1557
|
+
name:
|
|
1558
|
+
string;
|
|
1219
1559
|
/** OAuth 2.0 token for the current user. */
|
|
1220
|
-
oauth_token?:
|
|
1560
|
+
oauth_token?:
|
|
1561
|
+
string;
|
|
1221
1562
|
/** Returns response with indentations and line breaks. */
|
|
1222
|
-
prettyPrint?:
|
|
1563
|
+
prettyPrint?:
|
|
1564
|
+
boolean;
|
|
1223
1565
|
/** 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. */
|
|
1224
|
-
quotaUser?:
|
|
1566
|
+
quotaUser?:
|
|
1567
|
+
string;
|
|
1225
1568
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1226
|
-
upload_protocol?:
|
|
1569
|
+
upload_protocol?:
|
|
1570
|
+
string;
|
|
1227
1571
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1228
|
-
uploadType?:
|
|
1572
|
+
uploadType?:
|
|
1573
|
+
string;
|
|
1229
1574
|
},
|
|
1230
1575
|
body: RenewLeaseRequest): Request<Task>;
|
|
1231
1576
|
/**
|
|
@@ -1238,57 +1583,82 @@ declare namespace gapi.client {
|
|
|
1238
1583
|
*/
|
|
1239
1584
|
run(request: {
|
|
1240
1585
|
/** V1 error format. */
|
|
1241
|
-
"$.xgafv"?:
|
|
1586
|
+
"$.xgafv"?:
|
|
1587
|
+
string;
|
|
1242
1588
|
/** OAuth access token. */
|
|
1243
|
-
access_token?:
|
|
1589
|
+
access_token?:
|
|
1590
|
+
string;
|
|
1244
1591
|
/** Data format for response. */
|
|
1245
|
-
alt?:
|
|
1592
|
+
alt?:
|
|
1593
|
+
string;
|
|
1246
1594
|
/** JSONP */
|
|
1247
|
-
callback?:
|
|
1595
|
+
callback?:
|
|
1596
|
+
string;
|
|
1248
1597
|
/** Selector specifying which fields to include in a partial response. */
|
|
1249
|
-
fields?:
|
|
1598
|
+
fields?:
|
|
1599
|
+
string;
|
|
1250
1600
|
/** 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?:
|
|
1601
|
+
key?:
|
|
1602
|
+
string;
|
|
1252
1603
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1253
|
-
name:
|
|
1604
|
+
name:
|
|
1605
|
+
string;
|
|
1254
1606
|
/** OAuth 2.0 token for the current user. */
|
|
1255
|
-
oauth_token?:
|
|
1607
|
+
oauth_token?:
|
|
1608
|
+
string;
|
|
1256
1609
|
/** Returns response with indentations and line breaks. */
|
|
1257
|
-
prettyPrint?:
|
|
1610
|
+
prettyPrint?:
|
|
1611
|
+
boolean;
|
|
1258
1612
|
/** 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?:
|
|
1613
|
+
quotaUser?:
|
|
1614
|
+
string;
|
|
1260
1615
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1261
|
-
upload_protocol?:
|
|
1616
|
+
upload_protocol?:
|
|
1617
|
+
string;
|
|
1262
1618
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1263
|
-
uploadType?:
|
|
1619
|
+
uploadType?:
|
|
1620
|
+
string;
|
|
1264
1621
|
/** Request body */
|
|
1265
|
-
resource:
|
|
1622
|
+
resource:
|
|
1623
|
+
RunTaskRequest;
|
|
1266
1624
|
}): Request<Task>;
|
|
1267
1625
|
run(request: {
|
|
1268
1626
|
/** V1 error format. */
|
|
1269
|
-
"$.xgafv"?:
|
|
1627
|
+
"$.xgafv"?:
|
|
1628
|
+
string;
|
|
1270
1629
|
/** OAuth access token. */
|
|
1271
|
-
access_token?:
|
|
1630
|
+
access_token?:
|
|
1631
|
+
string;
|
|
1272
1632
|
/** Data format for response. */
|
|
1273
|
-
alt?:
|
|
1633
|
+
alt?:
|
|
1634
|
+
string;
|
|
1274
1635
|
/** JSONP */
|
|
1275
|
-
callback?:
|
|
1636
|
+
callback?:
|
|
1637
|
+
string;
|
|
1276
1638
|
/** Selector specifying which fields to include in a partial response. */
|
|
1277
|
-
fields?:
|
|
1639
|
+
fields?:
|
|
1640
|
+
string;
|
|
1278
1641
|
/** 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. */
|
|
1279
|
-
key?:
|
|
1642
|
+
key?:
|
|
1643
|
+
string;
|
|
1280
1644
|
/** Required. The task name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */
|
|
1281
|
-
name:
|
|
1645
|
+
name:
|
|
1646
|
+
string;
|
|
1282
1647
|
/** OAuth 2.0 token for the current user. */
|
|
1283
|
-
oauth_token?:
|
|
1648
|
+
oauth_token?:
|
|
1649
|
+
string;
|
|
1284
1650
|
/** Returns response with indentations and line breaks. */
|
|
1285
|
-
prettyPrint?:
|
|
1651
|
+
prettyPrint?:
|
|
1652
|
+
boolean;
|
|
1286
1653
|
/** 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. */
|
|
1287
|
-
quotaUser?:
|
|
1654
|
+
quotaUser?:
|
|
1655
|
+
string;
|
|
1288
1656
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1289
|
-
upload_protocol?:
|
|
1657
|
+
upload_protocol?:
|
|
1658
|
+
string;
|
|
1290
1659
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1291
|
-
uploadType?:
|
|
1660
|
+
uploadType?:
|
|
1661
|
+
string;
|
|
1292
1662
|
},
|
|
1293
1663
|
body: RunTaskRequest): Request<Task>;
|
|
1294
1664
|
}
|
|
@@ -1300,63 +1670,88 @@ declare namespace gapi.client {
|
|
|
1300
1670
|
*/
|
|
1301
1671
|
create(request: {
|
|
1302
1672
|
/** V1 error format. */
|
|
1303
|
-
"$.xgafv"?:
|
|
1673
|
+
"$.xgafv"?:
|
|
1674
|
+
string;
|
|
1304
1675
|
/** OAuth access token. */
|
|
1305
|
-
access_token?:
|
|
1676
|
+
access_token?:
|
|
1677
|
+
string;
|
|
1306
1678
|
/** Data format for response. */
|
|
1307
|
-
alt?:
|
|
1679
|
+
alt?:
|
|
1680
|
+
string;
|
|
1308
1681
|
/** JSONP */
|
|
1309
|
-
callback?:
|
|
1682
|
+
callback?:
|
|
1683
|
+
string;
|
|
1310
1684
|
/** Selector specifying which fields to include in a partial response. */
|
|
1311
|
-
fields?:
|
|
1685
|
+
fields?:
|
|
1686
|
+
string;
|
|
1312
1687
|
/** 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. */
|
|
1313
|
-
key?:
|
|
1688
|
+
key?:
|
|
1689
|
+
string;
|
|
1314
1690
|
/** OAuth 2.0 token for the current user. */
|
|
1315
|
-
oauth_token?:
|
|
1691
|
+
oauth_token?:
|
|
1692
|
+
string;
|
|
1316
1693
|
/**
|
|
1317
1694
|
* 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
|
|
1318
1695
|
* Cloud Tasks' implementation of ListLocations.
|
|
1319
1696
|
*/
|
|
1320
|
-
parent:
|
|
1697
|
+
parent:
|
|
1698
|
+
string;
|
|
1321
1699
|
/** Returns response with indentations and line breaks. */
|
|
1322
|
-
prettyPrint?:
|
|
1700
|
+
prettyPrint?:
|
|
1701
|
+
boolean;
|
|
1323
1702
|
/** 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. */
|
|
1324
|
-
quotaUser?:
|
|
1703
|
+
quotaUser?:
|
|
1704
|
+
string;
|
|
1325
1705
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1326
|
-
upload_protocol?:
|
|
1706
|
+
upload_protocol?:
|
|
1707
|
+
string;
|
|
1327
1708
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1328
|
-
uploadType?:
|
|
1709
|
+
uploadType?:
|
|
1710
|
+
string;
|
|
1329
1711
|
/** Request body */
|
|
1330
|
-
resource:
|
|
1712
|
+
resource:
|
|
1713
|
+
Queue;
|
|
1331
1714
|
}): Request<Queue>;
|
|
1332
1715
|
create(request: {
|
|
1333
1716
|
/** V1 error format. */
|
|
1334
|
-
"$.xgafv"?:
|
|
1717
|
+
"$.xgafv"?:
|
|
1718
|
+
string;
|
|
1335
1719
|
/** OAuth access token. */
|
|
1336
|
-
access_token?:
|
|
1720
|
+
access_token?:
|
|
1721
|
+
string;
|
|
1337
1722
|
/** Data format for response. */
|
|
1338
|
-
alt?:
|
|
1723
|
+
alt?:
|
|
1724
|
+
string;
|
|
1339
1725
|
/** JSONP */
|
|
1340
|
-
callback?:
|
|
1726
|
+
callback?:
|
|
1727
|
+
string;
|
|
1341
1728
|
/** Selector specifying which fields to include in a partial response. */
|
|
1342
|
-
fields?:
|
|
1729
|
+
fields?:
|
|
1730
|
+
string;
|
|
1343
1731
|
/** 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. */
|
|
1344
|
-
key?:
|
|
1732
|
+
key?:
|
|
1733
|
+
string;
|
|
1345
1734
|
/** OAuth 2.0 token for the current user. */
|
|
1346
|
-
oauth_token?:
|
|
1735
|
+
oauth_token?:
|
|
1736
|
+
string;
|
|
1347
1737
|
/**
|
|
1348
1738
|
* 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
|
|
1349
1739
|
* Cloud Tasks' implementation of ListLocations.
|
|
1350
1740
|
*/
|
|
1351
|
-
parent:
|
|
1741
|
+
parent:
|
|
1742
|
+
string;
|
|
1352
1743
|
/** Returns response with indentations and line breaks. */
|
|
1353
|
-
prettyPrint?:
|
|
1744
|
+
prettyPrint?:
|
|
1745
|
+
boolean;
|
|
1354
1746
|
/** 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. */
|
|
1355
|
-
quotaUser?:
|
|
1747
|
+
quotaUser?:
|
|
1748
|
+
string;
|
|
1356
1749
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1357
|
-
upload_protocol?:
|
|
1750
|
+
upload_protocol?:
|
|
1751
|
+
string;
|
|
1358
1752
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1359
|
-
uploadType?:
|
|
1753
|
+
uploadType?:
|
|
1754
|
+
string;
|
|
1360
1755
|
},
|
|
1361
1756
|
body: Queue): Request<Queue>;
|
|
1362
1757
|
/**
|
|
@@ -1366,61 +1761,86 @@ declare namespace gapi.client {
|
|
|
1366
1761
|
*/
|
|
1367
1762
|
delete(request?: {
|
|
1368
1763
|
/** V1 error format. */
|
|
1369
|
-
"$.xgafv"?:
|
|
1764
|
+
"$.xgafv"?:
|
|
1765
|
+
string;
|
|
1370
1766
|
/** OAuth access token. */
|
|
1371
|
-
access_token?:
|
|
1767
|
+
access_token?:
|
|
1768
|
+
string;
|
|
1372
1769
|
/** Data format for response. */
|
|
1373
|
-
alt?:
|
|
1770
|
+
alt?:
|
|
1771
|
+
string;
|
|
1374
1772
|
/** JSONP */
|
|
1375
|
-
callback?:
|
|
1773
|
+
callback?:
|
|
1774
|
+
string;
|
|
1376
1775
|
/** Selector specifying which fields to include in a partial response. */
|
|
1377
|
-
fields?:
|
|
1776
|
+
fields?:
|
|
1777
|
+
string;
|
|
1378
1778
|
/** 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. */
|
|
1379
|
-
key?:
|
|
1779
|
+
key?:
|
|
1780
|
+
string;
|
|
1380
1781
|
/** Required. The queue name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
|
|
1381
|
-
name:
|
|
1782
|
+
name:
|
|
1783
|
+
string;
|
|
1382
1784
|
/** OAuth 2.0 token for the current user. */
|
|
1383
|
-
oauth_token?:
|
|
1785
|
+
oauth_token?:
|
|
1786
|
+
string;
|
|
1384
1787
|
/** Returns response with indentations and line breaks. */
|
|
1385
|
-
prettyPrint?:
|
|
1788
|
+
prettyPrint?:
|
|
1789
|
+
boolean;
|
|
1386
1790
|
/** 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. */
|
|
1387
|
-
quotaUser?:
|
|
1791
|
+
quotaUser?:
|
|
1792
|
+
string;
|
|
1388
1793
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1389
|
-
upload_protocol?:
|
|
1794
|
+
upload_protocol?:
|
|
1795
|
+
string;
|
|
1390
1796
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1391
|
-
uploadType?:
|
|
1797
|
+
uploadType?:
|
|
1798
|
+
string;
|
|
1392
1799
|
}): Request<{}>;
|
|
1393
1800
|
/** Gets a queue. */
|
|
1394
1801
|
get(request?: {
|
|
1395
1802
|
/** V1 error format. */
|
|
1396
|
-
"$.xgafv"?:
|
|
1803
|
+
"$.xgafv"?:
|
|
1804
|
+
string;
|
|
1397
1805
|
/** OAuth access token. */
|
|
1398
|
-
access_token?:
|
|
1806
|
+
access_token?:
|
|
1807
|
+
string;
|
|
1399
1808
|
/** Data format for response. */
|
|
1400
|
-
alt?:
|
|
1809
|
+
alt?:
|
|
1810
|
+
string;
|
|
1401
1811
|
/** JSONP */
|
|
1402
|
-
callback?:
|
|
1812
|
+
callback?:
|
|
1813
|
+
string;
|
|
1403
1814
|
/** Selector specifying which fields to include in a partial response. */
|
|
1404
|
-
fields?:
|
|
1815
|
+
fields?:
|
|
1816
|
+
string;
|
|
1405
1817
|
/** 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. */
|
|
1406
|
-
key?:
|
|
1818
|
+
key?:
|
|
1819
|
+
string;
|
|
1407
1820
|
/** Required. The resource name of the queue. For example: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */
|
|
1408
|
-
name:
|
|
1821
|
+
name:
|
|
1822
|
+
string;
|
|
1409
1823
|
/** OAuth 2.0 token for the current user. */
|
|
1410
|
-
oauth_token?:
|
|
1824
|
+
oauth_token?:
|
|
1825
|
+
string;
|
|
1411
1826
|
/** Returns response with indentations and line breaks. */
|
|
1412
|
-
prettyPrint?:
|
|
1827
|
+
prettyPrint?:
|
|
1828
|
+
boolean;
|
|
1413
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. */
|
|
1414
|
-
quotaUser?:
|
|
1830
|
+
quotaUser?:
|
|
1831
|
+
string;
|
|
1415
1832
|
/**
|
|
1416
1833
|
* 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]
|
|
1417
1834
|
* will be returned only if it was explicitly specified in the mask.
|
|
1418
1835
|
*/
|
|
1419
|
-
readMask?:
|
|
1836
|
+
readMask?:
|
|
1837
|
+
string;
|
|
1420
1838
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1421
|
-
upload_protocol?:
|
|
1839
|
+
upload_protocol?:
|
|
1840
|
+
string;
|
|
1422
1841
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1423
|
-
uploadType?:
|
|
1842
|
+
uploadType?:
|
|
1843
|
+
string;
|
|
1424
1844
|
}): Request<Queue>;
|
|
1425
1845
|
/**
|
|
1426
1846
|
* 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
|
|
@@ -1428,81 +1848,109 @@ declare namespace gapi.client {
|
|
|
1428
1848
|
*/
|
|
1429
1849
|
getIamPolicy(request: {
|
|
1430
1850
|
/** V1 error format. */
|
|
1431
|
-
"$.xgafv"?:
|
|
1851
|
+
"$.xgafv"?:
|
|
1852
|
+
string;
|
|
1432
1853
|
/** OAuth access token. */
|
|
1433
|
-
access_token?:
|
|
1854
|
+
access_token?:
|
|
1855
|
+
string;
|
|
1434
1856
|
/** Data format for response. */
|
|
1435
|
-
alt?:
|
|
1857
|
+
alt?:
|
|
1858
|
+
string;
|
|
1436
1859
|
/** JSONP */
|
|
1437
|
-
callback?:
|
|
1860
|
+
callback?:
|
|
1861
|
+
string;
|
|
1438
1862
|
/** Selector specifying which fields to include in a partial response. */
|
|
1439
|
-
fields?:
|
|
1863
|
+
fields?:
|
|
1864
|
+
string;
|
|
1440
1865
|
/** 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. */
|
|
1441
|
-
key?:
|
|
1866
|
+
key?:
|
|
1867
|
+
string;
|
|
1442
1868
|
/** OAuth 2.0 token for the current user. */
|
|
1443
|
-
oauth_token?:
|
|
1869
|
+
oauth_token?:
|
|
1870
|
+
string;
|
|
1444
1871
|
/** Returns response with indentations and line breaks. */
|
|
1445
|
-
prettyPrint?:
|
|
1872
|
+
prettyPrint?:
|
|
1873
|
+
boolean;
|
|
1446
1874
|
/** 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. */
|
|
1447
|
-
quotaUser?:
|
|
1875
|
+
quotaUser?:
|
|
1876
|
+
string;
|
|
1448
1877
|
/**
|
|
1449
1878
|
* 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
|
|
1450
1879
|
* field.
|
|
1451
1880
|
*/
|
|
1452
|
-
resource:
|
|
1881
|
+
resource:
|
|
1882
|
+
string;
|
|
1453
1883
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1454
|
-
upload_protocol?:
|
|
1884
|
+
upload_protocol?:
|
|
1885
|
+
string;
|
|
1455
1886
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1456
|
-
uploadType?:
|
|
1887
|
+
uploadType?:
|
|
1888
|
+
string;
|
|
1457
1889
|
},
|
|
1458
1890
|
body: GetIamPolicyRequest): Request<Policy>;
|
|
1459
1891
|
/** Lists queues. Queues are returned in lexicographical order. */
|
|
1460
1892
|
list(request?: {
|
|
1461
1893
|
/** V1 error format. */
|
|
1462
|
-
"$.xgafv"?:
|
|
1894
|
+
"$.xgafv"?:
|
|
1895
|
+
string;
|
|
1463
1896
|
/** OAuth access token. */
|
|
1464
|
-
access_token?:
|
|
1897
|
+
access_token?:
|
|
1898
|
+
string;
|
|
1465
1899
|
/** Data format for response. */
|
|
1466
|
-
alt?:
|
|
1900
|
+
alt?:
|
|
1901
|
+
string;
|
|
1467
1902
|
/** JSONP */
|
|
1468
|
-
callback?:
|
|
1903
|
+
callback?:
|
|
1904
|
+
string;
|
|
1469
1905
|
/** Selector specifying which fields to include in a partial response. */
|
|
1470
|
-
fields?:
|
|
1906
|
+
fields?:
|
|
1907
|
+
string;
|
|
1471
1908
|
/**
|
|
1472
1909
|
* `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
|
|
1473
1910
|
* syntax is the same as described in [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). Sample filter "app_engine_http_target: *".
|
|
1474
1911
|
* Note that using filters might cause fewer queues than the requested_page size to be returned.
|
|
1475
1912
|
*/
|
|
1476
|
-
filter?:
|
|
1913
|
+
filter?:
|
|
1914
|
+
string;
|
|
1477
1915
|
/** 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. */
|
|
1478
|
-
key?:
|
|
1916
|
+
key?:
|
|
1917
|
+
string;
|
|
1479
1918
|
/** OAuth 2.0 token for the current user. */
|
|
1480
|
-
oauth_token?:
|
|
1919
|
+
oauth_token?:
|
|
1920
|
+
string;
|
|
1481
1921
|
/**
|
|
1482
1922
|
* 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;
|
|
1483
1923
|
* use the next_page_token in the response to determine if more queues exist.
|
|
1484
1924
|
*/
|
|
1485
|
-
pageSize?:
|
|
1925
|
+
pageSize?:
|
|
1926
|
+
number;
|
|
1486
1927
|
/**
|
|
1487
1928
|
* 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
|
|
1488
1929
|
* 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.
|
|
1489
1930
|
*/
|
|
1490
|
-
pageToken?:
|
|
1931
|
+
pageToken?:
|
|
1932
|
+
string;
|
|
1491
1933
|
/** Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID` */
|
|
1492
|
-
parent:
|
|
1934
|
+
parent:
|
|
1935
|
+
string;
|
|
1493
1936
|
/** Returns response with indentations and line breaks. */
|
|
1494
|
-
prettyPrint?:
|
|
1937
|
+
prettyPrint?:
|
|
1938
|
+
boolean;
|
|
1495
1939
|
/** 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. */
|
|
1496
|
-
quotaUser?:
|
|
1940
|
+
quotaUser?:
|
|
1941
|
+
string;
|
|
1497
1942
|
/**
|
|
1498
1943
|
* 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]
|
|
1499
1944
|
* will be returned only if it was explicitly specified in the mask.
|
|
1500
1945
|
*/
|
|
1501
|
-
readMask?:
|
|
1946
|
+
readMask?:
|
|
1947
|
+
string;
|
|
1502
1948
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1503
|
-
upload_protocol?:
|
|
1949
|
+
upload_protocol?:
|
|
1950
|
+
string;
|
|
1504
1951
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1505
|
-
uploadType?:
|
|
1952
|
+
uploadType?:
|
|
1953
|
+
string;
|
|
1506
1954
|
}): Request<ListQueuesResponse>;
|
|
1507
1955
|
/**
|
|
1508
1956
|
* 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
|
|
@@ -1512,17 +1960,23 @@ declare namespace gapi.client {
|
|
|
1512
1960
|
*/
|
|
1513
1961
|
patch(request: {
|
|
1514
1962
|
/** V1 error format. */
|
|
1515
|
-
"$.xgafv"?:
|
|
1963
|
+
"$.xgafv"?:
|
|
1964
|
+
string;
|
|
1516
1965
|
/** OAuth access token. */
|
|
1517
|
-
access_token?:
|
|
1966
|
+
access_token?:
|
|
1967
|
+
string;
|
|
1518
1968
|
/** Data format for response. */
|
|
1519
|
-
alt?:
|
|
1969
|
+
alt?:
|
|
1970
|
+
string;
|
|
1520
1971
|
/** JSONP */
|
|
1521
|
-
callback?:
|
|
1972
|
+
callback?:
|
|
1973
|
+
string;
|
|
1522
1974
|
/** Selector specifying which fields to include in a partial response. */
|
|
1523
|
-
fields?:
|
|
1975
|
+
fields?:
|
|
1976
|
+
string;
|
|
1524
1977
|
/** 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. */
|
|
1525
|
-
key?:
|
|
1978
|
+
key?:
|
|
1979
|
+
string;
|
|
1526
1980
|
/**
|
|
1527
1981
|
* Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
|
|
1528
1982
|
* `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
|
|
@@ -1530,35 +1984,49 @@ declare namespace gapi.client {
|
|
|
1530
1984
|
* 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`
|
|
1531
1985
|
* can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
|
|
1532
1986
|
*/
|
|
1533
|
-
name:
|
|
1987
|
+
name:
|
|
1988
|
+
string;
|
|
1534
1989
|
/** OAuth 2.0 token for the current user. */
|
|
1535
|
-
oauth_token?:
|
|
1990
|
+
oauth_token?:
|
|
1991
|
+
string;
|
|
1536
1992
|
/** Returns response with indentations and line breaks. */
|
|
1537
|
-
prettyPrint?:
|
|
1993
|
+
prettyPrint?:
|
|
1994
|
+
boolean;
|
|
1538
1995
|
/** 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. */
|
|
1539
|
-
quotaUser?:
|
|
1996
|
+
quotaUser?:
|
|
1997
|
+
string;
|
|
1540
1998
|
/** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
|
|
1541
|
-
updateMask?:
|
|
1999
|
+
updateMask?:
|
|
2000
|
+
string;
|
|
1542
2001
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1543
|
-
upload_protocol?:
|
|
2002
|
+
upload_protocol?:
|
|
2003
|
+
string;
|
|
1544
2004
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1545
|
-
uploadType?:
|
|
2005
|
+
uploadType?:
|
|
2006
|
+
string;
|
|
1546
2007
|
/** Request body */
|
|
1547
|
-
resource:
|
|
2008
|
+
resource:
|
|
2009
|
+
Queue;
|
|
1548
2010
|
}): Request<Queue>;
|
|
1549
2011
|
patch(request: {
|
|
1550
2012
|
/** V1 error format. */
|
|
1551
|
-
"$.xgafv"?:
|
|
2013
|
+
"$.xgafv"?:
|
|
2014
|
+
string;
|
|
1552
2015
|
/** OAuth access token. */
|
|
1553
|
-
access_token?:
|
|
2016
|
+
access_token?:
|
|
2017
|
+
string;
|
|
1554
2018
|
/** Data format for response. */
|
|
1555
|
-
alt?:
|
|
2019
|
+
alt?:
|
|
2020
|
+
string;
|
|
1556
2021
|
/** JSONP */
|
|
1557
|
-
callback?:
|
|
2022
|
+
callback?:
|
|
2023
|
+
string;
|
|
1558
2024
|
/** Selector specifying which fields to include in a partial response. */
|
|
1559
|
-
fields?:
|
|
2025
|
+
fields?:
|
|
2026
|
+
string;
|
|
1560
2027
|
/** 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. */
|
|
1561
|
-
key?:
|
|
2028
|
+
key?:
|
|
2029
|
+
string;
|
|
1562
2030
|
/**
|
|
1563
2031
|
* Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format:
|
|
1564
2032
|
* `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
|
|
@@ -1566,19 +2034,26 @@ declare namespace gapi.client {
|
|
|
1566
2034
|
* 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`
|
|
1567
2035
|
* can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters.
|
|
1568
2036
|
*/
|
|
1569
|
-
name:
|
|
2037
|
+
name:
|
|
2038
|
+
string;
|
|
1570
2039
|
/** OAuth 2.0 token for the current user. */
|
|
1571
|
-
oauth_token?:
|
|
2040
|
+
oauth_token?:
|
|
2041
|
+
string;
|
|
1572
2042
|
/** Returns response with indentations and line breaks. */
|
|
1573
|
-
prettyPrint?:
|
|
2043
|
+
prettyPrint?:
|
|
2044
|
+
boolean;
|
|
1574
2045
|
/** 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. */
|
|
1575
|
-
quotaUser?:
|
|
2046
|
+
quotaUser?:
|
|
2047
|
+
string;
|
|
1576
2048
|
/** A mask used to specify which fields of the queue are being updated. If empty, then all fields will be updated. */
|
|
1577
|
-
updateMask?:
|
|
2049
|
+
updateMask?:
|
|
2050
|
+
string;
|
|
1578
2051
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1579
|
-
upload_protocol?:
|
|
2052
|
+
upload_protocol?:
|
|
2053
|
+
string;
|
|
1580
2054
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1581
|
-
uploadType?:
|
|
2055
|
+
uploadType?:
|
|
2056
|
+
string;
|
|
1582
2057
|
},
|
|
1583
2058
|
body: Queue): Request<Queue>;
|
|
1584
2059
|
/**
|
|
@@ -1587,57 +2062,82 @@ declare namespace gapi.client {
|
|
|
1587
2062
|
*/
|
|
1588
2063
|
pause(request: {
|
|
1589
2064
|
/** V1 error format. */
|
|
1590
|
-
"$.xgafv"?:
|
|
2065
|
+
"$.xgafv"?:
|
|
2066
|
+
string;
|
|
1591
2067
|
/** OAuth access token. */
|
|
1592
|
-
access_token?:
|
|
2068
|
+
access_token?:
|
|
2069
|
+
string;
|
|
1593
2070
|
/** Data format for response. */
|
|
1594
|
-
alt?:
|
|
2071
|
+
alt?:
|
|
2072
|
+
string;
|
|
1595
2073
|
/** JSONP */
|
|
1596
|
-
callback?:
|
|
2074
|
+
callback?:
|
|
2075
|
+
string;
|
|
1597
2076
|
/** Selector specifying which fields to include in a partial response. */
|
|
1598
|
-
fields?:
|
|
2077
|
+
fields?:
|
|
2078
|
+
string;
|
|
1599
2079
|
/** 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. */
|
|
1600
|
-
key?:
|
|
2080
|
+
key?:
|
|
2081
|
+
string;
|
|
1601
2082
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1602
|
-
name:
|
|
2083
|
+
name:
|
|
2084
|
+
string;
|
|
1603
2085
|
/** OAuth 2.0 token for the current user. */
|
|
1604
|
-
oauth_token?:
|
|
2086
|
+
oauth_token?:
|
|
2087
|
+
string;
|
|
1605
2088
|
/** Returns response with indentations and line breaks. */
|
|
1606
|
-
prettyPrint?:
|
|
2089
|
+
prettyPrint?:
|
|
2090
|
+
boolean;
|
|
1607
2091
|
/** 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. */
|
|
1608
|
-
quotaUser?:
|
|
2092
|
+
quotaUser?:
|
|
2093
|
+
string;
|
|
1609
2094
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1610
|
-
upload_protocol?:
|
|
2095
|
+
upload_protocol?:
|
|
2096
|
+
string;
|
|
1611
2097
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1612
|
-
uploadType?:
|
|
2098
|
+
uploadType?:
|
|
2099
|
+
string;
|
|
1613
2100
|
/** Request body */
|
|
1614
|
-
resource:
|
|
2101
|
+
resource:
|
|
2102
|
+
PauseQueueRequest;
|
|
1615
2103
|
}): Request<Queue>;
|
|
1616
2104
|
pause(request: {
|
|
1617
2105
|
/** V1 error format. */
|
|
1618
|
-
"$.xgafv"?:
|
|
2106
|
+
"$.xgafv"?:
|
|
2107
|
+
string;
|
|
1619
2108
|
/** OAuth access token. */
|
|
1620
|
-
access_token?:
|
|
2109
|
+
access_token?:
|
|
2110
|
+
string;
|
|
1621
2111
|
/** Data format for response. */
|
|
1622
|
-
alt?:
|
|
2112
|
+
alt?:
|
|
2113
|
+
string;
|
|
1623
2114
|
/** JSONP */
|
|
1624
|
-
callback?:
|
|
2115
|
+
callback?:
|
|
2116
|
+
string;
|
|
1625
2117
|
/** Selector specifying which fields to include in a partial response. */
|
|
1626
|
-
fields?:
|
|
2118
|
+
fields?:
|
|
2119
|
+
string;
|
|
1627
2120
|
/** 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. */
|
|
1628
|
-
key?:
|
|
2121
|
+
key?:
|
|
2122
|
+
string;
|
|
1629
2123
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1630
|
-
name:
|
|
2124
|
+
name:
|
|
2125
|
+
string;
|
|
1631
2126
|
/** OAuth 2.0 token for the current user. */
|
|
1632
|
-
oauth_token?:
|
|
2127
|
+
oauth_token?:
|
|
2128
|
+
string;
|
|
1633
2129
|
/** Returns response with indentations and line breaks. */
|
|
1634
|
-
prettyPrint?:
|
|
2130
|
+
prettyPrint?:
|
|
2131
|
+
boolean;
|
|
1635
2132
|
/** 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. */
|
|
1636
|
-
quotaUser?:
|
|
2133
|
+
quotaUser?:
|
|
2134
|
+
string;
|
|
1637
2135
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1638
|
-
upload_protocol?:
|
|
2136
|
+
upload_protocol?:
|
|
2137
|
+
string;
|
|
1639
2138
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1640
|
-
uploadType?:
|
|
2139
|
+
uploadType?:
|
|
2140
|
+
string;
|
|
1641
2141
|
},
|
|
1642
2142
|
body: PauseQueueRequest): Request<Queue>;
|
|
1643
2143
|
/**
|
|
@@ -1646,57 +2146,82 @@ declare namespace gapi.client {
|
|
|
1646
2146
|
*/
|
|
1647
2147
|
purge(request: {
|
|
1648
2148
|
/** V1 error format. */
|
|
1649
|
-
"$.xgafv"?:
|
|
2149
|
+
"$.xgafv"?:
|
|
2150
|
+
string;
|
|
1650
2151
|
/** OAuth access token. */
|
|
1651
|
-
access_token?:
|
|
2152
|
+
access_token?:
|
|
2153
|
+
string;
|
|
1652
2154
|
/** Data format for response. */
|
|
1653
|
-
alt?:
|
|
2155
|
+
alt?:
|
|
2156
|
+
string;
|
|
1654
2157
|
/** JSONP */
|
|
1655
|
-
callback?:
|
|
2158
|
+
callback?:
|
|
2159
|
+
string;
|
|
1656
2160
|
/** Selector specifying which fields to include in a partial response. */
|
|
1657
|
-
fields?:
|
|
2161
|
+
fields?:
|
|
2162
|
+
string;
|
|
1658
2163
|
/** 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. */
|
|
1659
|
-
key?:
|
|
2164
|
+
key?:
|
|
2165
|
+
string;
|
|
1660
2166
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1661
|
-
name:
|
|
2167
|
+
name:
|
|
2168
|
+
string;
|
|
1662
2169
|
/** OAuth 2.0 token for the current user. */
|
|
1663
|
-
oauth_token?:
|
|
2170
|
+
oauth_token?:
|
|
2171
|
+
string;
|
|
1664
2172
|
/** Returns response with indentations and line breaks. */
|
|
1665
|
-
prettyPrint?:
|
|
2173
|
+
prettyPrint?:
|
|
2174
|
+
boolean;
|
|
1666
2175
|
/** 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. */
|
|
1667
|
-
quotaUser?:
|
|
2176
|
+
quotaUser?:
|
|
2177
|
+
string;
|
|
1668
2178
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1669
|
-
upload_protocol?:
|
|
2179
|
+
upload_protocol?:
|
|
2180
|
+
string;
|
|
1670
2181
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1671
|
-
uploadType?:
|
|
2182
|
+
uploadType?:
|
|
2183
|
+
string;
|
|
1672
2184
|
/** Request body */
|
|
1673
|
-
resource:
|
|
2185
|
+
resource:
|
|
2186
|
+
PurgeQueueRequest;
|
|
1674
2187
|
}): Request<Queue>;
|
|
1675
2188
|
purge(request: {
|
|
1676
2189
|
/** V1 error format. */
|
|
1677
|
-
"$.xgafv"?:
|
|
2190
|
+
"$.xgafv"?:
|
|
2191
|
+
string;
|
|
1678
2192
|
/** OAuth access token. */
|
|
1679
|
-
access_token?:
|
|
2193
|
+
access_token?:
|
|
2194
|
+
string;
|
|
1680
2195
|
/** Data format for response. */
|
|
1681
|
-
alt?:
|
|
2196
|
+
alt?:
|
|
2197
|
+
string;
|
|
1682
2198
|
/** JSONP */
|
|
1683
|
-
callback?:
|
|
2199
|
+
callback?:
|
|
2200
|
+
string;
|
|
1684
2201
|
/** Selector specifying which fields to include in a partial response. */
|
|
1685
|
-
fields?:
|
|
2202
|
+
fields?:
|
|
2203
|
+
string;
|
|
1686
2204
|
/** 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. */
|
|
1687
|
-
key?:
|
|
2205
|
+
key?:
|
|
2206
|
+
string;
|
|
1688
2207
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1689
|
-
name:
|
|
2208
|
+
name:
|
|
2209
|
+
string;
|
|
1690
2210
|
/** OAuth 2.0 token for the current user. */
|
|
1691
|
-
oauth_token?:
|
|
2211
|
+
oauth_token?:
|
|
2212
|
+
string;
|
|
1692
2213
|
/** Returns response with indentations and line breaks. */
|
|
1693
|
-
prettyPrint?:
|
|
2214
|
+
prettyPrint?:
|
|
2215
|
+
boolean;
|
|
1694
2216
|
/** 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. */
|
|
1695
|
-
quotaUser?:
|
|
2217
|
+
quotaUser?:
|
|
2218
|
+
string;
|
|
1696
2219
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1697
|
-
upload_protocol?:
|
|
2220
|
+
upload_protocol?:
|
|
2221
|
+
string;
|
|
1698
2222
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1699
|
-
uploadType?:
|
|
2223
|
+
uploadType?:
|
|
2224
|
+
string;
|
|
1700
2225
|
},
|
|
1701
2226
|
body: PurgeQueueRequest): Request<Queue>;
|
|
1702
2227
|
/**
|
|
@@ -1706,57 +2231,82 @@ declare namespace gapi.client {
|
|
|
1706
2231
|
*/
|
|
1707
2232
|
resume(request: {
|
|
1708
2233
|
/** V1 error format. */
|
|
1709
|
-
"$.xgafv"?:
|
|
2234
|
+
"$.xgafv"?:
|
|
2235
|
+
string;
|
|
1710
2236
|
/** OAuth access token. */
|
|
1711
|
-
access_token?:
|
|
2237
|
+
access_token?:
|
|
2238
|
+
string;
|
|
1712
2239
|
/** Data format for response. */
|
|
1713
|
-
alt?:
|
|
2240
|
+
alt?:
|
|
2241
|
+
string;
|
|
1714
2242
|
/** JSONP */
|
|
1715
|
-
callback?:
|
|
2243
|
+
callback?:
|
|
2244
|
+
string;
|
|
1716
2245
|
/** Selector specifying which fields to include in a partial response. */
|
|
1717
|
-
fields?:
|
|
2246
|
+
fields?:
|
|
2247
|
+
string;
|
|
1718
2248
|
/** 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. */
|
|
1719
|
-
key?:
|
|
2249
|
+
key?:
|
|
2250
|
+
string;
|
|
1720
2251
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1721
|
-
name:
|
|
2252
|
+
name:
|
|
2253
|
+
string;
|
|
1722
2254
|
/** OAuth 2.0 token for the current user. */
|
|
1723
|
-
oauth_token?:
|
|
2255
|
+
oauth_token?:
|
|
2256
|
+
string;
|
|
1724
2257
|
/** Returns response with indentations and line breaks. */
|
|
1725
|
-
prettyPrint?:
|
|
2258
|
+
prettyPrint?:
|
|
2259
|
+
boolean;
|
|
1726
2260
|
/** 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. */
|
|
1727
|
-
quotaUser?:
|
|
2261
|
+
quotaUser?:
|
|
2262
|
+
string;
|
|
1728
2263
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1729
|
-
upload_protocol?:
|
|
2264
|
+
upload_protocol?:
|
|
2265
|
+
string;
|
|
1730
2266
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1731
|
-
uploadType?:
|
|
2267
|
+
uploadType?:
|
|
2268
|
+
string;
|
|
1732
2269
|
/** Request body */
|
|
1733
|
-
resource:
|
|
2270
|
+
resource:
|
|
2271
|
+
ResumeQueueRequest;
|
|
1734
2272
|
}): Request<Queue>;
|
|
1735
2273
|
resume(request: {
|
|
1736
2274
|
/** V1 error format. */
|
|
1737
|
-
"$.xgafv"?:
|
|
2275
|
+
"$.xgafv"?:
|
|
2276
|
+
string;
|
|
1738
2277
|
/** OAuth access token. */
|
|
1739
|
-
access_token?:
|
|
2278
|
+
access_token?:
|
|
2279
|
+
string;
|
|
1740
2280
|
/** Data format for response. */
|
|
1741
|
-
alt?:
|
|
2281
|
+
alt?:
|
|
2282
|
+
string;
|
|
1742
2283
|
/** JSONP */
|
|
1743
|
-
callback?:
|
|
2284
|
+
callback?:
|
|
2285
|
+
string;
|
|
1744
2286
|
/** Selector specifying which fields to include in a partial response. */
|
|
1745
|
-
fields?:
|
|
2287
|
+
fields?:
|
|
2288
|
+
string;
|
|
1746
2289
|
/** 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. */
|
|
1747
|
-
key?:
|
|
2290
|
+
key?:
|
|
2291
|
+
string;
|
|
1748
2292
|
/** Required. The queue name. For example: `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */
|
|
1749
|
-
name:
|
|
2293
|
+
name:
|
|
2294
|
+
string;
|
|
1750
2295
|
/** OAuth 2.0 token for the current user. */
|
|
1751
|
-
oauth_token?:
|
|
2296
|
+
oauth_token?:
|
|
2297
|
+
string;
|
|
1752
2298
|
/** Returns response with indentations and line breaks. */
|
|
1753
|
-
prettyPrint?:
|
|
2299
|
+
prettyPrint?:
|
|
2300
|
+
boolean;
|
|
1754
2301
|
/** 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. */
|
|
1755
|
-
quotaUser?:
|
|
2302
|
+
quotaUser?:
|
|
2303
|
+
string;
|
|
1756
2304
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1757
|
-
upload_protocol?:
|
|
2305
|
+
upload_protocol?:
|
|
2306
|
+
string;
|
|
1758
2307
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1759
|
-
uploadType?:
|
|
2308
|
+
uploadType?:
|
|
2309
|
+
string;
|
|
1760
2310
|
},
|
|
1761
2311
|
body: ResumeQueueRequest): Request<Queue>;
|
|
1762
2312
|
/**
|
|
@@ -1766,32 +2316,44 @@ declare namespace gapi.client {
|
|
|
1766
2316
|
*/
|
|
1767
2317
|
setIamPolicy(request: {
|
|
1768
2318
|
/** V1 error format. */
|
|
1769
|
-
"$.xgafv"?:
|
|
2319
|
+
"$.xgafv"?:
|
|
2320
|
+
string;
|
|
1770
2321
|
/** OAuth access token. */
|
|
1771
|
-
access_token?:
|
|
2322
|
+
access_token?:
|
|
2323
|
+
string;
|
|
1772
2324
|
/** Data format for response. */
|
|
1773
|
-
alt?:
|
|
2325
|
+
alt?:
|
|
2326
|
+
string;
|
|
1774
2327
|
/** JSONP */
|
|
1775
|
-
callback?:
|
|
2328
|
+
callback?:
|
|
2329
|
+
string;
|
|
1776
2330
|
/** Selector specifying which fields to include in a partial response. */
|
|
1777
|
-
fields?:
|
|
2331
|
+
fields?:
|
|
2332
|
+
string;
|
|
1778
2333
|
/** 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. */
|
|
1779
|
-
key?:
|
|
2334
|
+
key?:
|
|
2335
|
+
string;
|
|
1780
2336
|
/** OAuth 2.0 token for the current user. */
|
|
1781
|
-
oauth_token?:
|
|
2337
|
+
oauth_token?:
|
|
2338
|
+
string;
|
|
1782
2339
|
/** Returns response with indentations and line breaks. */
|
|
1783
|
-
prettyPrint?:
|
|
2340
|
+
prettyPrint?:
|
|
2341
|
+
boolean;
|
|
1784
2342
|
/** 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. */
|
|
1785
|
-
quotaUser?:
|
|
2343
|
+
quotaUser?:
|
|
2344
|
+
string;
|
|
1786
2345
|
/**
|
|
1787
2346
|
* 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
|
|
1788
2347
|
* field.
|
|
1789
2348
|
*/
|
|
1790
|
-
resource:
|
|
2349
|
+
resource:
|
|
2350
|
+
string;
|
|
1791
2351
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1792
|
-
upload_protocol?:
|
|
2352
|
+
upload_protocol?:
|
|
2353
|
+
string;
|
|
1793
2354
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
|
-
uploadType?:
|
|
2355
|
+
uploadType?:
|
|
2356
|
+
string;
|
|
1795
2357
|
},
|
|
1796
2358
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
1797
2359
|
/**
|
|
@@ -1800,104 +2362,146 @@ declare namespace gapi.client {
|
|
|
1800
2362
|
*/
|
|
1801
2363
|
testIamPermissions(request: {
|
|
1802
2364
|
/** V1 error format. */
|
|
1803
|
-
"$.xgafv"?:
|
|
2365
|
+
"$.xgafv"?:
|
|
2366
|
+
string;
|
|
1804
2367
|
/** OAuth access token. */
|
|
1805
|
-
access_token?:
|
|
2368
|
+
access_token?:
|
|
2369
|
+
string;
|
|
1806
2370
|
/** Data format for response. */
|
|
1807
|
-
alt?:
|
|
2371
|
+
alt?:
|
|
2372
|
+
string;
|
|
1808
2373
|
/** JSONP */
|
|
1809
|
-
callback?:
|
|
2374
|
+
callback?:
|
|
2375
|
+
string;
|
|
1810
2376
|
/** Selector specifying which fields to include in a partial response. */
|
|
1811
|
-
fields?:
|
|
2377
|
+
fields?:
|
|
2378
|
+
string;
|
|
1812
2379
|
/** 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. */
|
|
1813
|
-
key?:
|
|
2380
|
+
key?:
|
|
2381
|
+
string;
|
|
1814
2382
|
/** OAuth 2.0 token for the current user. */
|
|
1815
|
-
oauth_token?:
|
|
2383
|
+
oauth_token?:
|
|
2384
|
+
string;
|
|
1816
2385
|
/** Returns response with indentations and line breaks. */
|
|
1817
|
-
prettyPrint?:
|
|
2386
|
+
prettyPrint?:
|
|
2387
|
+
boolean;
|
|
1818
2388
|
/** 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. */
|
|
1819
|
-
quotaUser?:
|
|
2389
|
+
quotaUser?:
|
|
2390
|
+
string;
|
|
1820
2391
|
/**
|
|
1821
2392
|
* 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
|
|
1822
2393
|
* this field.
|
|
1823
2394
|
*/
|
|
1824
|
-
resource:
|
|
2395
|
+
resource:
|
|
2396
|
+
string;
|
|
1825
2397
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1826
|
-
upload_protocol?:
|
|
2398
|
+
upload_protocol?:
|
|
2399
|
+
string;
|
|
1827
2400
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1828
|
-
uploadType?:
|
|
2401
|
+
uploadType?:
|
|
2402
|
+
string;
|
|
1829
2403
|
},
|
|
1830
2404
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1831
|
-
tasks:
|
|
2405
|
+
tasks:
|
|
2406
|
+
TasksResource;
|
|
1832
2407
|
}
|
|
1833
2408
|
interface LocationsResource {
|
|
1834
2409
|
/** Gets information about a location. */
|
|
1835
2410
|
get(request?: {
|
|
1836
2411
|
/** V1 error format. */
|
|
1837
|
-
"$.xgafv"?:
|
|
2412
|
+
"$.xgafv"?:
|
|
2413
|
+
string;
|
|
1838
2414
|
/** OAuth access token. */
|
|
1839
|
-
access_token?:
|
|
2415
|
+
access_token?:
|
|
2416
|
+
string;
|
|
1840
2417
|
/** Data format for response. */
|
|
1841
|
-
alt?:
|
|
2418
|
+
alt?:
|
|
2419
|
+
string;
|
|
1842
2420
|
/** JSONP */
|
|
1843
|
-
callback?:
|
|
2421
|
+
callback?:
|
|
2422
|
+
string;
|
|
1844
2423
|
/** Selector specifying which fields to include in a partial response. */
|
|
1845
|
-
fields?:
|
|
2424
|
+
fields?:
|
|
2425
|
+
string;
|
|
1846
2426
|
/** 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. */
|
|
1847
|
-
key?:
|
|
2427
|
+
key?:
|
|
2428
|
+
string;
|
|
1848
2429
|
/** Resource name for the location. */
|
|
1849
|
-
name:
|
|
2430
|
+
name:
|
|
2431
|
+
string;
|
|
1850
2432
|
/** OAuth 2.0 token for the current user. */
|
|
1851
|
-
oauth_token?:
|
|
2433
|
+
oauth_token?:
|
|
2434
|
+
string;
|
|
1852
2435
|
/** Returns response with indentations and line breaks. */
|
|
1853
|
-
prettyPrint?:
|
|
2436
|
+
prettyPrint?:
|
|
2437
|
+
boolean;
|
|
1854
2438
|
/** 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. */
|
|
1855
|
-
quotaUser?:
|
|
2439
|
+
quotaUser?:
|
|
2440
|
+
string;
|
|
1856
2441
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1857
|
-
upload_protocol?:
|
|
2442
|
+
upload_protocol?:
|
|
2443
|
+
string;
|
|
1858
2444
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1859
|
-
uploadType?:
|
|
2445
|
+
uploadType?:
|
|
2446
|
+
string;
|
|
1860
2447
|
}): Request<Location>;
|
|
1861
2448
|
/** Lists information about the supported locations for this service. */
|
|
1862
2449
|
list(request?: {
|
|
1863
2450
|
/** V1 error format. */
|
|
1864
|
-
"$.xgafv"?:
|
|
2451
|
+
"$.xgafv"?:
|
|
2452
|
+
string;
|
|
1865
2453
|
/** OAuth access token. */
|
|
1866
|
-
access_token?:
|
|
2454
|
+
access_token?:
|
|
2455
|
+
string;
|
|
1867
2456
|
/** Data format for response. */
|
|
1868
|
-
alt?:
|
|
2457
|
+
alt?:
|
|
2458
|
+
string;
|
|
1869
2459
|
/** JSONP */
|
|
1870
|
-
callback?:
|
|
2460
|
+
callback?:
|
|
2461
|
+
string;
|
|
1871
2462
|
/** Selector specifying which fields to include in a partial response. */
|
|
1872
|
-
fields?:
|
|
2463
|
+
fields?:
|
|
2464
|
+
string;
|
|
1873
2465
|
/**
|
|
1874
2466
|
* 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
|
|
1875
2467
|
* [AIP-160](https://google.aip.dev/160).
|
|
1876
2468
|
*/
|
|
1877
|
-
filter?:
|
|
2469
|
+
filter?:
|
|
2470
|
+
string;
|
|
1878
2471
|
/** 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. */
|
|
1879
|
-
key?:
|
|
2472
|
+
key?:
|
|
2473
|
+
string;
|
|
1880
2474
|
/** The resource that owns the locations collection, if applicable. */
|
|
1881
|
-
name:
|
|
2475
|
+
name:
|
|
2476
|
+
string;
|
|
1882
2477
|
/** OAuth 2.0 token for the current user. */
|
|
1883
|
-
oauth_token?:
|
|
2478
|
+
oauth_token?:
|
|
2479
|
+
string;
|
|
1884
2480
|
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1885
|
-
pageSize?:
|
|
2481
|
+
pageSize?:
|
|
2482
|
+
number;
|
|
1886
2483
|
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1887
|
-
pageToken?:
|
|
2484
|
+
pageToken?:
|
|
2485
|
+
string;
|
|
1888
2486
|
/** Returns response with indentations and line breaks. */
|
|
1889
|
-
prettyPrint?:
|
|
2487
|
+
prettyPrint?:
|
|
2488
|
+
boolean;
|
|
1890
2489
|
/** 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. */
|
|
1891
|
-
quotaUser?:
|
|
2490
|
+
quotaUser?:
|
|
2491
|
+
string;
|
|
1892
2492
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1893
|
-
upload_protocol?:
|
|
2493
|
+
upload_protocol?:
|
|
2494
|
+
string;
|
|
1894
2495
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1895
|
-
uploadType?:
|
|
2496
|
+
uploadType?:
|
|
2497
|
+
string;
|
|
1896
2498
|
}): Request<ListLocationsResponse>;
|
|
1897
|
-
queues:
|
|
2499
|
+
queues:
|
|
2500
|
+
QueuesResource;
|
|
1898
2501
|
}
|
|
1899
2502
|
interface ProjectsResource {
|
|
1900
|
-
locations:
|
|
2503
|
+
locations:
|
|
2504
|
+
LocationsResource;
|
|
1901
2505
|
}
|
|
1902
2506
|
|
|
1903
2507
|
const api: ApiResource;
|