Batch V1 API - Module Google::Cloud::Batch::V1::TaskStatus::State (v1.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Batch V1 API module Google::Cloud::Batch::V1::TaskStatus::State.
Task states.
Constants
STATE_UNSPECIFIED
value: 0 Unknown state.
PENDING
value: 1 The Task is created and waiting for resources.
ASSIGNED
value: 2 The Task is assigned to at least one VM.
RUNNING
value: 3 The Task is running.
FAILED
value: 4 The Task has failed.
SUCCEEDED
value: 5 The Task has succeeded.
UNEXECUTED
value: 6 The Task has not been executed when the Job finishes.
[[["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 2026-04-03 UTC."],[],[]]