public virtual Task<CompleteQueryResponse> CompleteQuery(CompleteQueryRequest request, ServerCallContext context)
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.
public virtual Task<Operation> ImportCompletionData(ImportCompletionDataRequest request, ServerCallContext context)
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eCompletionServiceBase\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, which serves as a base for server-side implementations of the Completion Service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCompletionServiceBase\u003c/code\u003e class is 2.12.0, with a range of prior versions from 2.11.0 back to 1.0.0 also documented.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCompletionServiceBase\u003c/code\u003e offers methods such as \u003ccode\u003eCompleteQuery\u003c/code\u003e, which provides keyword suggestions for a specified prefix, and \u003ccode\u003eImportCompletionData\u003c/code\u003e, for bulk importing processed completion datasets, both of which require Retail Search to be enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompleteQuery\u003c/code\u003e and \u003ccode\u003eImportCompletionData\u003c/code\u003e methods use the \u003ccode\u003eCompleteQueryRequest\u003c/code\u003e and \u003ccode\u003eImportCompletionDataRequest\u003c/code\u003e objects respectively, along with a \u003ccode\u003eServerCallContext\u003c/code\u003e object, and are both task-based operations.\u003c/p\u003e\n"],["\u003cp\u003eThe Completion Service, as part of the Google Cloud Retail API, is only accessible to those who have specifically enabled Retail Search, which requires contacting cloud sales.\u003c/p\u003e\n"]]],[],null,[]]