Struct google_api_proto::google::cloud::aiplatform::v1beta1::SearchDataItemsRequest
source · pub struct SearchDataItemsRequest {
pub dataset: String,
pub saved_query: String,
pub data_labeling_job: String,
pub data_item_filter: String,
pub annotations_filter: String,
pub annotation_filters: Vec<String>,
pub field_mask: Option<FieldMask>,
pub annotations_limit: i32,
pub page_size: i32,
pub order_by: String,
pub page_token: String,
pub order: Option<Order>,
}Expand description
Request message for [DatasetService.SearchDataItems][google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems].
Fields§
§dataset: StringRequired. The resource name of the Dataset from which to search DataItems.
Format:
projects/{project}/locations/{location}/datasets/{dataset}
saved_query: StringThe resource name of a SavedQuery(annotation set in UI).
Format:
projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}
All of the search will be done in the context of this SavedQuery.
data_labeling_job: StringThe resource name of a DataLabelingJob.
Format:
projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}
If this field is set, all of the search will be done in the context of
this DataLabelingJob.
data_item_filter: StringAn expression for filtering the DataItem that will be returned.
data_item_id- for = or !=.labeled- for = or !=.has_annotation(ANNOTATION_SPEC_ID)- true only for DataItem that have at least one annotation with annotation_spec_id =ANNOTATION_SPEC_IDin the context of SavedQuery or DataLabelingJob.
For example:
data_item=1has_annotation(5)
annotations_filter: StringAn expression for filtering the Annotations that will be returned per DataItem.
annotation_spec_id- for = or !=.
annotation_filters: Vec<String>An expression that specifies what Annotations will be returned per DataItem. Annotations satisfied either of the conditions will be returned.
annotation_spec_id- for = or !=. Must specifysaved_query_id=- saved query id that annotations should belong to.
field_mask: Option<FieldMask>Mask specifying which fields of [DataItemView][google.cloud.aiplatform.v1beta1.DataItemView] to read.
annotations_limit: i32If set, only up to this many of Annotations will be returned per DataItemView. The maximum value is 1000. If not set, the maximum value will be used.
page_size: i32Requested page size. Server may return fewer results than requested. Default and maximum page size is 100.
order_by: StringA comma-separated list of fields to order by, sorted in ascending order. Use “desc” after a field name for descending.
page_token: StringA token identifying a page of results for the server to return Typically obtained via [SearchDataItemsResponse.next_page_token][google.cloud.aiplatform.v1beta1.SearchDataItemsResponse.next_page_token] of the previous [DatasetService.SearchDataItems][google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems] call.
order: Option<Order>Trait Implementations§
source§impl Clone for SearchDataItemsRequest
impl Clone for SearchDataItemsRequest
source§fn clone(&self) -> SearchDataItemsRequest
fn clone(&self) -> SearchDataItemsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchDataItemsRequest
impl Debug for SearchDataItemsRequest
source§impl Default for SearchDataItemsRequest
impl Default for SearchDataItemsRequest
source§impl Message for SearchDataItemsRequest
impl Message for SearchDataItemsRequest
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 SearchDataItemsRequest
impl PartialEq for SearchDataItemsRequest
source§fn eq(&self, other: &SearchDataItemsRequest) -> bool
fn eq(&self, other: &SearchDataItemsRequest) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchDataItemsRequest
Auto Trait Implementations§
impl Freeze for SearchDataItemsRequest
impl RefUnwindSafe for SearchDataItemsRequest
impl Send for SearchDataItemsRequest
impl Sync for SearchDataItemsRequest
impl Unpin for SearchDataItemsRequest
impl UnwindSafe for SearchDataItemsRequest
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