public sealed class 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
IMessage<LifecyclePolicy.Types.ActionCondition>, IEquatable<LifecyclePolicy.Types.ActionCondition>, IDeepCloneable<LifecyclePolicy.Types.ActionCondition>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
ActionCondition()
public ActionCondition()
ActionCondition(LifecyclePolicy.Types.ActionCondition)
public ActionCondition(LifecyclePolicy.Types.ActionCondition other)
Parameter | |
---|---|
Name | Description |
other | LifecyclePolicy.Types.ActionCondition |
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 |
RepeatedField<Int32> |