Struct google_dataproc1::api::LifecycleConfig[][src]

pub struct LifecycleConfig {
    pub auto_delete_time: Option<String>,
    pub auto_delete_ttl: Option<String>,
    pub idle_delete_ttl: Option<String>,
    pub idle_start_time: Option<String>,
}

Specifies the cluster auto-delete schedule configuration.

This type is not used in any activity, and only used as part of another schema.

Fields

auto_delete_time: Option<String>

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

auto_delete_ttl: Option<String>

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)).

idle_delete_ttl: Option<String>

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)).

idle_start_time: Option<String>

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)).

Trait Implementations

impl Clone for LifecycleConfig[src]

impl Debug for LifecycleConfig[src]

impl Default for LifecycleConfig[src]

impl<'de> Deserialize<'de> for LifecycleConfig[src]

impl Part for LifecycleConfig[src]

impl Serialize for LifecycleConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.