Google Cloud Batch V1 Client - Class State (0.15.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

Namespace

Google \ Cloud \ Batch \ V1 \ TaskStatus

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
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;

UNEXECUTED

  Value: 6 
 

The Task has not been executed when the Job finishes.

Generated from protobuf enum UNEXECUTED = 6;

Create a Mobile Website
View Site in Mobile | Classic
Share by: