List tasks.
HTTP request
GET https://run.googleapis.com/apis/run.googleapis.com/v1/{parent}/tasks
Path parameters
Parameters | |
---|---|
parent |
Required. The namespace from which the tasks should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID It takes the form Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
limit |
Optional. The maximum number of records that should be returned. |
includeUninitialized |
Optional. Not supported by Cloud Run. |
fieldSelector |
Optional. Not supported by Cloud Run. |
labelSelector |
Optional. Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution "foo" in succeeded state: Supported states are:
|
resourceVersion |
Optional. Not supported by Cloud Run. |
watch |
Optional. Not supported by Cloud Run. |
continue |
Optional. Optional encoded string to continue paging. |
Request body
The request body must be empty.
Response body
ListTasksResponse is a list of Tasks resources.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "items": [ { object ( |
Fields | |
---|---|
items[] |
List of Tasks. |
apiVersion |
The API version for this call such as "run.googleapis.com/v1". |
kind |
The kind of this resource, in this case "TasksList". |
metadata |
Metadata associated with this tasks list. |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.