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
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__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: |
↳ 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 | |
|---|---|
| Type | Description |
string |
|
setIndex
Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDatapoints
A list of datapoints to be created/updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDatapoints
A list of datapoints to be created/updated.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\AIPlatform\V1\IndexDatapoint>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|