Struct google_api_proto::google::cloud::visionai::v1::ListAssetsRequest
source · pub struct ListAssetsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ListAssets.
Fields§
§parent: String
Required. The parent, which owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
page_size: i32
The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: String
A page token, received from a previous ListAssets
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAssets
must match
the call that provided the page token.
filter: String
The filter applied to the returned list. Only the following filterings are supported: “assets_with_contents = true”, which returns assets with contents uploaded; “assets_with_contents = false”, which returns assets without contents.
Trait Implementations§
source§impl Clone for ListAssetsRequest
impl Clone for ListAssetsRequest
source§fn clone(&self) -> ListAssetsRequest
fn clone(&self) -> ListAssetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAssetsRequest
impl Debug for ListAssetsRequest
source§impl Default for ListAssetsRequest
impl Default for ListAssetsRequest
source§impl Message for ListAssetsRequest
impl Message for ListAssetsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListAssetsRequest
impl PartialEq for ListAssetsRequest
source§fn eq(&self, other: &ListAssetsRequest) -> bool
fn eq(&self, other: &ListAssetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAssetsRequest
Auto Trait Implementations§
impl Freeze for ListAssetsRequest
impl RefUnwindSafe for ListAssetsRequest
impl Send for ListAssetsRequest
impl Sync for ListAssetsRequest
impl Unpin for ListAssetsRequest
impl UnwindSafe for ListAssetsRequest
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