Reference documentation and code samples for the Developer Knowledge V1 API class Google::Developers::DeveloperKnowledge::V1::Answer.
An answer to a query.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_text
def answer_text() -> ::String
Returns
- (::String) — Contains the text of the answer.
#answer_text=
def answer_text=(value) -> ::String
Parameter
- value (::String) — Contains the text of the answer.
Returns
- (::String) — Contains the text of the answer.
#citations
def citations() -> ::Array<::Google::Developers::DeveloperKnowledge::V1::Answer::AnswerCitation>
Returns
- (::Array<::Google::Developers::DeveloperKnowledge::V1::Answer::AnswerCitation>) — Output only. Contains citations for the answer.
#references
def references() -> ::Array<::Google::Developers::DeveloperKnowledge::V1::Answer::AnswerReference>
Returns
- (::Array<::Google::Developers::DeveloperKnowledge::V1::Answer::AnswerReference>) — Output only. Contains references for the answer.