Struct google_api_proto::google::cloud::vmwareengine::v1::DeletePrivateCloudRequest
source · pub struct DeletePrivateCloudRequest {
pub name: String,
pub request_id: String,
pub force: bool,
pub delay_hours: Option<i32>,
}Expand description
Request message for [VmwareEngine.DeletePrivateCloud][google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateCloud]
Fields§
§name: StringRequired. The resource name of the private cloud to delete.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud
request_id: StringOptional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
force: boolOptional. If set to true, cascade delete is enabled and all children of this private cloud resource are also deleted. When this flag is set to false, the private cloud will not be deleted if there are any children other than the management cluster. The management cluster is always deleted.
delay_hours: Option<i32>Optional. Time delay of the deletion specified in hours. The default value
is 3. Specifying a non-zero value for this field changes the value of
PrivateCloud.state to DELETED and sets expire_time to the planned
deletion time. Deletion can be cancelled before expire_time elapses using
[VmwareEngine.UndeletePrivateCloud][google.cloud.vmwareengine.v1.VmwareEngine.UndeletePrivateCloud].
Specifying a value of 0 for this field instead begins the deletion
process and ceases billing immediately. During the final deletion process,
the value of PrivateCloud.state becomes PURGING.
Implementations§
source§impl DeletePrivateCloudRequest
impl DeletePrivateCloudRequest
sourcepub fn delay_hours(&self) -> i32
pub fn delay_hours(&self) -> i32
Returns the value of delay_hours, or the default value if delay_hours is unset.
Trait Implementations§
source§impl Clone for DeletePrivateCloudRequest
impl Clone for DeletePrivateCloudRequest
source§fn clone(&self) -> DeletePrivateCloudRequest
fn clone(&self) -> DeletePrivateCloudRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeletePrivateCloudRequest
impl Debug for DeletePrivateCloudRequest
source§impl Default for DeletePrivateCloudRequest
impl Default for DeletePrivateCloudRequest
source§impl Message for DeletePrivateCloudRequest
impl Message for DeletePrivateCloudRequest
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 DeletePrivateCloudRequest
impl PartialEq for DeletePrivateCloudRequest
source§fn eq(&self, other: &DeletePrivateCloudRequest) -> bool
fn eq(&self, other: &DeletePrivateCloudRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeletePrivateCloudRequest
Auto Trait Implementations§
impl Freeze for DeletePrivateCloudRequest
impl RefUnwindSafe for DeletePrivateCloudRequest
impl Send for DeletePrivateCloudRequest
impl Sync for DeletePrivateCloudRequest
impl Unpin for DeletePrivateCloudRequest
impl UnwindSafe for DeletePrivateCloudRequest
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