[BindServiceMethod(typeof(CompletionService), "BindService")]
public abstract class CompletionService.CompletionServiceBaseReference documentation and code samples for the Discovery Engine v1 API class CompletionService.CompletionServiceBase.
Base class for server-side implementations of CompletionService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.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 | CompleteQueryRequestThe request received from the client. | 
| context | ServerCallContextThe 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). | 
ImportCompletionSuggestions(ImportCompletionSuggestionsRequest, ServerCallContext)
public virtual Task<Operation> ImportCompletionSuggestions(ImportCompletionSuggestionsRequest request, ServerCallContext context)Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.
| Parameters | |
|---|---|
| Name | Description | 
| request | ImportCompletionSuggestionsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest, ServerCallContext)
public virtual Task<Operation> ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request, ServerCallContext context)Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.
| Parameters | |
|---|---|
| Name | Description | 
| request | ImportSuggestionDenyListEntriesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest, ServerCallContext)
public virtual Task<Operation> PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest request, ServerCallContext context)Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.
| Parameters | |
|---|---|
| Name | Description | 
| request | PurgeCompletionSuggestionsRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). | 
PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest, ServerCallContext)
public virtual Task<Operation> PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request, ServerCallContext context)Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.
| Parameters | |
|---|---|
| Name | Description | 
| request | PurgeSuggestionDenyListEntriesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskOperation | The response to send back to the client (wrapped by a task). |