Struct google_dataproc1::api::Cluster[][src]

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

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

cluster_name: Option<String>

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

cluster_uuid: Option<String>

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

config: Option<ClusterConfig>

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

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>

Output only. 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.

project_id: Option<String>

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

status: Option<ClusterStatus>

Output only. Cluster status.

status_history: Option<Vec<ClusterStatus>>

Output only. The previous cluster status.

Trait Implementations

impl Clone for Cluster[src]

impl Debug for Cluster[src]

impl Default for Cluster[src]

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

impl RequestValue for Cluster[src]

impl ResponseResult for Cluster[src]

impl Serialize for Cluster[src]

Auto Trait Implementations

impl RefUnwindSafe for Cluster

impl Send for Cluster

impl Sync for Cluster

impl Unpin for Cluster

impl UnwindSafe for Cluster

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.