public static interface CompletionServiceGrpc.AsyncService
Autocomplete service for retail. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
| Modifier and Type | Method and Description |
|---|---|
default void |
completeQuery(CompleteQueryRequest request,
io.grpc.stub.StreamObserver<CompleteQueryResponse> responseObserver)
Completes the specified prefix with keyword suggestions.
|
default void |
importCompletionData(ImportCompletionDataRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Bulk import of processed completion dataset.
|
default void completeQuery(CompleteQueryRequest request, io.grpc.stub.StreamObserver<CompleteQueryResponse> responseObserver)
Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
default void importCompletionData(ImportCompletionDataRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.
Copyright © 2025 Google LLC. All rights reserved.