Google Cloud Ai Platform V1 Client - Class UpsertDatapointsRequest (0.10.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
Name
Description
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}

Generated from protobuf field string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
Type
Description
string

setIndex

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

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

Generated from protobuf field string index = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDatapoints

A list of datapoints to be created/updated.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setDatapoints

A list of datapoints to be created/updated.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint datapoints = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: