Method: projects.locations.collections.dataObjects.patch

Updates a dataObject.

HTTP request

PATCH https://vectorsearch.googleapis.com/v1beta/{dataObject.name}

Path parameters

Parameters
dataObject.name

string

Identifier. The fully qualified resource name of the dataObject.

Format: projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObjectId} The dataObjectId must be 1-63 characters long, and comply with RFC1035.

Query parameters

Parameters
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".

Request body

The request body contains an instance of DataObject.

Response body

If successful, the response body contains an instance of DataObject.

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 name resource:

  • vectorsearch.dataObjects.update

For more information, see the IAM documentation.