Struct google_api_proto::google::storage::v2::ListObjectsRequest
source · pub struct ListObjectsRequest {Show 13 fields
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub delimiter: String,
pub include_trailing_delimiter: bool,
pub prefix: String,
pub versions: bool,
pub read_mask: Option<FieldMask>,
pub lexicographic_start: String,
pub lexicographic_end: String,
pub soft_deleted: bool,
pub include_folders_as_prefixes: bool,
pub match_glob: String,
}Expand description
Request message for ListObjects.
Fields§
§parent: StringRequired. Name of the bucket in which to look for objects.
page_size: i32Maximum 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: StringA previously-returned page token representing part of the larger set of results to view.
delimiter: StringIf set, 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: boolIf true, objects that end in exactly one instance of delimiter
will have their metadata included in items in addition to
prefixes.
prefix: StringFilter results to objects whose names begin with this prefix.
versions: boolIf true, lists all versions of an object as distinct results.
For more information, see
Object
Versioning.
read_mask: Option<FieldMask>Mask specifying which fields to read from each result. If no mask is specified, will default to all fields except items.acl and items.owner.
- may be used to mean “all fields”.
lexicographic_start: StringOptional. Filter results to objects whose names are lexicographically equal to or after lexicographic_start. If lexicographic_end is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
lexicographic_end: StringOptional. Filter results to objects whose names are lexicographically before lexicographic_end. If lexicographic_start is also set, the objects listed have names between lexicographic_start (inclusive) and lexicographic_end (exclusive).
soft_deleted: boolOptional. If true, only list all soft-deleted versions of the object. Soft delete policy is required to set this option.
include_folders_as_prefixes: boolOptional. If true, will also include folders and managed folders (besides
objects) in the returned prefixes. Requires delimiter to be set to ‘/’.
match_glob: StringOptional. Filter results to objects and prefixes that match this glob pattern. See List Objects Using Glob for the full syntax.
Trait Implementations§
source§impl Clone for ListObjectsRequest
impl Clone for ListObjectsRequest
source§fn clone(&self) -> ListObjectsRequest
fn clone(&self) -> ListObjectsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListObjectsRequest
impl Debug for ListObjectsRequest
source§impl Default for ListObjectsRequest
impl Default for ListObjectsRequest
source§impl Message for ListObjectsRequest
impl Message for ListObjectsRequest
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 ListObjectsRequest
impl PartialEq for ListObjectsRequest
source§fn eq(&self, other: &ListObjectsRequest) -> bool
fn eq(&self, other: &ListObjectsRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListObjectsRequest
Auto Trait Implementations§
impl Freeze for ListObjectsRequest
impl RefUnwindSafe for ListObjectsRequest
impl Send for ListObjectsRequest
impl Sync for ListObjectsRequest
impl Unpin for ListObjectsRequest
impl UnwindSafe for ListObjectsRequest
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