Class AdvancedCompleteQueryResponse (0.13.5)

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

Response message for CompletionService.AdvancedCompleteQuery method.

Attributes

Name Description
query_suggestions MutableSequence[google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryResponse.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.
people_suggestions MutableSequence[google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryResponse.PersonSuggestion]
Results of the matched people suggestions. The result list is ordered and the first result is the top suggestion.
content_suggestions MutableSequence[google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryResponse.ContentSuggestion]
Results of the matched content suggestions. The result list is ordered and the first result is the top suggestion.
recent_search_suggestions MutableSequence[google.cloud.discoveryengine_v1beta.types.AdvancedCompleteQueryResponse.RecentSearchSuggestion]
Results of the matched "recent search" suggestions. The result list is ordered and the first result is the top suggestion.

Classes

ContentSuggestion

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

Suggestions as content.

PersonSuggestion

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

Suggestions as people.

QuerySuggestion

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

Suggestions as search queries.

RecentSearchSuggestion

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

Suggestions from recent search history.