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