Class CompleteQueryResponse (0.13.5)

CompleteQueryResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response message for CompletionService.CompleteQuery method.

Attributes

Name Description
query_suggestions MutableSequence[google.cloud.discoveryengine_v1.types.CompleteQueryResponse.QuerySuggestion]
Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
tail_match_triggered bool
True if the returned suggestions are all tail suggestions. For tail matching to be triggered, include_tail_suggestions in the request must be true and there must be no suggestions that match the full query.

Classes

QuerySuggestion

QuerySuggestion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Suggestions as search queries.