Class TaskStatus (0.17.9)

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

Status of a task

Attributes

NameDescription
state google.cloud.batch_v1alpha.types.TaskStatus.State
Task state
status_events MutableSequence[google.cloud.batch_v1alpha.types.StatusEvent]
Detailed info about why the state is reached.
resource_usage google.cloud.batch_v1alpha.types.TaskResourceUsage
The resource usage of the task.

Classes

State

State(value)

Task states.

Values: STATE_UNSPECIFIED (0): Unknown state. PENDING (1): The Task is created and waiting for resources. ASSIGNED (2): The Task is assigned to at least one VM. RUNNING (3): The Task is running. FAILED (4): The Task has failed. SUCCEEDED (5): The Task has succeeded. UNEXECUTED (6): The Task has not been executed when the Job finishes.