Cloud AI Platform v1 API - Class MatchService.MatchServiceBase (2.25.0)

[BindServiceMethod(typeof(MatchService), "BindService")]
public abstract class MatchService.MatchServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class MatchService.MatchServiceBase.

Base class for server-side implementations of MatchService

Inheritance

object > MatchService.MatchServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

FindNeighbors(FindNeighborsRequest, ServerCallContext)

public virtual Task<FindNeighborsResponse> FindNeighbors(FindNeighborsRequest request, ServerCallContext context)

Finds the nearest neighbors of each vector within the request.

Parameters
NameDescription
requestFindNeighborsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskFindNeighborsResponse

The response to send back to the client (wrapped by a task).

ReadIndexDatapoints(ReadIndexDatapointsRequest, ServerCallContext)

public virtual Task<ReadIndexDatapointsResponse> ReadIndexDatapoints(ReadIndexDatapointsRequest request, ServerCallContext context)

Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.

Parameters
NameDescription
requestReadIndexDatapointsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskReadIndexDatapointsResponse

The response to send back to the client (wrapped by a task).