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

[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
NameDescription
requestRecommendRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskRecommendResponse

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