tasks
Creates, updates, deletes, gets or lists a tasks
resource.
Overview
Name | tasks |
Type | Resource |
Id | google.batch.tasks |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". |
status | object | Status of a task. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | jobsId, locationsId, projectsId, taskGroupsId, tasksId | Return a single Task. |
list | SELECT | jobsId, locationsId, projectsId, taskGroupsId | List Tasks associated with a job. |
SELECT
examples
List Tasks associated with a job.
SELECT
name,
status
FROM google.batch.tasks
WHERE jobsId = '{{ jobsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND taskGroupsId = '{{ taskGroupsId }}';