0.22.4 (latest) 0.22.3 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

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

Job status.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `state` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.JobStatus.State` Job state |
| `status_events` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.StatusEvent]` Job status events |
| `task_groups` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.JobStatus.TaskGroupStatus]` Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID. |
| `run_duration` | `google.protobuf.duration_pb2.Duration` The duration of time that the Job spent in status RUNNING. |
| `resource_usage` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1alpha.types.ResourceUsage` The resource usage of the job. |

## Classes

### InstanceStatus

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

VM instance status.

### State

    State(value)

Valid Job states.

### TaskGroupStatus

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

Aggregated task status for a TaskGroup.

### TaskGroupsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |