[BindServiceMethod(typeof(AutoSuggestionService), "BindService")]
public abstract class AutoSuggestionServiceBase
Base class for server-side implementations of AutoSuggestionService
Namespace
Google.Cloud.DataQnA.V1AlphaAssembly
Google.Cloud.DataQnA.V1Alpha.dll
Methods
SuggestQueries(SuggestQueriesRequest, ServerCallContext)
public virtual Task<SuggestQueriesResponse> SuggestQueries(SuggestQueriesRequest request, ServerCallContext context)
Gets a list of suggestions based on a prefix string. AutoSuggestion tolerance should be less than 1 second.
Parameters | |
---|---|
Name | Description |
request | SuggestQueriesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<SuggestQueriesResponse> | The response to send back to the client (wrapped by a task). |