Discovery Engine v1 API - Class CompletionServiceClientImpl (1.3.0)

public sealed class CompletionServiceClientImpl : CompletionServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class CompletionServiceClientImpl.

CompletionService client wrapper implementation, for convenient use.

Inheritance

object > CompletionServiceClient > CompletionServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Remarks

Service for Auto-Completion.

Constructors

CompletionServiceClientImpl(CompletionServiceClient, CompletionServiceSettings, ILogger)

public CompletionServiceClientImpl(CompletionService.CompletionServiceClient grpcClient, CompletionServiceSettings settings, ILogger logger)

Constructs a client wrapper for the CompletionService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient CompletionServiceCompletionServiceClient

The underlying gRPC client.

settings CompletionServiceSettings

The base CompletionServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override CompletionService.CompletionServiceClient GrpcClient { get; }

The underlying gRPC CompletionService client

Property Value
Type Description
CompletionServiceCompletionServiceClient
Overrides

ImportCompletionSuggestionsOperationsClient

public override OperationsClient ImportCompletionSuggestionsOperationsClient { get; }

The long-running operations client for ImportCompletionSuggestions.

Property Value
Type Description
OperationsClient
Overrides

ImportSuggestionDenyListEntriesOperationsClient

public override OperationsClient ImportSuggestionDenyListEntriesOperationsClient { get; }

The long-running operations client for ImportSuggestionDenyListEntries.

Property Value
Type Description
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

PurgeCompletionSuggestionsOperationsClient

public override OperationsClient PurgeCompletionSuggestionsOperationsClient { get; }

The long-running operations client for PurgeCompletionSuggestions.

Property Value
Type Description
OperationsClient
Overrides

PurgeSuggestionDenyListEntriesOperationsClient

public override OperationsClient PurgeSuggestionDenyListEntriesOperationsClient { get; }

The long-running operations client for PurgeSuggestionDenyListEntries.

Property Value
Type Description
OperationsClient
Overrides

Methods

CompleteQuery(CompleteQueryRequest, CallSettings)

public override CompleteQueryResponse CompleteQuery(CompleteQueryRequest request, CallSettings callSettings = null)

Completes the specified user input with keyword suggestions.

Parameters
Name Description
request CompleteQueryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompleteQueryResponse

The RPC response.

Overrides

CompleteQueryAsync(CompleteQueryRequest, CallSettings)

public override Task<CompleteQueryResponse> CompleteQueryAsync(CompleteQueryRequest request, CallSettings callSettings = null)

Completes the specified user input with keyword suggestions.

Parameters
Name Description
request CompleteQueryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompleteQueryResponse

A Task containing the RPC response.

Overrides

ImportCompletionSuggestions(ImportCompletionSuggestionsRequest, CallSettings)

public override Operation<ImportCompletionSuggestionsResponse, ImportCompletionSuggestionsMetadata> ImportCompletionSuggestions(ImportCompletionSuggestionsRequest request, CallSettings callSettings = null)

Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.

Parameters
Name Description
request ImportCompletionSuggestionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationImportCompletionSuggestionsResponseImportCompletionSuggestionsMetadata

The RPC response.

Overrides

ImportCompletionSuggestionsAsync(ImportCompletionSuggestionsRequest, CallSettings)

public override Task<Operation<ImportCompletionSuggestionsResponse, ImportCompletionSuggestionsMetadata>> ImportCompletionSuggestionsAsync(ImportCompletionSuggestionsRequest request, CallSettings callSettings = null)

Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.

Parameters
Name Description
request ImportCompletionSuggestionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationImportCompletionSuggestionsResponseImportCompletionSuggestionsMetadata

A Task containing the RPC response.

Overrides

ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest, CallSettings)

public override Operation<ImportSuggestionDenyListEntriesResponse, ImportSuggestionDenyListEntriesMetadata> ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest request, CallSettings callSettings = null)

Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.

Parameters
Name Description
request ImportSuggestionDenyListEntriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationImportSuggestionDenyListEntriesResponseImportSuggestionDenyListEntriesMetadata

The RPC response.

Overrides

ImportSuggestionDenyListEntriesAsync(ImportSuggestionDenyListEntriesRequest, CallSettings)

public override Task<Operation<ImportSuggestionDenyListEntriesResponse, ImportSuggestionDenyListEntriesMetadata>> ImportSuggestionDenyListEntriesAsync(ImportSuggestionDenyListEntriesRequest request, CallSettings callSettings = null)

Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.

Parameters
Name Description
request ImportSuggestionDenyListEntriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationImportSuggestionDenyListEntriesResponseImportSuggestionDenyListEntriesMetadata

A Task containing the RPC response.

Overrides

PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest, CallSettings)

public override Operation<PurgeCompletionSuggestionsResponse, PurgeCompletionSuggestionsMetadata> PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest request, CallSettings callSettings = null)

Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.

Parameters
Name Description
request PurgeCompletionSuggestionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPurgeCompletionSuggestionsResponsePurgeCompletionSuggestionsMetadata

The RPC response.

Overrides

PurgeCompletionSuggestionsAsync(PurgeCompletionSuggestionsRequest, CallSettings)

public override Task<Operation<PurgeCompletionSuggestionsResponse, PurgeCompletionSuggestionsMetadata>> PurgeCompletionSuggestionsAsync(PurgeCompletionSuggestionsRequest request, CallSettings callSettings = null)

Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.

Parameters
Name Description
request PurgeCompletionSuggestionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPurgeCompletionSuggestionsResponsePurgeCompletionSuggestionsMetadata

A Task containing the RPC response.

Overrides

PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest, CallSettings)

public override Operation<PurgeSuggestionDenyListEntriesResponse, PurgeSuggestionDenyListEntriesMetadata> PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest request, CallSettings callSettings = null)

Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.

Parameters
Name Description
request PurgeSuggestionDenyListEntriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPurgeSuggestionDenyListEntriesResponsePurgeSuggestionDenyListEntriesMetadata

The RPC response.

Overrides

PurgeSuggestionDenyListEntriesAsync(PurgeSuggestionDenyListEntriesRequest, CallSettings)

public override Task<Operation<PurgeSuggestionDenyListEntriesResponse, PurgeSuggestionDenyListEntriesMetadata>> PurgeSuggestionDenyListEntriesAsync(PurgeSuggestionDenyListEntriesRequest request, CallSettings callSettings = null)

Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.

Parameters
Name Description
request PurgeSuggestionDenyListEntriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPurgeSuggestionDenyListEntriesResponsePurgeSuggestionDenyListEntriesMetadata

A Task containing the RPC response.

Overrides