Google Cloud Batch V1 Client - Class State (0.3.0)

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
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

unknown state

Generated from protobuf enum STATE_UNSPECIFIED = 0;

PENDING

Value: 1

The Task is created and waiting for resources.

Generated from protobuf enum PENDING = 1;

ASSIGNED

Value: 2

The Task is assigned to at least one VM.

Generated from protobuf enum ASSIGNED = 2;

RUNNING

Value: 3

The Task is running.

Generated from protobuf enum RUNNING = 3;

FAILED

Value: 4

The Task has failed.

Generated from protobuf enum FAILED = 4;

SUCCEEDED

Value: 5

The Task has succeeded.

Generated from protobuf enum SUCCEEDED = 5;