JobState

Describes the state of a job.

Enums
JOB_STATE_UNSPECIFIEDThe job state is unspecified.
JOB_STATE_QUEUEDThe job has been just created or resumed and processing has not yet begun.
JOB_STATE_PENDINGThe service is preparing to run the job.
JOB_STATE_RUNNINGThe job is in progress.
JOB_STATE_SUCCEEDEDThe job completed successfully.
JOB_STATE_FAILEDThe job failed.
JOB_STATE_CANCELLINGThe job is being cancelled. From this state the job may only go to eitherJOB_STATE_SUCCEEDED,JOB_STATE_FAILED orJOB_STATE_CANCELLED.
JOB_STATE_CANCELLEDThe job has been cancelled.
JOB_STATE_PAUSEDThe job has been stopped, and can be resumed.
JOB_STATE_EXPIREDThe job has expired.
JOB_STATE_UPDATINGThe job is being updated. Only jobs in theRUNNING state can be updated. After updating, the job goes back to theRUNNING state.
JOB_STATE_PARTIALLY_SUCCEEDEDThe job is partially succeeded, some results may be missing due to errors.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.