Google Cloud Ai Platform V1 Client - Class ReadIndexDatapointsRequest (1.8.0)

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

The request message for MatchService.ReadIndexDatapoints.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ index_endpoint string

Required. The name of the index endpoint. Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

↳ deployed_index_id string

The ID of the DeployedIndex that will serve the request.

↳ ids array

IDs of the datapoints to be searched for.

getIndexEndpoint

Required. The name of the index endpoint.

Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

Returns
Type Description
string

setIndexEndpoint

Required. The name of the index endpoint.

Format: projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}

Parameter
Name Description
var string
Returns
Type Description
$this

getDeployedIndexId

The ID of the DeployedIndex that will serve the request.

Returns
Type Description
string

setDeployedIndexId

The ID of the DeployedIndex that will serve the request.

Parameter
Name Description
var string
Returns
Type Description
$this

getIds

IDs of the datapoints to be searched for.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIds

IDs of the datapoints to be searched for.

Parameter
Name Description
var string[]
Returns
Type Description
$this