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
def auto_delete_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
Note: The following fields are mutually exclusive:
auto_delete_time
,auto_delete_ttl
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auto_delete_time=
def auto_delete_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
Note: The following fields are mutually exclusive:
auto_delete_time
,auto_delete_ttl
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Timestamp) — Optional. The time when cluster will be auto-deleted (see JSON
representation of
Timestamp).
Note: The following fields are mutually exclusive:
auto_delete_time
,auto_delete_ttl
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auto_delete_ttl
def auto_delete_ttl() -> ::Google::Protobuf::Duration
-
(::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).
Note: The following fields are mutually exclusive:
auto_delete_ttl
,auto_delete_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auto_delete_ttl=
def auto_delete_ttl=(value) -> ::Google::Protobuf::Duration
-
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).
Note: The following fields are mutually exclusive:
auto_delete_ttl
,auto_delete_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::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).
Note: The following fields are mutually exclusive:
auto_delete_ttl
,auto_delete_time
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#idle_delete_ttl
def idle_delete_ttl() -> ::Google::Protobuf::Duration
- (::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=
def idle_delete_ttl=(value) -> ::Google::Protobuf::Duration
- 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).
- (::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
def idle_start_time() -> ::Google::Protobuf::Timestamp
- (::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).