1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class CompletionServiceClientImpl : CompletionServiceClient

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

CompletionService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [CompletionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient) \> CompletionServiceClientImpl

## Inherited Members

[CompletionServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_DefaultEndpoint) [CompletionServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_DefaultScopes) [CompletionServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ServiceMetadata) [CompletionServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_CreateAsync_System_Threading_CancellationToken_) [CompletionServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_Create) [CompletionServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ShutdownDefaultChannelsAsync) [CompletionServiceClient.CompleteQueryAsync(CompleteQueryRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_CompleteQueryAsync_Google_Cloud_DiscoveryEngine_V1Beta_CompleteQueryRequest_System_Threading_CancellationToken_) [CompletionServiceClient.AdvancedCompleteQueryAsync(AdvancedCompleteQueryRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_AdvancedCompleteQueryAsync_Google_Cloud_DiscoveryEngine_V1Beta_AdvancedCompleteQueryRequest_System_Threading_CancellationToken_) [CompletionServiceClient.ImportSuggestionDenyListEntriesAsync(ImportSuggestionDenyListEntriesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportSuggestionDenyListEntriesAsync_Google_Cloud_DiscoveryEngine_V1Beta_ImportSuggestionDenyListEntriesRequest_System_Threading_CancellationToken_) [CompletionServiceClient.PollOnceImportSuggestionDenyListEntries(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOnceImportSuggestionDenyListEntries_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PollOnceImportSuggestionDenyListEntriesAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOnceImportSuggestionDenyListEntriesAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PurgeSuggestionDenyListEntriesAsync(PurgeSuggestionDenyListEntriesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeSuggestionDenyListEntriesAsync_Google_Cloud_DiscoveryEngine_V1Beta_PurgeSuggestionDenyListEntriesRequest_System_Threading_CancellationToken_) [CompletionServiceClient.PollOncePurgeSuggestionDenyListEntries(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOncePurgeSuggestionDenyListEntries_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PollOncePurgeSuggestionDenyListEntriesAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOncePurgeSuggestionDenyListEntriesAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.ImportCompletionSuggestionsAsync(ImportCompletionSuggestionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportCompletionSuggestionsAsync_Google_Cloud_DiscoveryEngine_V1Beta_ImportCompletionSuggestionsRequest_System_Threading_CancellationToken_) [CompletionServiceClient.PollOnceImportCompletionSuggestions(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOnceImportCompletionSuggestions_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PollOnceImportCompletionSuggestionsAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOnceImportCompletionSuggestionsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PurgeCompletionSuggestionsAsync(PurgeCompletionSuggestionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeCompletionSuggestionsAsync_Google_Cloud_DiscoveryEngine_V1Beta_PurgeCompletionSuggestionsRequest_System_Threading_CancellationToken_) [CompletionServiceClient.PollOncePurgeCompletionSuggestions(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOncePurgeCompletionSuggestions_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.PollOncePurgeCompletionSuggestionsAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PollOncePurgeCompletionSuggestionsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [CompletionServiceClient.RemoveSuggestionAsync(RemoveSuggestionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_RemoveSuggestionAsync_Google_Cloud_DiscoveryEngine_V1Beta_RemoveSuggestionRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionService.CompletionServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceSettings` The base [CompletionServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override CompletionService.CompletionServiceClient GrpcClient { get; }

The underlying gRPC CompletionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionService.CompletionServiceClient` |   |

**Overrides** [CompletionServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_GrpcClient)

### ImportCompletionSuggestionsOperationsClient

    public override OperationsClient ImportCompletionSuggestionsOperationsClient { get; }

The long-running operations client for `ImportCompletionSuggestions`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [CompletionServiceClient.ImportCompletionSuggestionsOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportCompletionSuggestionsOperationsClient)

### ImportSuggestionDenyListEntriesOperationsClient

    public override OperationsClient ImportSuggestionDenyListEntriesOperationsClient { get; }

The long-running operations client for `ImportSuggestionDenyListEntries`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [CompletionServiceClient.ImportSuggestionDenyListEntriesOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportSuggestionDenyListEntriesOperationsClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [CompletionServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_LocationsClient)

### PurgeCompletionSuggestionsOperationsClient

    public override OperationsClient PurgeCompletionSuggestionsOperationsClient { get; }

The long-running operations client for `PurgeCompletionSuggestions`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [CompletionServiceClient.PurgeCompletionSuggestionsOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeCompletionSuggestionsOperationsClient)

### PurgeSuggestionDenyListEntriesOperationsClient

    public override OperationsClient PurgeSuggestionDenyListEntriesOperationsClient { get; }

The long-running operations client for `PurgeSuggestionDenyListEntries`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [CompletionServiceClient.PurgeSuggestionDenyListEntriesOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeSuggestionDenyListEntriesOperationsClient)

## Methods

### AdvancedCompleteQuery(AdvancedCompleteQueryRequest, CallSettings)

    public override AdvancedCompleteQueryResponse AdvancedCompleteQuery(AdvancedCompleteQueryRequest request, CallSettings callSettings = null)

Completes the user input with advanced keyword suggestions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse` | The RPC response. |

**Overrides** [CompletionServiceClient.AdvancedCompleteQuery(AdvancedCompleteQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_AdvancedCompleteQuery_Google_Cloud_DiscoveryEngine_V1Beta_AdvancedCompleteQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### AdvancedCompleteQueryAsync(AdvancedCompleteQueryRequest, CallSettings)

    public override Task<AdvancedCompleteQueryResponse> AdvancedCompleteQueryAsync(AdvancedCompleteQueryRequest request, CallSettings callSettings = null)

Completes the user input with advanced keyword suggestions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.AdvancedCompleteQueryResponse` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.AdvancedCompleteQueryAsync(AdvancedCompleteQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_AdvancedCompleteQueryAsync_Google_Cloud_DiscoveryEngine_V1Beta_AdvancedCompleteQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### CompleteQuery(CompleteQueryRequest, CallSettings)

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

Completes the specified user input with keyword suggestions.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse` | The RPC response. |

**Overrides** [CompletionServiceClient.CompleteQuery(CompleteQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_CompleteQuery_Google_Cloud_DiscoveryEngine_V1Beta_CompleteQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompleteQueryResponse` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.CompleteQueryAsync(CompleteQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_CompleteQueryAsync_Google_Cloud_DiscoveryEngine_V1Beta_CompleteQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportCompletionSuggestions(ImportCompletionSuggestionsRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsMetadata` | The RPC response. |

**Overrides** [CompletionServiceClient.ImportCompletionSuggestions(ImportCompletionSuggestionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportCompletionSuggestions_Google_Cloud_DiscoveryEngine_V1Beta_ImportCompletionSuggestionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportCompletionSuggestionsAsync(ImportCompletionSuggestionsRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportCompletionSuggestionsMetadata` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.ImportCompletionSuggestionsAsync(ImportCompletionSuggestionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportCompletionSuggestionsAsync_Google_Cloud_DiscoveryEngine_V1Beta_ImportCompletionSuggestionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesMetadata` | The RPC response. |

**Overrides** [CompletionServiceClient.ImportSuggestionDenyListEntries(ImportSuggestionDenyListEntriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportSuggestionDenyListEntries_Google_Cloud_DiscoveryEngine_V1Beta_ImportSuggestionDenyListEntriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportSuggestionDenyListEntriesAsync(ImportSuggestionDenyListEntriesRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSuggestionDenyListEntriesMetadata` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.ImportSuggestionDenyListEntriesAsync(ImportSuggestionDenyListEntriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_ImportSuggestionDenyListEntriesAsync_Google_Cloud_DiscoveryEngine_V1Beta_ImportSuggestionDenyListEntriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsMetadata` | The RPC response. |

**Overrides** [CompletionServiceClient.PurgeCompletionSuggestions(PurgeCompletionSuggestionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeCompletionSuggestions_Google_Cloud_DiscoveryEngine_V1Beta_PurgeCompletionSuggestionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### PurgeCompletionSuggestionsAsync(PurgeCompletionSuggestionsRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeCompletionSuggestionsMetadata` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.PurgeCompletionSuggestionsAsync(PurgeCompletionSuggestionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeCompletionSuggestionsAsync_Google_Cloud_DiscoveryEngine_V1Beta_PurgeCompletionSuggestionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesMetadata` | The RPC response. |

**Overrides** [CompletionServiceClient.PurgeSuggestionDenyListEntries(PurgeSuggestionDenyListEntriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeSuggestionDenyListEntries_Google_Cloud_DiscoveryEngine_V1Beta_PurgeSuggestionDenyListEntriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### PurgeSuggestionDenyListEntriesAsync(PurgeSuggestionDenyListEntriesRequest, CallSettings)

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

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.PurgeSuggestionDenyListEntriesMetadata` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.PurgeSuggestionDenyListEntriesAsync(PurgeSuggestionDenyListEntriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_PurgeSuggestionDenyListEntriesAsync_Google_Cloud_DiscoveryEngine_V1Beta_PurgeSuggestionDenyListEntriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveSuggestion(RemoveSuggestionRequest, CallSettings)

    public override RemoveSuggestionResponse RemoveSuggestion(RemoveSuggestionRequest request, CallSettings callSettings = null)

Removes the search history suggestion in an engine for a user. This will
remove the suggestion from being returned in the
\[AdvancedCompleteQueryResponse.recent_search_suggestions\]\[google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions\]
for this user. If the user searches the same suggestion again, the new
history will override and suggest this suggestion again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse` | The RPC response. |

**Overrides** [CompletionServiceClient.RemoveSuggestion(RemoveSuggestionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_RemoveSuggestion_Google_Cloud_DiscoveryEngine_V1Beta_RemoveSuggestionRequest_Google_Api_Gax_Grpc_CallSettings_)

### RemoveSuggestionAsync(RemoveSuggestionRequest, CallSettings)

    public override Task<RemoveSuggestionResponse> RemoveSuggestionAsync(RemoveSuggestionRequest request, CallSettings callSettings = null)

Removes the search history suggestion in an engine for a user. This will
remove the suggestion from being returned in the
\[AdvancedCompleteQueryResponse.recent_search_suggestions\]\[google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse.recent_search_suggestions\]
for this user. If the user searches the same suggestion again, the new
history will override and suggest this suggestion again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RemoveSuggestionResponse` | A Task containing the RPC response. |

**Overrides** [CompletionServiceClient.RemoveSuggestionAsync(RemoveSuggestionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CompletionServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_CompletionServiceClient_RemoveSuggestionAsync_Google_Cloud_DiscoveryEngine_V1Beta_RemoveSuggestionRequest_Google_Api_Gax_Grpc_CallSettings_)