Cloud Scheduler V1 Client - Class State (1.6.8)

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

State of the job.

Protobuf type google.cloud.scheduler.v1.Job.State

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Unspecified state.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

ENABLED

Value: 1

The job is executing normally.

Generated from protobuf enum ENABLED = 1;

PAUSED

Value: 2

The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.

Generated from protobuf enum PAUSED = 2;

DISABLED

Value: 3

The job is disabled by the system due to error. The user cannot directly set a job to be disabled.

Generated from protobuf enum DISABLED = 3;

UPDATE_FAILED

Value: 4

The job state resulting from a failed CloudScheduler.UpdateJob operation. To recover a job from this state, retry CloudScheduler.UpdateJob until a successful response is received.

Generated from protobuf enum UPDATE_FAILED = 4;