Cloud Scheduler V1 API - Module Google::Cloud::Scheduler::V1::Job::State (v1.0.0)

Reference documentation and code samples for the Cloud Scheduler V1 API module Google::Cloud::Scheduler::V1::Job::State.

State of the job.

Constants

STATE_UNSPECIFIED

value: 0
Unspecified state.

ENABLED

value: 1
The job is executing normally.

PAUSED

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

DISABLED

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

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.