class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurn

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::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput]

virtual_agent_output[RW]

The output from the virtual agent. Corresponds to the JSON property `virtualAgentOutput` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 2690
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 2695
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