public sealed class CompletionServiceClientImpl : CompletionServiceClientCompletionService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Remarks
Auto-completion service for retail.
This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.
Constructors
CompletionServiceClientImpl(CompletionService.CompletionServiceClient, CompletionServiceSettings)
public CompletionServiceClientImpl(CompletionService.CompletionServiceClient grpcClient, CompletionServiceSettings settings)Constructs a client wrapper for the CompletionService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
CompletionService.CompletionServiceClientThe underlying gRPC client. |
settings |
CompletionServiceSettingsThe base CompletionServiceSettings used within this client. |
Properties
GrpcClient
public override CompletionService.CompletionServiceClient GrpcClient { get; }The underlying gRPC CompletionService client
| Property Value | |
|---|---|
| Type | Description |
CompletionService.CompletionServiceClient |
|
ImportCompletionDataOperationsClient
public override OperationsClient ImportCompletionDataOperationsClient { get; }The long-running operations client for ImportCompletionData.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CompleteQuery(CompleteQueryRequest, CallSettings)
public override CompleteQueryResponse CompleteQuery(CompleteQueryRequest request, CallSettings callSettings = null)Completes the specified prefix with keyword suggestions.
This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.
| Parameters | |
|---|---|
| Name | Description |
request |
CompleteQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 prefix with keyword suggestions.
This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.
| Parameters | |
|---|---|
| Name | Description |
request |
CompleteQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<CompleteQueryResponse> |
A Task containing the RPC response. |
ImportCompletionData(ImportCompletionDataRequest, CallSettings)
public override Operation<ImportCompletionDataResponse, ImportMetadata> ImportCompletionData(ImportCompletionDataRequest request, CallSettings callSettings = null)Bulk import of processed completion dataset.
Request processing may be synchronous. Partial updating is not supported.
This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportCompletionDataRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<ImportCompletionDataResponse, ImportMetadata> |
The RPC response. |
ImportCompletionDataAsync(ImportCompletionDataRequest, CallSettings)
public override Task<Operation<ImportCompletionDataResponse, ImportMetadata>> ImportCompletionDataAsync(ImportCompletionDataRequest request, CallSettings callSettings = null)Bulk import of processed completion dataset.
Request processing may be synchronous. Partial updating is not supported.
This feature is only available for users who have Retail Search enabled. Please submit a form here to contact cloud sales if you are interested in using Retail Search.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportCompletionDataRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<ImportCompletionDataResponse, ImportMetadata>> |
A Task containing the RPC response. |