Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::LifecycleConfig (v0.22.0)

Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::LifecycleConfig.

Specifies the cluster auto-delete schedule configuration.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auto_delete_time

defauto_delete_time()->::Google::Protobuf::Timestamp
Returns

#auto_delete_time=

defauto_delete_time=(value)->::Google::Protobuf::Timestamp
Parameter
Returns

#auto_delete_ttl

defauto_delete_ttl()->::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — 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).

#auto_delete_ttl=

defauto_delete_ttl=(value)->::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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).
Returns
  • (::Google::Protobuf::Duration) — 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).

#idle_delete_ttl

defidle_delete_ttl()->::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::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).

#idle_delete_ttl=

defidle_delete_ttl=(value)->::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::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).
Returns
  • (::Google::Protobuf::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).

#idle_start_time

defidle_start_time()->::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — 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).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.