Reference documentation and code samples for the Google Cloud Batch V1 Client class State.
Task states.
Protobuf type google.cloud.batch.v1.TaskStatus.State
Namespace
Google \ Cloud \ Batch \ V1 \ TaskStatusMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::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;
UNEXECUTED
Value: 6The Task has not been executed when the Job finishes.
Generated from protobuf enum UNEXECUTED = 6;