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

pub struct ListObjectsRequest {
    pub bucket: String,
    pub delimiter: String,
    pub include_trailing_delimiter: bool,
    pub max_results: i32,
    pub page_token: String,
    pub prefix: String,
    pub projection: i32,
    pub versions: bool,
    pub common_request_params: Option<CommonRequestParams>,
}

Request message for ListObjects.

Fields

bucket: String

Required. Name of the bucket in which to look for objects.

delimiter: String

Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.

include_trailing_delimiter: bool

If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.

max_results: i32

Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. 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 objects whose names begin with this prefix.

projection: i32

Set of properties to return. Defaults to NO_ACL.

versions: bool

If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

Implementations

impl ListObjectsRequest[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 ListObjectsRequest[src]

impl Debug for ListObjectsRequest[src]

impl Default for ListObjectsRequest[src]

impl Message for ListObjectsRequest[src]

impl PartialEq<ListObjectsRequest> for ListObjectsRequest[src]

impl StructuralPartialEq for ListObjectsRequest[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]