0.22.5 (latest) 0.22.4 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

    TaskStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Status of a task.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `state` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.TaskStatus.State` Task state. |
| `status_events` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.StatusEvent]` Detailed info about why the state is reached. |

## Classes

### State

    State(value)

Task states.