CompleteQueryResponse

Response message for CompletionService.CompleteQuery method.

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.