Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb
Overview
Indicates that the conversation should be handed off to a live 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 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) ⇒ GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
constructor
A new instance of GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
Returns a new instance of GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff.
1563 1564 1565 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 1563 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
1561 1562 1563 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 1561 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1568 1569 1570 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 1568 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) end |