Struct google_api_proto::google::storage::control::v2::DeleteManagedFolderRequest
source · pub struct DeleteManagedFolderRequest {
pub name: String,
pub if_metageneration_match: Option<i64>,
pub if_metageneration_not_match: Option<i64>,
pub allow_non_empty: bool,
pub request_id: String,
}
Expand description
DeleteManagedFolder RPC request message.
Fields§
§name: String
Required. Name of the managed folder.
Format:
projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}
if_metageneration_match: Option<i64>
The operation succeeds conditional on the managed folder’s current metageneration matching the value here specified.
if_metageneration_not_match: Option<i64>
The operation succeeds conditional on the managed folder’s current metageneration NOT matching the value here specified.
allow_non_empty: bool
Allows deletion of a managed folder even if it is not empty. A managed folder is empty if it manages no child managed folders or objects. Caller must have permission for storage.managedFolders.setIamPolicy.
request_id: String
Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.
Implementations§
source§impl DeleteManagedFolderRequest
impl DeleteManagedFolderRequest
sourcepub fn if_metageneration_match(&self) -> i64
pub fn if_metageneration_match(&self) -> i64
Returns the value of if_metageneration_match
, or the default value if if_metageneration_match
is unset.
sourcepub fn if_metageneration_not_match(&self) -> i64
pub fn if_metageneration_not_match(&self) -> i64
Returns the value of if_metageneration_not_match
, or the default value if if_metageneration_not_match
is unset.
Trait Implementations§
source§impl Clone for DeleteManagedFolderRequest
impl Clone for DeleteManagedFolderRequest
source§fn clone(&self) -> DeleteManagedFolderRequest
fn clone(&self) -> DeleteManagedFolderRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteManagedFolderRequest
impl Debug for DeleteManagedFolderRequest
source§impl Default for DeleteManagedFolderRequest
impl Default for DeleteManagedFolderRequest
source§impl Message for DeleteManagedFolderRequest
impl Message for DeleteManagedFolderRequest
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 DeleteManagedFolderRequest
impl PartialEq for DeleteManagedFolderRequest
source§fn eq(&self, other: &DeleteManagedFolderRequest) -> bool
fn eq(&self, other: &DeleteManagedFolderRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteManagedFolderRequest
Auto Trait Implementations§
impl Freeze for DeleteManagedFolderRequest
impl RefUnwindSafe for DeleteManagedFolderRequest
impl Send for DeleteManagedFolderRequest
impl Sync for DeleteManagedFolderRequest
impl Unpin for DeleteManagedFolderRequest
impl UnwindSafe for DeleteManagedFolderRequest
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