Struct google_api_proto::google::cloud::gkemulticloud::v1::CreateAttachedClusterRequest
source · pub struct CreateAttachedClusterRequest {
pub parent: String,
pub attached_cluster: Option<AttachedCluster>,
pub attached_cluster_id: String,
pub validate_only: bool,
}
Expand description
Request message for AttachedClusters.CreateAttachedCluster
method.
Fields§
§parent: String
Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created.
Location names are formatted as projects/<project-id>/locations/<region>
.
See Resource Names for more details on Google Cloud resource names.
attached_cluster: Option<AttachedCluster>
Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.
attached_cluster_id: String
Required. A client provided ID the resource. Must be unique within the parent resource.
The provided ID will be part of the
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
name formatted as
projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>
.
Valid characters are /[a-z][0-9]-/
. Cannot be longer than 63 characters.
validate_only: bool
If set, only validate the request, but do not actually create the cluster.
Trait Implementations§
source§impl Clone for CreateAttachedClusterRequest
impl Clone for CreateAttachedClusterRequest
source§fn clone(&self) -> CreateAttachedClusterRequest
fn clone(&self) -> CreateAttachedClusterRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAttachedClusterRequest
impl Debug for CreateAttachedClusterRequest
source§impl Message for CreateAttachedClusterRequest
impl Message for CreateAttachedClusterRequest
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 CreateAttachedClusterRequest
impl PartialEq for CreateAttachedClusterRequest
source§fn eq(&self, other: &CreateAttachedClusterRequest) -> bool
fn eq(&self, other: &CreateAttachedClusterRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateAttachedClusterRequest
Auto Trait Implementations§
impl !Freeze for CreateAttachedClusterRequest
impl RefUnwindSafe for CreateAttachedClusterRequest
impl Send for CreateAttachedClusterRequest
impl Sync for CreateAttachedClusterRequest
impl Unpin for CreateAttachedClusterRequest
impl UnwindSafe for CreateAttachedClusterRequest
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