2
"kind": "discovery#restDescription",
3
"etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/NdbJrHMoZLPwtpKFHEyZMJzpuTM\"",
4
"discoveryVersion": "v1",
5
"id": "taskqueue:v1beta2",
8
"revision": "20130318",
9
"title": "TaskQueue API",
10
"description": "Lets you access a Google App Engine Pull Task Queue over REST.",
11
"ownerDomain": "google.com",
12
"ownerName": "Google",
14
"x16": "http://www.google.com/images/icons/product/app_engine-16.png",
15
"x32": "http://www.google.com/images/icons/product/app_engine-32.png"
17
"documentationLink": "https://developers.google.com/appengine/docs/python/taskqueue/rest",
19
"baseUrl": "https://www.googleapis.com/taskqueue/v1beta2/projects/",
20
"basePath": "/taskqueue/v1beta2/projects/",
21
"rootUrl": "https://www.googleapis.com/",
22
"servicePath": "taskqueue/v1beta2/projects/",
27
"description": "Data format for the response.",
33
"Responses with Content-Type of application/json"
39
"description": "Selector specifying which fields to include in a partial response.",
44
"description": "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.",
49
"description": "OAuth 2.0 token for the current user.",
54
"description": "Returns response with indentations and line breaks.",
60
"description": "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. Overrides userIp if both are provided.",
65
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
72
"https://www.googleapis.com/auth/taskqueue": {
73
"description": "Manage your Tasks and Taskqueues"
75
"https://www.googleapis.com/auth/taskqueue.consumer": {
76
"description": "Consume Tasks from your Taskqueues"
88
"description": "Time (in seconds since the epoch) at which the task was enqueued.",
93
"description": "Name of the task."
97
"description": "The kind of object returned, in this case set to task.",
98
"default": "taskqueues#task"
102
"description": "Time (in seconds since the epoch) at which the task lease will expire. This value is 0 if the task isnt currently leased out to a worker.",
107
"description": "A bag of bytes which is the task payload. The payload on the JSON side is always Base64 encoded."
111
"description": "Name of the queue that the task is in."
115
"description": "The number of leases applied to this task.",
120
"description": "Tag for the task, could be used later to lease tasks grouped by a specific tag."
130
"description": "ACLs that are applicable to this TaskQueue object.",
134
"description": "Email addresses of users who are \"admins\" of the TaskQueue. This means they can control the queue, eg set ACLs for the queue.",
141
"description": "Email addresses of users who can \"consume\" tasks from the TaskQueue. This means they can Dequeue and Delete tasks from the queue.",
148
"description": "Email addresses of users who can \"produce\" tasks into the TaskQueue. This means they can Insert tasks into the queue.",
157
"description": "Name of the taskqueue."
161
"description": "The kind of REST object returned, in this case taskqueue.",
162
"default": "taskqueues#taskqueue"
166
"description": "The number of times we should lease out tasks before giving up on them. If unset we lease them out forever until a worker deletes the task.",
171
"description": "Statistics for the TaskQueue object in question.",
175
"description": "Number of tasks leased in the last hour.",
178
"leasedLastMinute": {
180
"description": "Number of tasks leased in the last minute.",
185
"description": "The timestamp (in seconds since the epoch) of the oldest unfinished task.",
190
"description": "Number of tasks in the queue.",
203
"description": "The actual list of tasks returned as a result of the lease operation.",
210
"description": "The kind of object returned, a list of tasks.",
211
"default": "taskqueue#tasks"
221
"description": "The actual list of tasks currently active in the TaskQueue.",
228
"description": "The kind of object returned, a list of tasks.",
229
"default": "taskqueues#tasks"
238
"id": "taskqueue.taskqueues.get",
239
"path": "{project}/taskqueues/{taskqueue}",
241
"description": "Get detailed information about a TaskQueue.",
245
"description": "Whether to get stats. Optional.",
250
"description": "The project under which the queue lies.",
256
"description": "The id of the taskqueue to get the properties of.",
269
"https://www.googleapis.com/auth/taskqueue",
270
"https://www.googleapis.com/auth/taskqueue.consumer"
278
"id": "taskqueue.tasks.delete",
279
"path": "{project}/taskqueues/{taskqueue}/tasks/{task}",
280
"httpMethod": "DELETE",
281
"description": "Delete a task from a TaskQueue.",
285
"description": "The project under which the queue lies.",
291
"description": "The id of the task to delete.",
297
"description": "The taskqueue to delete a task from.",
308
"https://www.googleapis.com/auth/taskqueue",
309
"https://www.googleapis.com/auth/taskqueue.consumer"
313
"id": "taskqueue.tasks.get",
314
"path": "{project}/taskqueues/{taskqueue}/tasks/{task}",
316
"description": "Get a particular task from a TaskQueue.",
320
"description": "The project under which the queue lies.",
326
"description": "The task to get properties of.",
332
"description": "The taskqueue in which the task belongs.",
346
"https://www.googleapis.com/auth/taskqueue",
347
"https://www.googleapis.com/auth/taskqueue.consumer"
351
"id": "taskqueue.tasks.insert",
352
"path": "{project}/taskqueues/{taskqueue}/tasks",
353
"httpMethod": "POST",
354
"description": "Insert a new task in a TaskQueue",
358
"description": "The project under which the queue lies",
364
"description": "The taskqueue to insert the task into",
380
"https://www.googleapis.com/auth/taskqueue",
381
"https://www.googleapis.com/auth/taskqueue.consumer"
385
"id": "taskqueue.tasks.lease",
386
"path": "{project}/taskqueues/{taskqueue}/tasks/lease",
387
"httpMethod": "POST",
388
"description": "Lease 1 or more tasks from a TaskQueue.",
392
"description": "When true, all returned tasks will have the same tag",
397
"description": "The lease in seconds.",
404
"description": "The number of tasks to lease.",
411
"description": "The project under which the queue lies.",
417
"description": "The tag allowed for tasks in the response. Must only be specified if group_by_tag is true. If group_by_tag is true and tag is not specified the tag will be that of the oldest task by eta, i.e. the first available tag",
422
"description": "The taskqueue to lease a task from.",
437
"https://www.googleapis.com/auth/taskqueue",
438
"https://www.googleapis.com/auth/taskqueue.consumer"
442
"id": "taskqueue.tasks.list",
443
"path": "{project}/taskqueues/{taskqueue}/tasks",
445
"description": "List Tasks in a TaskQueue",
449
"description": "The project under which the queue lies.",
455
"description": "The id of the taskqueue to list tasks from.",
468
"https://www.googleapis.com/auth/taskqueue",
469
"https://www.googleapis.com/auth/taskqueue.consumer"
473
"id": "taskqueue.tasks.patch",
474
"path": "{project}/taskqueues/{taskqueue}/tasks/{task}",
475
"httpMethod": "PATCH",
476
"description": "Update tasks that are leased out of a TaskQueue. This method supports patch semantics.",
480
"description": "The new lease in seconds.",
487
"description": "The project under which the queue lies.",
515
"https://www.googleapis.com/auth/taskqueue",
516
"https://www.googleapis.com/auth/taskqueue.consumer"
520
"id": "taskqueue.tasks.update",
521
"path": "{project}/taskqueues/{taskqueue}/tasks/{task}",
522
"httpMethod": "POST",
523
"description": "Update tasks that are leased out of a TaskQueue.",
527
"description": "The new lease in seconds.",
534
"description": "The project under which the queue lies.",
562
"https://www.googleapis.com/auth/taskqueue",
563
"https://www.googleapis.com/auth/taskqueue.consumer"