class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn
One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
Attributes
user_input[RW]
The input from the human user. Corresponds to the JSON property `userInput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurnUserInput]
virtual_agent_output[RW]
The output from the virtual agent. Corresponds to the JSON property `virtualAgentOutput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 149 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_v2beta1/classes.rb, line 154 def update!(**args) @user_input = args[:user_input] if args.key?(:user_input) @virtual_agent_output = args[:virtual_agent_output] if args.key?(:virtual_agent_output) end