class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage
Response messages from an automated agent.
Attributes
Indicates that interaction with the Dialogflow agent has ended. Corresponds to the JSON property `endInteraction` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction]
Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. Corresponds to the JSON property `liveAgentHandoff` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff]
Returns a response containing a custom, platform-specific payload. Corresponds to the JSON property `payload` @return [Hash<String,Object>]
The text response message. Corresponds to the JSON property `text` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageText]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13291 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13296 def update!(**args) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @payload = args[:payload] if args.key?(:payload) @text = args[:text] if args.key?(:text) end