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 document provides reference documentation for the \u003ccode\u003eLifecycleConfig\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its properties and functionality for managing cluster auto-deletion schedules.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLifecycleConfig\u003c/code\u003e class offers options to define auto-deletion based on a specific time (\u003ccode\u003eAutoDeleteTime\u003c/code\u003e) or a duration (\u003ccode\u003eAutoDeleteTtl\u003c/code\u003e), allowing for flexible cluster lifecycle management.\u003c/p\u003e\n"],["\u003cp\u003eIt also allows to define the behavior of a cluster after idling through \u003ccode\u003eIdleDeleteTtl\u003c/code\u003e which will automatically delete the cluster when no jobs are running, enhancing resource management and cost efficiency.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for the \u003ccode\u003eLifecycleConfig\u003c/code\u003e class range from the latest 5.17.0 down to version 3.1.0, with links to each version's specific documentation.\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, showing its compatibility with various Protobuf functionalities.\u003c/p\u003e\n"]]],[],null,[]]