Resource: Task
A Cloud Batch task.
| JSON representation | 
|---|
| {
  "name": string,
  "status": {
    object ( | 
| Fields | |
|---|---|
| name | 
 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 | 
 Task Status. | 
TaskStatus
Status of a task.
| JSON representation | 
|---|
| { "state": enum ( | 
| Fields | |
|---|---|
| state | 
 Task state. | 
| statusEvents[] | 
 Detailed info about why the state is reached. | 
| Methods | |
|---|---|
| 
 | Return a single Task. | 
| 
 | List Tasks associated with a job. |