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.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
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 |
ImportSuggestionDenyListEntriesOperationsClient
public override OperationsClient ImportSuggestionDenyListEntriesOperationsClient { get; }
The long-running operations client for ImportSuggestionDenyListEntries
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
PurgeSuggestionDenyListEntriesOperationsClient
public override OperationsClient PurgeSuggestionDenyListEntriesOperationsClient { get; }
The long-running operations client for PurgeSuggestionDenyListEntries
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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. |
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. |
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 |
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. |
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 |
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. |
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 |
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. |
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 |
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. |