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

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

Request message for WatchAllObjects.

Fields

bucket: String

Name of the bucket in which to look for objects.

versions: bool

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

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.

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.

prefix: String

Filter results to objects whose names begin with this prefix.

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.

page_token: String

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

projection: i32

Set of properties to return. Defaults to NO_ACL.

channel: Option<Channel>

Properties of the channel to be inserted.

common_request_params: Option<CommonRequestParams>

A set of parameters common to all Storage API requests.

Implementations

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

impl Debug for WatchAllObjectsRequest[src]

impl Default for WatchAllObjectsRequest[src]

impl Message for WatchAllObjectsRequest[src]

impl PartialEq<WatchAllObjectsRequest> for WatchAllObjectsRequest[src]

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