Struct google_api_proto::google::cloud::visionai::v1::ViewIndexedAssetsRequest
source · pub struct ViewIndexedAssetsRequest {
pub index: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ViewIndexedAssets.
Fields§
§index: String
Required. The index that owns this collection of assets.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}
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 ViewIndexedAssets
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ViewIndexedAssets
must
match the call that provided the page token.
filter: String
The filter applied to the returned list. Only the following filterings are supported: “asset_id = xxxx”, which returns asset with specified id. “asset_id = xxxx, yyyy, zzzz”, which returns assets with specified ids.
Trait Implementations§
source§impl Clone for ViewIndexedAssetsRequest
impl Clone for ViewIndexedAssetsRequest
source§fn clone(&self) -> ViewIndexedAssetsRequest
fn clone(&self) -> ViewIndexedAssetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ViewIndexedAssetsRequest
impl Debug for ViewIndexedAssetsRequest
source§impl Default for ViewIndexedAssetsRequest
impl Default for ViewIndexedAssetsRequest
source§impl Message for ViewIndexedAssetsRequest
impl Message for ViewIndexedAssetsRequest
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 ViewIndexedAssetsRequest
impl PartialEq for ViewIndexedAssetsRequest
source§fn eq(&self, other: &ViewIndexedAssetsRequest) -> bool
fn eq(&self, other: &ViewIndexedAssetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ViewIndexedAssetsRequest
Auto Trait Implementations§
impl Freeze for ViewIndexedAssetsRequest
impl RefUnwindSafe for ViewIndexedAssetsRequest
impl Send for ViewIndexedAssetsRequest
impl Sync for ViewIndexedAssetsRequest
impl Unpin for ViewIndexedAssetsRequest
impl UnwindSafe for ViewIndexedAssetsRequest
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