Struct google_api_proto::google::cloud::dataproc::v1::CreateNodeGroupRequest
source · pub struct CreateNodeGroupRequest {
pub parent: String,
pub node_group: Option<NodeGroup>,
pub node_group_id: String,
pub request_id: String,
}
Expand description
A request to create a node group.
Fields§
§parent: String
Required. The parent resource where this node group will be created.
Format: projects/{project}/regions/{region}/clusters/{cluster}
node_group: Option<NodeGroup>
Required. The node group to create.
node_group_id: String
Optional. An optional node group ID. Generated if not specified.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.
request_id: String
Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest with the same ID, the second request is ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned.
Recommendation: Set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Trait Implementations§
source§impl Clone for CreateNodeGroupRequest
impl Clone for CreateNodeGroupRequest
source§fn clone(&self) -> CreateNodeGroupRequest
fn clone(&self) -> CreateNodeGroupRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNodeGroupRequest
impl Debug for CreateNodeGroupRequest
source§impl Default for CreateNodeGroupRequest
impl Default for CreateNodeGroupRequest
source§impl Message for CreateNodeGroupRequest
impl Message for CreateNodeGroupRequest
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 CreateNodeGroupRequest
impl PartialEq for CreateNodeGroupRequest
source§fn eq(&self, other: &CreateNodeGroupRequest) -> bool
fn eq(&self, other: &CreateNodeGroupRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNodeGroupRequest
Auto Trait Implementations§
impl Freeze for CreateNodeGroupRequest
impl RefUnwindSafe for CreateNodeGroupRequest
impl Send for CreateNodeGroupRequest
impl Sync for CreateNodeGroupRequest
impl Unpin for CreateNodeGroupRequest
impl UnwindSafe for CreateNodeGroupRequest
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