Google Cloud Batch V1 Client - Class State (0.17.0)

Reference documentation and code samples for the Google Cloud Batch V1 Client class State.

Valid Job states.

Protobuf type google.cloud.batch.v1.JobStatus.State

Namespace

Google \ Cloud \ Batch \ V1 \ JobStatus

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Job state unspecified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

QUEUED

Value: 1

Job is admitted (validated and persisted) and waiting for resources.

Generated from protobuf enum QUEUED = 1;

SCHEDULED

Value: 2

Job is scheduled to run as soon as resource allocation is ready.

The resource allocation may happen at a later time but with a high chance to succeed.

Generated from protobuf enum SCHEDULED = 2;

RUNNING

Value: 3

Resource allocation has been successful. At least one Task in the Job is RUNNING.

Generated from protobuf enum RUNNING = 3;

SUCCEEDED

Value: 4

All Tasks in the Job have finished successfully.

Generated from protobuf enum SUCCEEDED = 4;

FAILED

Value: 5

At least one Task in the Job has failed.

Generated from protobuf enum FAILED = 5;

DELETION_IN_PROGRESS

Value: 6

The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.

Generated from protobuf enum DELETION_IN_PROGRESS = 6;