[BindServiceMethod(typeof(AutoSuggestionService), "BindService")]
public abstract class AutoSuggestionService.AutoSuggestionServiceBaseReference documentation and code samples for the Data QnA v1alpha API class AutoSuggestionService.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 |
SuggestQueriesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSuggestQueriesResponse |
The response to send back to the client (wrapped by a task). |