Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff

Inherits:
Object
  • Object
show all
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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff

Returns a new instance of GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff.



6088
6089
6090
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 6088

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metadataHash<String,Object>

Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Object>)


6086
6087
6088
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 6086

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6093
6094
6095
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 6093

def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
end