[BindServiceMethod(typeof(RankService), "BindService")]
public abstract class RankService.RankServiceBaseReference documentation and code samples for the Discovery Engine v1beta API class RankService.RankServiceBase.
Base class for server-side implementations of RankService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
RankRequestThe request received from the client. |
context |
ServerCallContextThe 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). |