TaskStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Status of a task
Attributes | |
---|---|
Name | Description |
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.