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
Namespace
Google \ Cloud \ Scheduler \ V1 \ JobMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATE_UNSPECIFIED
Value: 0Unspecified state.
Generated from protobuf enum STATE_UNSPECIFIED = 0;
ENABLED
Value: 1The job is executing normally.
Generated from protobuf enum ENABLED = 1;
PAUSED
Value: 2The 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: 3The 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: 4The 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;