Struct google_dataproc1::Cluster
source · 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>,
}Expand description
Describes the identifying information, config, and status of a cluster of Google 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).
- regions clusters patch projects (request)
- regions clusters create projects (request)
- regions clusters get projects (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§
source§impl Deserialize for Cluster
impl Deserialize for Cluster
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
impl RequestValue for Cluster
impl ResponseResult for Cluster
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more