Struct gapi_grpc::google::storage::v1::DeleteObjectRequest[][src]

pub struct DeleteObjectRequest {
    pub bucket: String,
    pub object: String,
    pub upload_id: String,
    pub generation: i64,
    pub if_generation_match: Option<i64>,
    pub if_generation_not_match: Option<i64>,
    pub if_metageneration_match: Option<i64>,
    pub if_metageneration_not_match: Option<i64>,
    pub common_object_request_params: Option<CommonObjectRequestParams>,
    pub common_request_params: Option<CommonRequestParams>,
}

Message for deleting an object. Either bucket and object or upload_id must be set (but not both).

Fields

bucket: String

Required. Name of the bucket in which the object resides.

object: String

Required. The name of the object to delete (when not using a resumable write).

upload_id: String

The resumable upload_id of the object to delete (when using a resumable write). This should be copied from the upload_id field of StartResumableWriteResponse.

generation: i64

If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default).

if_generation_match: Option<i64>

Makes the operation conditional on whether the object’s current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.

if_generation_not_match: Option<i64>

Makes the operation conditional on whether the object’s current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.

if_metageneration_match: Option<i64>

Makes the operation conditional on whether the object’s current metageneration matches the given value.

if_metageneration_not_match: Option<i64>

Makes the operation conditional on whether the object’s current metageneration does not match the given value.

common_object_request_params: Option<CommonObjectRequestParams>

A set of parameters common to Storage API requests concerning an object.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

Trait Implementations

impl Clone for DeleteObjectRequest[src]

impl Debug for DeleteObjectRequest[src]

impl Default for DeleteObjectRequest[src]

impl Message for DeleteObjectRequest[src]

impl PartialEq<DeleteObjectRequest> for DeleteObjectRequest[src]

impl StructuralPartialEq for DeleteObjectRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DeleteObjectRequest

impl Send for DeleteObjectRequest

impl Sync for DeleteObjectRequest

impl Unpin for DeleteObjectRequest

impl UnwindSafe for DeleteObjectRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]