Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::CompleteQueryResponse::QuerySuggestion>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::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::V1beta::CompleteQueryResponse::QuerySuggestion>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse::QuerySuggestion>) — Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse::QuerySuggestion>) — Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.