Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::SearchIndexEndpointRequest.
Request message for SearchIndexEndpoint.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#criteria
def criteria() -> ::Array<::Google::Cloud::VisionAI::V1::Criteria>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria applied to search results.
#criteria=
def criteria=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Criteria>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria applied to search results.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria applied to search results.
#exclusion_criteria
def exclusion_criteria() -> ::Array<::Google::Cloud::VisionAI::V1::Criteria>
Returns
-
(::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria to exclude from search results.
Note that
fetch_matched_annotations
will be ignored.
#exclusion_criteria=
def exclusion_criteria=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Criteria>
Parameter
-
value (::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria to exclude from search results.
Note that
fetch_matched_annotations
will be ignored.
Returns
-
(::Array<::Google::Cloud::VisionAI::V1::Criteria>) — Criteria to exclude from search results.
Note that
fetch_matched_annotations
will be ignored.
#image_query
def image_query() -> ::Google::Cloud::VisionAI::V1::ImageQuery
Returns
- (::Google::Cloud::VisionAI::V1::ImageQuery) — An image-only query.
#image_query=
def image_query=(value) -> ::Google::Cloud::VisionAI::V1::ImageQuery
Parameter
- value (::Google::Cloud::VisionAI::V1::ImageQuery) — An image-only query.
Returns
- (::Google::Cloud::VisionAI::V1::ImageQuery) — An image-only query.
#index_endpoint
def index_endpoint() -> ::String
Returns
-
(::String) — Required. The index endpoint to search.
Format:
projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}
#index_endpoint=
def index_endpoint=(value) -> ::String
Parameter
-
value (::String) — Required. The index endpoint to search.
Format:
projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}
Returns
-
(::String) — Required. The index endpoint to search.
Format:
projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick the maximum size, which is 100.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick the maximum size, which is 100.
Returns
- (::Integer) — Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick the maximum size, which is 100.
#page_token
def page_token() -> ::String
Returns
- (::String) — The continuation token to fetch the next page. If empty, it means it is fetching the first page.
#page_token=
def page_token=(value) -> ::String
Parameter
- value (::String) — The continuation token to fetch the next page. If empty, it means it is fetching the first page.
Returns
- (::String) — The continuation token to fetch the next page. If empty, it means it is fetching the first page.
#text_query
def text_query() -> ::String
Returns
- (::String) — A text-only query.
#text_query=
def text_query=(value) -> ::String
Parameter
- value (::String) — A text-only query.
Returns
- (::String) — A text-only query.