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