Show / Hide Table of Contents

Class LifecyclePolicy

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

Inheritance
object
LifecyclePolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX