state property

String? state
getter/setter pair

State of the job.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Unspecified state.
  • "ENABLED" : The job is executing normally.
  • "PAUSED" : The job is paused by the user. It will not execute. A user can intentionally pause the job using PauseJobRequest.
  • "DISABLED" : The job is disabled by the system due to error. The user cannot directly set a job to be disabled.
  • "UPDATE_FAILED" : 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.

Implementation

core.String? state;