5.29.0 (latest) 5.28.0 5.27.0 5.26.0 5.25.0 5.24.0 5.23.0 5.22.0 5.21.0 5.20.0 5.19.0 5.18.0 5.17.0 5.16.0 5.15.0 5.14.0 5.13.0 5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0.0 4.0.0 3.4.0 3.3.0 3.2.0 3.1.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LifecycleConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LifecycleConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.LifecycleConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LifecycleConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.LifecycleConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LifecycleConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.LifecycleConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataproc.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.md.txt)

## Assembly

Google.Cloud.Dataproc.V1.dll

## Constructors

### LifecycleConfig()

    public LifecycleConfig()

### LifecycleConfig(LifecycleConfig)

    public LifecycleConfig(LifecycleConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `LifecycleConfig` |

## Properties

### AutoDeleteTime

    public Timestamp AutoDeleteTime { get; set; }

Optional. The time when cluster will be auto-deleted (see JSON
representation of
[Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### AutoDeleteTtl

    public Duration AutoDeleteTtl { get; set; }

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](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### AutoStopTime

    public Timestamp AutoStopTime { get; set; }

Optional. The time when cluster will be auto-stopped (see JSON
representation of
[Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### AutoStopTtl

    public Duration AutoStopTtl { get; set; }

Optional. The lifetime duration of the cluster. The cluster will be
auto-stopped at the end of this period, calculated from the time of
submission of the create or update cluster request. Minimum value is 10
minutes; maximum value is 14 days (see JSON representation of
[Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### IdleDeleteTtl

    public Duration IdleDeleteTtl { get; set; }

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](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### IdleStartTime

    public Timestamp IdleStartTime { get; set; }

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](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### IdleStopTtl

    public Duration IdleStopTtl { get; set; }

Optional. The duration to keep the cluster started while idling (when no
jobs are running). Passing this threshold will cause the cluster to be
stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
representation of
[Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### StopTtlCase

    public LifecycleConfig.StopTtlOneofCase StopTtlCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LifecycleConfigStopTtlOneofCase` |   |

### TtlCase

    public LifecycleConfig.TtlOneofCase TtlCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LifecycleConfigTtlOneofCase` |   |