[][src]Struct gcp_client::google::cloud::dataproc::v1::Cluster

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

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

Fields

project_id: String

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

cluster_name: String

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

config: Option<ClusterConfig>

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

labels: 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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.

status: Option<ClusterStatus>

Output only. Cluster status.

status_history: Vec<ClusterStatus>

Output only. The previous cluster status.

cluster_uuid: String

Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the 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.

Trait Implementations

impl Clone for Cluster[src]

impl Debug for Cluster[src]

impl Default for Cluster[src]

impl Message for Cluster[src]

impl PartialEq<Cluster> for Cluster[src]

impl StructuralPartialEq 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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]