Class: Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb
Overview
Response message for CompletionService.CompleteQuery method.
Defined Under Namespace
Classes: QuerySuggestion
Instance Attribute Summary collapse
-
#query_suggestions ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse::QuerySuggestion>
Results of the matched query suggestions.
Instance Attribute Details
#query_suggestions ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CompleteQueryResponse::QuerySuggestion>
Returns Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion.
82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb', line 82 class CompleteQueryResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Suggestions as search queries. # @!attribute [rw] suggestion # @return [::String] # The suggestion for the query. class QuerySuggestion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |