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

pub struct GetBucketRequest {
    pub bucket: String,
    pub if_metageneration_match: Option<i64>,
    pub if_metageneration_not_match: Option<i64>,
    pub projection: i32,
    pub common_request_params: Option<CommonRequestParams>,
}

Request message for GetBucket.

Fields

bucket: String

Required. Name of a bucket.

if_metageneration_match: Option<i64>

Makes the return of the bucket metadata conditional on whether the bucket’s current metageneration matches the given value.

if_metageneration_not_match: Option<i64>

Makes the return of the bucket metadata conditional on whether the bucket’s current metageneration does not match the given value.

projection: i32

Set of properties to return. Defaults to NO_ACL.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

Implementations

impl GetBucketRequest[src]

pub fn projection(&self) -> Projection[src]

Returns the enum value of projection, or the default if the field is set to an invalid enum value.

pub fn set_projection(&mut self, value: Projection)[src]

Sets projection to the provided enum value.

Trait Implementations

impl Clone for GetBucketRequest[src]

impl Debug for GetBucketRequest[src]

impl Default for GetBucketRequest[src]

impl Message for GetBucketRequest[src]

impl PartialEq<GetBucketRequest> for GetBucketRequest[src]

impl StructuralPartialEq for GetBucketRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetBucketRequest

impl Send for GetBucketRequest

impl Sync for GetBucketRequest

impl Unpin for GetBucketRequest

impl UnwindSafe for GetBucketRequest

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]