Response message for CompletionService.CompleteQuery
method.
JSON representation |
---|
{
"querySuggestions": [
{
object ( |
Fields | |
---|---|
querySuggestions[] |
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. |
tailMatchTriggered |
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 |
The suggestion for the query. |
completableFieldPaths[] |
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. |