Discovery Engine v1 API - Class RankService.RankServiceBase (1.2.0)

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

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

Base class for server-side implementations of RankService

Inheritance

object > RankService.RankServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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).