Class LifecyclePolicy (0.3.0)

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

LifecyclePolicy describes how to deal with task failures based on different conditions.

Attributes

NameDescription
action google.cloud.batch_v1.types.LifecyclePolicy.Action
Action to execute when ActionCondition is true.
action_condition google.cloud.batch_v1.types.LifecyclePolicy.ActionCondition
Conditions that decide why a task failure is dealt with a specific action.

Inheritance

builtins.object > proto.message.Message > LifecyclePolicy

Classes

Action

Action(value)

Action on task failures based on different conditions.

ActionCondition

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

Conditions for actions to deal with task failures.