Requires authorization
Gets the named task in a TaskQueue. Try it now .
This does not
lease
the task. You shouldn't need to call this method in your typical work flow. The developer's email address must be specified as a
user_email
in the
acl
element of
queue.yaml
.
Request
HTTP request
GET https://www.googleapis.com/taskqueue/v1beta2/projects/project/taskqueues/taskqueue/tasks/task
Parameters
Parameter name | Value | Description |
---|---|---|
Required parameters | ||
project
|
string
|
The project under which the queue lies. |
task
|
string
|
The task to get properties of. |
taskqueue
|
string
|
The taskqueue in which the task belongs. |
Authorization
This request requires authorization with at least one of the following scopes ( read more about authentication and authorization ).
Scope |
---|
https://www.googleapis.com/auth/taskqueue
|
https://www.googleapis.com/auth/cloud-taskqueue
|
https://www.googleapis.com/auth/taskqueue.consumer
|
https://www.googleapis.com/auth/cloud-taskqueue.consumer
|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a Tasks resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer .