Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowV2HumanAgentHandoffConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentHandoffConfig.



11543
11544
11545
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11543

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

Instance Attribute Details

#live_person_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig

Configuration specific to LivePerson. Corresponds to the JSON property livePersonConfig



11536
11537
11538
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11536

def live_person_config
  @live_person_config
end

#salesforce_live_agent_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig

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



11541
11542
11543
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11541

def salesforce_live_agent_config
  @salesforce_live_agent_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11548
11549
11550
11551
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11548

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