Class JobStatus (0.3.2)

JobStatus(mapping=None,*,ignore_unknown_fields=False,**kwargs)

Job status.

Attributes

NameDescription
stategoogle.cloud.batch_v1.types.JobStatus.State
Job state
status_eventsSequence[google.cloud.batch_v1.types.StatusEvent]
Job status events
task_groupsMapping[str,google.cloud.batch_v1.types.JobStatus.TaskGroupStatus]
Aggregated task status for each TaskGroup in the Job. The map key is TaskGroup ID.
run_durationgoogle.protobuf.duration_pb2.Duration
The 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.

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.

Parameters
NameDescription
kwargsdict

Keys and values corresponding to the fields of the message.

mappingUnion[dict,.Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fieldsOptional(bool)

If True, do not raise errors for unknown fields. Only applied ifmapping is a mapping type or there are keyword parameters.

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.