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.
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 content provides documentation for the \u003ccode\u003eLifecyclePolicy.Types.ActionCondition\u003c/code\u003e class within the Google Cloud Batch v1 API, detailing its use for defining conditions that trigger actions based on task failures.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eActionCondition\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Batch.V1\u003c/code\u003e namespace, is used in .NET development and includes properties like \u003ccode\u003eExitCodes\u003c/code\u003e for specifying which exit codes trigger defined actions.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes a version history, with the latest version being 2.13.0 and it is viewable through direct links to the specified version's documentation as well as all previous versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eActionCondition\u003c/code\u003e has several implementations such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the \u003ccode\u003eActionCondition\u003c/code\u003e class's constructors, including a default constructor and one that takes another \u003ccode\u003eActionCondition\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]