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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLifecyclePolicy.Types.ActionCondition\u003c/code\u003e class in the Batch v1 API is used to define conditions for actions in response to task failures.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor that takes another \u003ccode\u003eActionCondition\u003c/code\u003e object as a parameter, and a parameterless constructor.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExitCodes\u003c/code\u003e property allows for specifying multiple exit codes that, when matched during task execution, will trigger the associated action, and it is of type \u003ccode\u003eRepeatedField<int>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes versioned links for different versions of the ActionCondition class, with version 2.13.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]