Discovery Engine v1beta API - Class RankService.RankServiceBase (1.0.0-beta15)

[BindServiceMethod(typeof(RankService), "BindService")]
public abstract class RankService.RankServiceBase

Reference documentation and code samples for the Discovery Engine v1beta API class RankService.RankServiceBase.

Base class for server-side implementations of RankService

Inheritance

object > RankService.RankServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Methods

Rank(RankRequest, ServerCallContext)

public virtual Task<RankResponse> Rank(RankRequest request, ServerCallContext context)

Ranks a list of text records based on the given input query.

Parameters
Name Description
request RankRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRankResponse

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