Class: Google::Cloud::DiscoveryEngine::V1::CompleteQueryResponse::QuerySuggestion

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/completion_service.rb

Overview

Suggestions as search queries.

Instance Attribute Summary collapse

Instance Attribute Details

#completable_field_paths::Array<::String>

Returns The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.

This field is only populated for the document-completable model.

Returns:

  • (::Array<::String>)

    The unique document field paths that serve as the source of this suggestion if it was generated from completable fields.

    This field is only populated for the document-completable model.



109
110
111
112
# File 'proto_docs/google/cloud/discoveryengine/v1/completion_service.rb', line 109

class QuerySuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#suggestion::String

Returns The suggestion for the query.

Returns:

  • (::String)

    The suggestion for the query.



109
110
111
112
# File 'proto_docs/google/cloud/discoveryengine/v1/completion_service.rb', line 109

class QuerySuggestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end