Lists Tasks from an Execution of a Job.
HTTP request
GET https://run.googleapis.com/v2/{parent}/tasks
Path parameters
parent
string
Required. The Execution from which the Tasks should be listed. To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution} It takes the form projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
.
Authorization requires the following IAM
permission on the specified resource parent
:
-
run.tasks.list
Query parameters
| Parameters | |
|---|---|
pageSize
|
Maximum number of Tasks to return in this call. |
pageToken
|
A page token received from a previous call to tasks.list. All other parameters must match. |
showDeleted
|
If true, returns deleted (but unexpired) resources along with active ones. |
Request body
The request body must be empty.
Response body
Response message containing a list of Tasks.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"tasks"
:
[
{
object (
|
| Fields | |
|---|---|
tasks[]
|
The resulting list of Tasks. |
nextPageToken
|
A token indicating there are more items than pageSize. Use it in the next tasks.list request to continue. |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview .

