Discovery Engine v1beta API - Class RecommendationService.RecommendationServiceBase (1.0.0-beta12)

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

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

Base class for server-side implementations of RecommendationService

Inheritance

object > RecommendationService.RecommendationServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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