Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#metadata ⇒ Hash<String,Object>
Custom metadata for your handoff procedure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
constructor
A new instance of GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
Returns a new instance of GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff.
15696 15697 15698 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Custom metadata for your handoff procedure. Dialogflow doesn't impose any
structure on this.
Corresponds to the JSON property metadata
15694 15695 15696 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15694 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15701 15702 15703 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15701 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) end |