Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig

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

Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig.



14480
14481
14482
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14480

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

Instance Attribute Details

#live_person_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig

Configuration specific to LivePerson. Corresponds to the JSON property livePersonConfig



14473
14474
14475
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14473

def live_person_config
  @live_person_config
end

#salesforce_live_agent_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig

Configuration specific to Salesforce Live Agent. Corresponds to the JSON property salesforceLiveAgentConfig



14478
14479
14480
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14478

def salesforce_live_agent_config
  @salesforce_live_agent_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14485
14486
14487
14488
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14485

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