public sealed class LifecycleConfig : IMessage<LifecycleConfig>, IEquatable<LifecycleConfig>, IDeepCloneable<LifecycleConfig>, IBufferMessage, IMessage
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\u003eThe \u003ccode\u003eLifecycleConfig\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace defines the auto-delete schedule for a cluster, allowing configuration of auto-deletion by time or duration.\u003c/p\u003e\n"],["\u003cp\u003eVersion 5.17.0 is the latest version of the \u003ccode\u003eLifecycleConfig\u003c/code\u003e documentation, with previous versions available from 5.16.0 down to 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLifecycleConfig\u003c/code\u003e offers properties like \u003ccode\u003eAutoDeleteTime\u003c/code\u003e, \u003ccode\u003eAutoDeleteTtl\u003c/code\u003e, and \u003ccode\u003eIdleDeleteTtl\u003c/code\u003e to control when a cluster is automatically deleted, along with \u003ccode\u003eIdleStartTime\u003c/code\u003e to indicate when a cluster became idle.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and is part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are 2 constructors available, which are a default constructor, \u003ccode\u003eLifecycleConfig()\u003c/code\u003e, and another that takes an existing \u003ccode\u003eLifecycleConfig\u003c/code\u003e object as a parameter, \u003ccode\u003eLifecycleConfig(LifecycleConfig other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]