Google Cloud Ai Platform V1 Client - Class FindNeighborsResponse (1.9.0)

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

The response message for MatchService.FindNeighbors.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ nearest_neighbors array<Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors>

The nearest neighbors of the query datapoints.

getNearestNeighbors

The nearest neighbors of the query datapoints.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNearestNeighbors

The nearest neighbors of the query datapoints.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors>
Returns
Type Description
$this