Updates dataObjects in a batch.
HTTP request
POST https://vectorsearch.googleapis.com/v1/{parent}/dataObjects:batchUpdate
Path parameters
| Parameters | |
|---|---|
parent |
Required. The resource name of the Collection to update the DataObjects in. Format: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests": [
{
object ( |
| Fields | |
|---|---|
requests[] |
Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch. |
Response body
If successful, the response body is empty.
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.update
For more information, see the IAM documentation.
UpdateDataObjectRequest
Request message for DataObjectService.UpdateDataObject.
| JSON representation |
|---|
{
"dataObject": {
object ( |
| Fields | |
|---|---|
dataObject |
Required. The DataObject which replaces the resource on the server. |
updateMask |
Optional. The update mask applies to the resource. See This is a comma-separated list of fully qualified names of fields. Example: |