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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `LifecyclePolicy.Types.ActionCondition` class in the Batch v1 API is used to define conditions for actions in response to task failures."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in message handling, comparison, cloning, and buffering."],["The class includes a constructor that takes another `ActionCondition` object as a parameter, and a parameterless constructor."],["The `ExitCodes` property allows for specifying multiple exit codes that, when matched during task execution, will trigger the associated action, and it is of type `RepeatedField\u003cint\u003e`."],["The documentation includes versioned links for different versions of the ActionCondition class, with version 2.13.0 being the latest."]]],[]]