Class TaskStatus (0.17.1)

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

Status of a task

Attributes

NameDescription
state google.cloud.batch_v1.types.TaskStatus.State
Task state
status_events MutableSequence[google.cloud.batch_v1.types.StatusEvent]
Detailed info about why the state is reached.

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.