Class LifecyclePolicy
LifecyclePolicy describes how to deal with task failures based on different conditions.
Implements
Inherited Members
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class LifecyclePolicy : IDirectResponseSchema
Properties
Action
Action to execute when ActionCondition is true. When RETRY_TASK is specified, we will retry failed tasks if we notice any exit code match and fail tasks if no match is found. Likewise, when FAIL_TASK is specified, we will fail tasks if we notice any exit code match and retry tasks if no match is found.
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
Type | Description |
---|---|
string |
ActionCondition
Conditions that decide why a task failure is dealt with a specific action.
Declaration
[JsonProperty("actionCondition")]
public virtual ActionCondition ActionCondition { get; set; }
Property Value
Type | Description |
---|---|
ActionCondition |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |