Discovery Engine v1beta API - Class CompletionService.CompletionServiceBase (1.0.0-beta12)

[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

Inheritance

object > CompletionService.CompletionServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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
NameDescription
requestCompleteQueryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCompleteQueryResponse

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.v1beta.SuggestionDenyListEntry] for a DataStore.

Parameters
NameDescription
requestImportSuggestionDenyListEntriesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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.v1beta.SuggestionDenyListEntry] for a DataStore.

Parameters
NameDescription
requestPurgeSuggestionDenyListEntriesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).