Struct google_api_proto::google::cloud::gkemulticloud::v1::DeleteAttachedClusterRequest
source · pub struct DeleteAttachedClusterRequest {
pub name: String,
pub validate_only: bool,
pub allow_missing: bool,
pub ignore_errors: bool,
pub etag: String,
}
Expand description
Request message for AttachedClusters.DeleteAttachedCluster
method.
Fields§
§name: String
Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to delete.
AttachedCluster
names are formatted as
projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>
.
See Resource Names for more details on Google Cloud Platform resource names.
validate_only: bool
If set, only validate the request, but do not actually delete the resource.
allow_missing: bool
If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.
Useful for idempotent deletion.
ignore_errors: bool
If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.
etag: String
The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
Allows clients to perform deletions through optimistic concurrency control.
If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
Trait Implementations§
source§impl Clone for DeleteAttachedClusterRequest
impl Clone for DeleteAttachedClusterRequest
source§fn clone(&self) -> DeleteAttachedClusterRequest
fn clone(&self) -> DeleteAttachedClusterRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAttachedClusterRequest
impl Debug for DeleteAttachedClusterRequest
source§impl Message for DeleteAttachedClusterRequest
impl Message for DeleteAttachedClusterRequest
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 DeleteAttachedClusterRequest
impl PartialEq for DeleteAttachedClusterRequest
source§fn eq(&self, other: &DeleteAttachedClusterRequest) -> bool
fn eq(&self, other: &DeleteAttachedClusterRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteAttachedClusterRequest
Auto Trait Implementations§
impl Freeze for DeleteAttachedClusterRequest
impl RefUnwindSafe for DeleteAttachedClusterRequest
impl Send for DeleteAttachedClusterRequest
impl Sync for DeleteAttachedClusterRequest
impl Unpin for DeleteAttachedClusterRequest
impl UnwindSafe for DeleteAttachedClusterRequest
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