Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/representations.rb
Overview
One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
Instance Attribute Summary collapse
-
#user_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
The input from the human user.
-
#virtual_agent_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
The output from the virtual agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationTurn
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ConversationTurn.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationTurn
Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationTurn.
4635 4636 4637 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 4635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
The input from the human user.
Corresponds to the JSON property userInput
4628 4629 4630 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 4628 def user_input @user_input end |
#virtual_agent_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
The output from the virtual agent.
Corresponds to the JSON property virtualAgentOutput
4633 4634 4635 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 4633 def virtual_agent_output @virtual_agent_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4640 4641 4642 4643 |
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 4640 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 |