Struct google_api_proto::google::storage::v1::WatchAllObjectsRequest
source · 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>,
}
Expand description
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§
source§impl WatchAllObjectsRequest
impl WatchAllObjectsRequest
sourcepub fn projection(&self) -> Projection
pub fn projection(&self) -> Projection
Returns the enum value of projection
, or the default if the field is set to an invalid enum value.
sourcepub fn set_projection(&mut self, value: Projection)
pub fn set_projection(&mut self, value: Projection)
Sets projection
to the provided enum value.
Trait Implementations§
source§impl Clone for WatchAllObjectsRequest
impl Clone for WatchAllObjectsRequest
source§fn clone(&self) -> WatchAllObjectsRequest
fn clone(&self) -> WatchAllObjectsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WatchAllObjectsRequest
impl Debug for WatchAllObjectsRequest
source§impl Default for WatchAllObjectsRequest
impl Default for WatchAllObjectsRequest
source§impl Message for WatchAllObjectsRequest
impl Message for WatchAllObjectsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for WatchAllObjectsRequest
impl PartialEq for WatchAllObjectsRequest
source§fn eq(&self, other: &WatchAllObjectsRequest) -> bool
fn eq(&self, other: &WatchAllObjectsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WatchAllObjectsRequest
Auto Trait Implementations§
impl Freeze for WatchAllObjectsRequest
impl RefUnwindSafe for WatchAllObjectsRequest
impl Send for WatchAllObjectsRequest
impl Sync for WatchAllObjectsRequest
impl Unpin for WatchAllObjectsRequest
impl UnwindSafe for WatchAllObjectsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request