public sealed class LifecycleConfig : IMessage<LifecycleConfig>, IEquatable<LifecycleConfig>, IDeepCloneable<LifecycleConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class LifecycleConfig.
Specifies the cluster auto-delete schedule configuration.
Optional. The lifetime duration of cluster. The cluster will be
auto-deleted at the end of this period. Minimum value is 10 minutes;
maximum value is 14 days (see JSON representation of
Duration).
Optional. The duration to keep the cluster alive while idling (when no jobs
are running). Passing this threshold will cause the cluster to be
deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
Duration).
Output only. The time when cluster became idle (most recent job finished)
and became eligible for deletion due to idleness (see JSON representation
of
Timestamp).
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eLifecycleConfig\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its purpose in managing the auto-delete schedule of clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLifecycleConfig\u003c/code\u003e class allows setting properties such as \u003ccode\u003eAutoDeleteTime\u003c/code\u003e, \u003ccode\u003eAutoDeleteTtl\u003c/code\u003e, and \u003ccode\u003eIdleDeleteTtl\u003c/code\u003e, to define when a cluster should be automatically deleted, either after a set duration or due to inactivity.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version, 5.17.0, of the \u003ccode\u003eLifecycleConfig\u003c/code\u003e API is available, along with historical versions ranging back to 3.1.0, for users to access.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLifecycleConfig\u003c/code\u003e 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, and is located within the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an output only property, \u003ccode\u003eIdleStartTime\u003c/code\u003e, which determines the time the cluster became idle, and a property called \u003ccode\u003eTtlCase\u003c/code\u003e which defines the type of the \u003ccode\u003eTtlOneofCase\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]