Class JobStatus (0.9.0) Stay organized with collections Save and categorize content based on your preferences.
JobStatus(mapping=None,*,ignore_unknown_fields=False,**kwargs)Job status.
Attributes
| Name | Description |
state | google.cloud.batch_v1.types.JobStatus.StateJob state |
status_events | MutableSequence[google.cloud.batch_v1.types.StatusEvent]Job status events |
task_groups | MutableMapping[str,google.cloud.batch_v1.types.JobStatus.TaskGroupStatus]Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID. |
run_duration | google.protobuf.duration_pb2.DurationThe duration of time that the Job spent in status RUNNING. |
Classes
InstanceStatus
InstanceStatus(mapping=None,*,ignore_unknown_fields=False,**kwargs)VM instance status.
State
State(value)Valid Job states.
Values: STATE_UNSPECIFIED (0): No description available. QUEUED (1): Job is admitted (validated and persisted) and waiting for resources. SCHEDULED (2): Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed. RUNNING (3): Resource allocation has been successful. At least one Task in the Job is RUNNING. SUCCEEDED (4): All Tasks in the Job have finished successfully. FAILED (5): At least one Task in the Job has failed. DELETION_IN_PROGRESS (6): The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.
TaskGroupStatus
TaskGroupStatus(mapping=None,*,ignore_unknown_fields=False,**kwargs)Aggregated task status for a TaskGroup.
TaskGroupsEntry
TaskGroupsEntry(mapping=None,*,ignore_unknown_fields=False,**kwargs)The abstract base class for a message.
| Name | Description |
kwargs | dictKeys and values corresponding to the fields of the message. |
mapping | Union[dict,A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields | Optional(bool)If True, do not raise errors for unknown fields. Only applied if |
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.