Class: Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::SuggestedQuery::SearchContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

Search context is information useful for knowledge search that helps enrich the query. Example: search_context { key: "application name" value: "DesignApp" }

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

Returns Optional. The key of the search context, e.g. "application name".

Returns:

  • (::String)

    Optional. The key of the search context, e.g. "application name".



1553
1554
1555
1556
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1553

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

#value::String

Returns Optional. The value of the search context, e.g. "DesignApp".

Returns:

  • (::String)

    Optional. The value of the search context, e.g. "DesignApp".



1553
1554
1555
1556
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1553

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