Google Cloud Ai Platform V1 Client - Class UpsertDatapointsRequest (0.16.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpsertDatapointsRequest.

Request message for IndexService.UpsertDatapoints

Generated from protobuf message google.cloud.aiplatform.v1.UpsertDatapointsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ index string

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

↳ datapoints array<Google\Cloud\AIPlatform\V1\IndexDatapoint>

A list of datapoints to be created/updated.

getIndex

Required. The name of the Index resource to be updated.

Format: projects/{project}/locations/{location}/indexes/{index}

Returns
TypeDescription
string

setIndex

Required. The name of the Index resource to be updated.

Format: projects/{project}/locations/{location}/indexes/{index}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDatapoints

A list of datapoints to be created/updated.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatapoints

A list of datapoints to be created/updated.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\IndexDatapoint>
Returns
TypeDescription
$this