Class TaskStatus (0.15.0) Stay organized with collections Save and categorize content based on your preferences.
TaskStatus(mapping=None,*,ignore_unknown_fields=False,**kwargs)Status of a task
Attributes | |
|---|---|
| Name | Description |
state | google.cloud.batch_v1.types.TaskStatus.StateTask state |
status_events | MutableSequence[google.cloud.batch_v1.types.StatusEvent]Detailed info about why the state is reached. |
Classes
State
State(value)Task states.
Values: STATE_UNSPECIFIED (0): Unknown state. PENDING (1): The Task is created and waiting for resources. ASSIGNED (2): The Task is assigned to at least one VM. RUNNING (3): The Task is running. FAILED (4): The Task has failed. SUCCEEDED (5): The Task has succeeded. UNEXECUTED (6): The Task has not been executed when the Job finishes.
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-12-04 UTC.