Batch v1 API - Class LifecyclePolicy (1.3.0)

public sealed class LifecyclePolicy : IMessage<LifecyclePolicy>, IEquatable<LifecyclePolicy>, IDeepCloneable<LifecyclePolicy>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class LifecyclePolicy.

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

Inheritance

object > LifecyclePolicy

Namespace

GoogleCloudGoogle.Cloud.BatchV1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

LifecyclePolicy()

public LifecyclePolicy()

LifecyclePolicy(LifecyclePolicy)

public LifecyclePolicy(LifecyclePolicy other)
Parameter
NameDescription
otherLifecyclePolicy

Properties

Action

public LifecyclePolicy.Types.Action Action { get; set; }

Action to execute when ActionCondition is true.

Property Value
TypeDescription
LifecyclePolicyTypesAction

ActionCondition

public LifecyclePolicy.Types.ActionCondition ActionCondition { get; set; }

Conditions that decide why a task failure is dealt with a specific action.

Property Value
TypeDescription
LifecyclePolicyTypesActionCondition