[BindServiceMethod(typeof(CompletionService), "BindService")]
public abstract class CompletionService.CompletionServiceBase
Reference documentation and code samples for the Discovery Engine v1beta API class CompletionService.CompletionServiceBase.
Base class for server-side implementations of CompletionService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Methods
CompleteQuery(CompleteQueryRequest, ServerCallContext)
public virtual Task<CompleteQueryResponse> CompleteQuery(CompleteQueryRequest request, ServerCallContext context)
Completes the specified user input with keyword suggestions.
Parameters | |
---|---|
Name | Description |
request | CompleteQueryRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskCompleteQueryResponse | The response to send back to the client (wrapped by a task). |