class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer
Represents a smart reply 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]
confidence[RW]
Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain). Corresponds to the JSON property `confidence` @return [Float]
reply[RW]
The content of the reply. Corresponds to the JSON property `reply` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 14321 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 14326 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @confidence = args[:confidence] if args.key?(:confidence) @reply = args[:reply] if args.key?(:reply) end