Batch v1 API - Class LifecyclePolicy.Types.ActionCondition (2.4.0)

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.

Inheritance

object > LifecyclePolicy.Types.ActionCondition

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

ActionCondition()

public ActionCondition()

ActionCondition(ActionCondition)

public ActionCondition(LifecyclePolicy.Types.ActionCondition other)
Parameter
NameDescription
otherLifecyclePolicyTypesActionCondition

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
TypeDescription
RepeatedFieldint