class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer
Represents article answer.
Attributes
answer_record[RW]
The name of answer record, in the format of “projects//locations// answerRecords/” Corresponds to the JSON property `answerRecord` @return [String]
metadata[RW]
A map that contains metadata about the answer and the document from which it originates. Corresponds to the JSON property `metadata` @return [Hash<String,String>]
snippets[RW]
Output only. Article snippets. Corresponds to the JSON property `snippets` @return [Array<String>]
title[RW]
The article title. Corresponds to the JSON property `title` @return [String]
uri[RW]
The article URI. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 11630 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 11635 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @metadata = args[:metadata] if args.key?(:metadata) @snippets = args[:snippets] if args.key?(:snippets) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end