public sealed class LifecyclePolicy.Types.ActionCondition : IMessage<LifecyclePolicy.Types.ActionCondition>, IEquatable<LifecyclePolicy.Types.ActionCondition>, IDeepCloneable<LifecyclePolicy.Types.ActionCondition>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class LifecyclePolicy.Types.ActionCondition.
Conditions for actions to deal with task failures.
Implements
IMessageLifecyclePolicyTypesActionCondition, IEquatableLifecyclePolicyTypesActionCondition, IDeepCloneableLifecyclePolicyTypesActionCondition, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
ActionCondition()
public ActionCondition()
ActionCondition(ActionCondition)
public ActionCondition(LifecyclePolicy.Types.ActionCondition other)
Parameter | |
---|---|
Name | Description |
other | LifecyclePolicyTypesActionCondition |
Properties
ExitCodes
public RepeatedField<int> ExitCodes { get; }
Exit codes of a task execution. If there are more than 1 exit codes, when task executes with any of the exit code in the list, the condition is met and the action will be executed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldint |