Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse.
Response message for CompletionService.CompleteQuery method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#query_suggestions
def query_suggestions() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion>
- (::Array<::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion>) — Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
#query_suggestions=
def query_suggestions=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion>
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion>) — Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
- (::Array<::Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion>) — Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
#tail_match_triggered
def tail_match_triggered() -> ::Boolean
-
(::Boolean) — 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.
#tail_match_triggered=
def tail_match_triggered=(value) -> ::Boolean
-
value (::Boolean) — 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.
-
(::Boolean) — 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.