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.
Implements
IMessage<LifecyclePolicy>, IEquatable<LifecyclePolicy>, IDeepCloneable<LifecyclePolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
LifecyclePolicy()
public LifecyclePolicy()
LifecyclePolicy(LifecyclePolicy)
public LifecyclePolicy(LifecyclePolicy other)
Parameter | |
---|---|
Name | Description |
other | LifecyclePolicy |
Properties
Action
public LifecyclePolicy.Types.Action Action { get; set; }
Action to execute when ActionCondition is true.
Property Value | |
---|---|
Type | Description |
LifecyclePolicy.Types.Action |
ActionCondition
public LifecyclePolicy.Types.ActionCondition ActionCondition { get; set; }
Conditions that decide why a task failure is dealt with a specific action.
Property Value | |
---|---|
Type | Description |
LifecyclePolicy.Types.ActionCondition |