[][src]Struct google_dataproc1::Cluster

pub struct Cluster {
    pub status: Option<ClusterStatus>,
    pub cluster_uuid: Option<String>,
    pub cluster_name: Option<String>,
    pub project_id: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub metrics: Option<ClusterMetrics>,
    pub status_history: Option<Vec<ClusterStatus>>,
    pub config: Option<ClusterConfig>,
}

Describes the identifying information, config, and status of a cluster of Compute Engine instances.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

status: Option<ClusterStatus>

Output only. Cluster status.

cluster_uuid: Option<String>

Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.

cluster_name: Option<String>

Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.

project_id: Option<String>

Required. The Google Cloud Platform project ID that the cluster belongs to.

labels: Option<HashMap<String, String>>

Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.

metrics: Option<ClusterMetrics>

Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.

status_history: Option<Vec<ClusterStatus>>

Output only. The previous cluster status.

config: Option<ClusterConfig>

Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.

Trait Implementations

impl ResponseResult for Cluster[src]

impl RequestValue for Cluster[src]

impl Clone for Cluster[src]

impl Default for Cluster[src]

impl Debug for Cluster[src]

impl Serialize for Cluster[src]

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

Auto Trait Implementations

impl Send for Cluster

impl Sync for Cluster

impl Unpin for Cluster

impl UnwindSafe for Cluster

impl RefUnwindSafe for Cluster

Blanket Implementations

impl<T> From<T> 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 = !

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.

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

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

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

impl<T> Typeable for T where
    T: Any

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