Struct google_api_proto::google::cloud::gkemulticloud::v1::ImportAttachedClusterRequest
source · pub struct ImportAttachedClusterRequest {
pub parent: String,
pub validate_only: bool,
pub fleet_membership: String,
pub platform_version: String,
pub distribution: String,
pub proxy_config: Option<AttachedProxyConfig>,
}
Expand description
Request message for AttachedClusters.ImportAttachedCluster
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.
validate_only: bool
If set, only validate the request, but do not actually import the cluster.
fleet_membership: String
Required. The name of the fleet membership resource to import.
platform_version: String
Required. The platform version for the cluster (e.g. 1.19.0-gke.1000
).
You can list all supported versions on a given Google Cloud region by calling [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
distribution: String
Required. The Kubernetes distribution of the underlying attached cluster.
Supported values: [“eks”, “aks”].
proxy_config: Option<AttachedProxyConfig>
Optional. Proxy configuration for outbound HTTP(S) traffic.
Trait Implementations§
source§impl Clone for ImportAttachedClusterRequest
impl Clone for ImportAttachedClusterRequest
source§fn clone(&self) -> ImportAttachedClusterRequest
fn clone(&self) -> ImportAttachedClusterRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportAttachedClusterRequest
impl Debug for ImportAttachedClusterRequest
source§impl Message for ImportAttachedClusterRequest
impl Message for ImportAttachedClusterRequest
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 ImportAttachedClusterRequest
impl PartialEq for ImportAttachedClusterRequest
source§fn eq(&self, other: &ImportAttachedClusterRequest) -> bool
fn eq(&self, other: &ImportAttachedClusterRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportAttachedClusterRequest
Auto Trait Implementations§
impl Freeze for ImportAttachedClusterRequest
impl RefUnwindSafe for ImportAttachedClusterRequest
impl Send for ImportAttachedClusterRequest
impl Sync for ImportAttachedClusterRequest
impl Unpin for ImportAttachedClusterRequest
impl UnwindSafe for ImportAttachedClusterRequest
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