# SearchDataObjectsResponse

Response for a search request.

| JSON representation |
|---|
| ``` { "results": [ { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/vector-search-2/reference/rest/v1/SearchDataObjectsResponse#SearchResult`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `results[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/vector-search-2/reference/rest/v1/SearchDataObjectsResponse#SearchResult`)`` Output only. The list of dataObjects that match the search criteria. |
| `nextPageToken` | `string` Output only. A token to retrieve next page of results. Pass to \[DataObjectSearchService.SearchDataObjectsRequest.page_token\]\[\] to obtain that page. |

## SearchResult

A single search result.

| JSON representation |
|---|
| ``` { "dataObject": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/vector-search-2/reference/rest/v1/projects.locations.collections.dataObjects#DataObject`) }, "distance": number } ``` |

| Fields ||
|---|---|
| `dataObject` | ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/vector-search-2/reference/rest/v1/projects.locations.collections.dataObjects#DataObject`)`` Output only. The matching data object. |
| `distance` | `number` Output only. Similarity distance or ranker score returned by BatchSearchDataObjects. |