Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#user_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnUserInput
Corresponds to the JSON property
userInput. -
#virtual_agent_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
Corresponds to the JSON property
virtualAgentOutput.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ConversationTurn
constructor
A new instance of GoogleCloudDialogflowCxV3ConversationTurn.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ConversationTurn
Returns a new instance of GoogleCloudDialogflowCxV3ConversationTurn.
1160 1161 1162 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_input ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnUserInput
Corresponds to the JSON property userInput
1153 1154 1155 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1153 def user_input @user_input end |
#virtual_agent_output ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
Corresponds to the JSON property virtualAgentOutput
1158 1159 1160 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1158 def virtual_agent_output @virtual_agent_output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1165 1166 1167 1168 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1165 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 |