public sealed class LifecyclePolicy : IMessage<LifecyclePolicy>, IEquatable<LifecyclePolicy>, IDeepCloneable<LifecyclePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class LifecyclePolicy.
LifecyclePolicy describes how to deal with task failures
based on different conditions.
[[["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 latest version of the \u003ccode\u003eLifecyclePolicy\u003c/code\u003e class in the Batch v1 API is 2.13.0, with earlier versions back to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLifecyclePolicy\u003c/code\u003e is a class within the Google.Cloud.Batch.V1 namespace, designed to manage how task failures are handled based on defined conditions.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for comprehensive functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLifecyclePolicy\u003c/code\u003e includes properties like \u003ccode\u003eAction\u003c/code\u003e and \u003ccode\u003eActionCondition\u003c/code\u003e, which determine what action is taken when specified conditions for task failure are met.\u003c/p\u003e\n"]]],[],null,[]]