Reference documentation and code samples for the Google Cloud Batch V1 Client class State.
Task states.
Protobuf type google.cloud.batch.v1.TaskStatus.State
Methods
name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0unknown state
Generated from protobuf enum STATE_UNSPECIFIED = 0;
PENDING
Value: 1The Task is created and waiting for resources.
Generated from protobuf enum PENDING = 1;
ASSIGNED
Value: 2The Task is assigned to at least one VM.
Generated from protobuf enum ASSIGNED = 2;
RUNNING
Value: 3The Task is running.
Generated from protobuf enum RUNNING = 3;
FAILED
Value: 4The Task has failed.
Generated from protobuf enum FAILED = 4;
SUCCEEDED
Value: 5The Task has succeeded.
Generated from protobuf enum SUCCEEDED = 5;