Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer (v1.4.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer.

Represents a Knowledge Assist answer.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer_record

def answer_record() -> ::String
Returns
  • (::String) — The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>.

#answer_record=

def answer_record=(value) -> ::String
Parameter
  • value (::String) — The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>.
Returns
  • (::String) — The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>.

#suggested_query

def suggested_query() -> ::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::SuggestedQuery
Returns

#suggested_query=

def suggested_query=(value) -> ::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::SuggestedQuery
Parameter
Returns

#suggested_query_answer

def suggested_query_answer() -> ::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer
Returns

#suggested_query_answer=

def suggested_query_answer=(value) -> ::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer
Parameter
Returns