[BindServiceMethod(typeof(RecommendationService), "BindService")]
public abstract class RecommendationService.RecommendationServiceBaseReference documentation and code samples for the Discovery Engine v1 API class RecommendationService.RecommendationServiceBase.
Base class for server-side implementations of RecommendationService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
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 |
RecommendRequestThe request received from the client. |
context |
ServerCallContextThe 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). |