Struct google_api_proto::google::cloud::dataproc::v1::ManagedCluster
source · pub struct ManagedCluster {
pub cluster_name: String,
pub config: Option<ClusterConfig>,
pub labels: BTreeMap<String, String>,
}
Expand description
Cluster that is managed by the workflow.
Fields§
§cluster_name: String
Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.
The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
config: Option<ClusterConfig>
Required. The cluster configuration.
labels: BTreeMap<String, String>
Optional. The labels to associate with this cluster.
Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
No more than 32 labels can be associated with a given cluster.
Trait Implementations§
source§impl Clone for ManagedCluster
impl Clone for ManagedCluster
source§fn clone(&self) -> ManagedCluster
fn clone(&self) -> ManagedCluster
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedCluster
impl Debug for ManagedCluster
source§impl Default for ManagedCluster
impl Default for ManagedCluster
source§impl Message for ManagedCluster
impl Message for ManagedCluster
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ManagedCluster
impl PartialEq for ManagedCluster
source§fn eq(&self, other: &ManagedCluster) -> bool
fn eq(&self, other: &ManagedCluster) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManagedCluster
Auto Trait Implementations§
impl Freeze for ManagedCluster
impl RefUnwindSafe for ManagedCluster
impl Send for ManagedCluster
impl Sync for ManagedCluster
impl Unpin for ManagedCluster
impl UnwindSafe for ManagedCluster
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request