1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class FindNeighborsResponse : IMessage<FindNeighborsResponse>, IEquatable<FindNeighborsResponse>, IDeepCloneable<FindNeighborsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class FindNeighborsResponse.

The response message for
\[MatchService.FindNeighbors\]\[google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FindNeighborsResponse

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FindNeighborsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FindNeighborsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FindNeighborsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### FindNeighborsResponse()

    public FindNeighborsResponse()

### FindNeighborsResponse(FindNeighborsResponse)

    public FindNeighborsResponse(FindNeighborsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse` |

## Properties

### NearestNeighbors

    public RepeatedField<FindNeighborsResponse.Types.NearestNeighbors> NearestNeighbors { get; }

The nearest neighbors of the query datapoints.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FindNeighborsResponse.Types.NearestNeighbors` |   |