[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Batch V1 Client - Class State (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-batch/latest/V1.JobStatus.State)\n- [1.2.1](/php/docs/reference/cloud-batch/1.2.1/V1.JobStatus.State)\n- [1.1.7](/php/docs/reference/cloud-batch/1.1.7/V1.JobStatus.State)\n- [1.0.3](/php/docs/reference/cloud-batch/1.0.3/V1.JobStatus.State)\n- [0.17.0](/php/docs/reference/cloud-batch/0.17.0/V1.JobStatus.State)\n- [0.16.10](/php/docs/reference/cloud-batch/0.16.10/V1.JobStatus.State)\n- [0.15.0](/php/docs/reference/cloud-batch/0.15.0/V1.JobStatus.State)\n- [0.14.0](/php/docs/reference/cloud-batch/0.14.0/V1.JobStatus.State)\n- [0.13.1](/php/docs/reference/cloud-batch/0.13.1/V1.JobStatus.State)\n- [0.12.1](/php/docs/reference/cloud-batch/0.12.1/V1.JobStatus.State)\n- [0.11.3](/php/docs/reference/cloud-batch/0.11.3/V1.JobStatus.State)\n- [0.10.0](/php/docs/reference/cloud-batch/0.10.0/V1.JobStatus.State)\n- [0.9.0](/php/docs/reference/cloud-batch/0.9.0/V1.JobStatus.State)\n- [0.8.0](/php/docs/reference/cloud-batch/0.8.0/V1.JobStatus.State)\n- [0.7.0](/php/docs/reference/cloud-batch/0.7.0/V1.JobStatus.State)\n- [0.6.0](/php/docs/reference/cloud-batch/0.6.0/V1.JobStatus.State)\n- [0.5.2](/php/docs/reference/cloud-batch/0.5.2/V1.JobStatus.State)\n- [0.4.0](/php/docs/reference/cloud-batch/0.4.0/V1.JobStatus.State)\n- [0.3.0](/php/docs/reference/cloud-batch/0.3.0/V1.JobStatus.State)\n- [0.2.2](/php/docs/reference/cloud-batch/0.2.2/V1.JobStatus.State) \nReference documentation and code samples for the Google Cloud Batch V1 Client class State.\n\nValid Job states.\n\nProtobuf type `google.cloud.batch.v1.JobStatus.State`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Batch \\\\ V1 \\\\ JobStatus\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STATE_UNSPECIFIED\n\n Value: 0\n\nJob state unspecified.\n\nGenerated from protobuf enum `STATE_UNSPECIFIED = 0;`\n\n### QUEUED\n\n Value: 1\n\nJob is admitted (validated and persisted) and waiting for resources.\n\nGenerated from protobuf enum `QUEUED = 1;`\n\n### SCHEDULED\n\n Value: 2\n\nJob is scheduled to run as soon as resource allocation is ready.\n\nThe resource allocation may happen at a later time but with a high\nchance to succeed.\n\nGenerated from protobuf enum `SCHEDULED = 2;`\n\n### RUNNING\n\n Value: 3\n\nResource allocation has been successful. At least one Task in the Job is\nRUNNING.\n\nGenerated from protobuf enum `RUNNING = 3;`\n\n### SUCCEEDED\n\n Value: 4\n\nAll Tasks in the Job have finished successfully.\n\nGenerated from protobuf enum `SUCCEEDED = 4;`\n\n### FAILED\n\n Value: 5\n\nAt least one Task in the Job has failed.\n\nGenerated from protobuf enum `FAILED = 5;`\n\n### DELETION_IN_PROGRESS\n\n Value: 6\n\nThe Job will be deleted, but has not been deleted yet. Typically this is\nbecause resources used by the Job are still being cleaned up.\n\nGenerated from protobuf enum `DELETION_IN_PROGRESS = 6;`\n\n### CANCELLATION_IN_PROGRESS\n\n Value: 7\n\nThe Job cancellation is in progress, this is because the resources used\nby the Job are still being cleaned up.\n\nGenerated from protobuf enum `CANCELLATION_IN_PROGRESS = 7;`\n\n### CANCELLED\n\n Value: 8\n\nThe Job has been cancelled, the task executions were stopped and the\nresources were cleaned up.\n\nGenerated from protobuf enum `CANCELLED = 8;`"]]