[][src]Struct gcp_client::google::storage::v1::ListBucketsRequest

pub struct ListBucketsRequest {
    pub max_results: i32,
    pub page_token: String,
    pub prefix: String,
    pub project: String,
    pub projection: i32,
    pub common_request_params: Option<CommonRequestParams>,
}

Request message for ListBuckets.

Fields

max_results: i32

Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

page_token: String

A previously-returned page token representing part of the larger set of results to view.

prefix: String

Filter results to buckets whose names begin with this prefix.

project: String

Required. A valid API project identifier.

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 ListBucketsRequest[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 ListBucketsRequest[src]

impl Debug for ListBucketsRequest[src]

impl Default for ListBucketsRequest[src]

impl Message for ListBucketsRequest[src]

impl PartialEq<ListBucketsRequest> for ListBucketsRequest[src]

impl StructuralPartialEq for ListBucketsRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]