Send feedback CompleteQueryResponse Stay organized with collections Save and categorize content based on your preferences.
JSON representation
{ "querySuggestions" : [ { object (QuerySuggestion
) } ] , "tailMatchTriggered" : boolean }
Fields querySuggestions[]
object (QuerySuggestion
)
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
tailMatchTriggered
boolean
True if the returned suggestions are all tail suggestions.
For tail matching to be triggered, includeTailSuggestions in the request must be true and there must be no suggestions that match the full query.
QuerySuggestion Suggestions as search queries.
JSON representation
{ "suggestion" : string , "completableFieldPaths" : [ string ] }
Fields suggestion
string
The suggestion for the query.
completableFieldPaths[]
string
The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.
This field is only populated for the document-completable model.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[]]