Struct google_api_proto::google::cloud::visionai::v1::ListIndexEndpointsRequest
source · pub struct ListIndexEndpointsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ListIndexEndpoints.
Fields§
§parent: String
Required. Format: projects/{project}/locations/{location}
page_size: i32
Optional. Requested page size. Server may return fewer items than requested. The service may return fewer than this value. If unspecified, a page size of 50 will be used. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: String
Optional. A token identifying a page of results the server should return.
filter: String
Optional. The filter applied to the returned list.
We only support filtering for the deployed_image_index.image_index
field.
However, to filter by a corpus instead of an image index, simply use
deployed_image_index.corpus
, which will return all endpoints with
deployed_image_index.image_index
inside of the given corpus.
A basic filter on image index would look like:
deployed_image_index.image_index =
“projects/123/locations/us-central1/corpora/my_corpus/imageIndexes/my_image_index”
A basic filter on corpus would look like:
deployed_image_index.corpus =
“projects/123/locations/us-central1/corpora/my_corpus”
Trait Implementations§
source§impl Clone for ListIndexEndpointsRequest
impl Clone for ListIndexEndpointsRequest
source§fn clone(&self) -> ListIndexEndpointsRequest
fn clone(&self) -> ListIndexEndpointsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListIndexEndpointsRequest
impl Debug for ListIndexEndpointsRequest
source§impl Default for ListIndexEndpointsRequest
impl Default for ListIndexEndpointsRequest
source§impl Message for ListIndexEndpointsRequest
impl Message for ListIndexEndpointsRequest
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 ListIndexEndpointsRequest
impl PartialEq for ListIndexEndpointsRequest
source§fn eq(&self, other: &ListIndexEndpointsRequest) -> bool
fn eq(&self, other: &ListIndexEndpointsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListIndexEndpointsRequest
Auto Trait Implementations§
impl Freeze for ListIndexEndpointsRequest
impl RefUnwindSafe for ListIndexEndpointsRequest
impl Send for ListIndexEndpointsRequest
impl Sync for ListIndexEndpointsRequest
impl Unpin for ListIndexEndpointsRequest
impl UnwindSafe for ListIndexEndpointsRequest
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