Method: projects.locations.collections.dataObjects.batchUpdate

Updates dataObjects in a batch.

HTTP request

POST https://vectorsearch.googleapis.com/v1/{parent}/dataObjects:batchUpdate

Path parameters

Parameters
parent

string

Required. The resource name of the Collection to update the DataObjects in. Format: projects/{project}/locations/{location}/collections/{collection}. The parent field in the UpdateDataObjectRequest messages must match this field.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (UpdateDataObjectRequest)
    }
  ]
}
Fields
requests[]

object (UpdateDataObjectRequest)

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 (DataObject)
  },
  "updateMask": string
}
Fields
dataObject

object (DataObject)

Required. The DataObject which replaces the resource on the server.

updateMask

string (FieldMask format)

Optional. The update mask applies to the resource. See google.protobuf.FieldMask.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".