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

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

The sources of the answers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#metadata

def metadata() -> ::Google::Protobuf::Struct
Returns

#metadata=

def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#snippet

def snippet() -> ::String
Returns
  • (::String) — The relevant snippet of the article.

#snippet=

def snippet=(value) -> ::String
Parameter
  • value (::String) — The relevant snippet of the article.
Returns
  • (::String) — The relevant snippet of the article.

#title

def title() -> ::String
Returns
  • (::String) — The title of the article.

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — The title of the article.
Returns
  • (::String) — The title of the article.

#uri

def uri() -> ::String
Returns
  • (::String) — The URI of the article.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — The URI of the article.
Returns
  • (::String) — The URI of the article.