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
- (::Google::Protobuf::Struct) — Metadata associated with the article.
#metadata=
def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Metadata associated with the article.
Returns
- (::Google::Protobuf::Struct) — Metadata associated with the article.
#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.