# Class SearchIndexEndpointRequest (0.5.1)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.10

    SearchIndexEndpointRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for SearchIndexEndpoint.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `image_query` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.ImageQuery` An image-only query. This field is a member of `oneof`_ `query`. |
| `text_query` | `str` A text-only query. This field is a member of `oneof`_ `query`. |
| `index_endpoint` | `str` Required. The index endpoint to search. Format: \\\`projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}' |
| `criteria` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.Criteria]` Criteria applied to search results. |
| `exclusion_criteria` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.Criteria]` Criteria to exclude from search results. Note that `fetch_matched_annotations` will be ignored. |
| `page_size` | `int` 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 200. |
| `page_token` | `str` The continuation token to fetch the next page. If empty, it means it is fetching the first page. |