Method: projects.locations.indexes.upsertDatapoints

Stay organized with collections Save and categorize content based on your preferences.

Add/update Datapoints into an Index.

HTTP request

POST https://{service-endpoint}/v1/{index}:upsertDatapoints

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
index

string

Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

Request body

The request body contains data with the following structure:

JSON representation
{
  "datapoints": [
    {
      object (IndexDatapoint)
    }
  ]
}
Fields
datapoints[]

object (IndexDatapoint)

A list of datapoints to be created/updated.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform