Searches data objects.
HTTP request
POST https://vectorsearch.googleapis.com/v1beta/{parent}/dataObjects:search
Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource name of the Collection for which to search. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "pageSize": integer, "pageToken": string, // Union field |
| Fields | |
|---|---|
pageSize |
Optional. The standard list page size. |
pageToken |
Optional. The standard list page token. Typically obtained via |
Union field search_type. The query to search for. search_type can be only one of the following: |
|
vectorSearch |
A vector search operation. |
semanticSearch |
A semantic search operation. |
textSearch |
Optional. A text search operation. |
Response body
If successful, the response body contains an instance of SearchDataObjectsResponse.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
vectorsearch.dataObjects.search
For more information, see the IAM documentation.