Class JobDependency (0.14.0)

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

JobDependency describes the state of other Jobs that the start of this Job depends on. All dependent Jobs must have been submitted in the same region.

Attribute

NameDescription
items MutableMapping[str, google.cloud.batch_v1alpha.types.JobDependency.Type]
Each item maps a Job name to a Type. All items must be satisfied for the JobDependency to be satisfied (the AND operation). Once a condition for one item becomes true, it won't go back to false even the dependent Job state changes again.

Classes

ItemsEntry

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

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

Type

Type(value)

Dependency type.

Values: TYPE_UNSPECIFIED (0): Unspecified. SUCCEEDED (1): The dependent Job has succeeded. FAILED (2): The dependent Job has failed. FINISHED (3): SUCCEEDED or FAILED.