Discovery Engine v1 API - Class RecommendationService.RecommendationServiceBase (1.1.0)

[BindServiceMethod(typeof(RecommendationService), "BindService")]
public abstract class RecommendationService.RecommendationServiceBase

Reference documentation and code samples for the Discovery Engine v1 API class RecommendationService.RecommendationServiceBase.

Base class for server-side implementations of RecommendationService

Inheritance

object > RecommendationService.RecommendationServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Methods

Recommend(RecommendRequest, ServerCallContext)

public virtual Task<RecommendResponse> Recommend(RecommendRequest request, ServerCallContext context)

Makes a recommendation, which requires a contextual user event.

Parameters
Name Description
request RecommendRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRecommendResponse

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