Google Cloud Dialogflow V2 Client - Class HumanAgentHandoffConfig (1.11.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class HumanAgentHandoffConfig.

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.

Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentHandoffConfig

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ live_person_config Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\LivePersonConfig

Uses LivePerson (https://www.liveperson.com).

↳ salesforce_live_agent_config Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\SalesforceLiveAgentConfig

Uses Salesforce Live Agent.

getLivePersonConfig

Uses LivePerson (https://www.liveperson.com).

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\LivePersonConfig|null

hasLivePersonConfig

setLivePersonConfig

Uses LivePerson (https://www.liveperson.com).

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\LivePersonConfig
Returns
TypeDescription
$this

getSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\SalesforceLiveAgentConfig|null

hasSalesforceLiveAgentConfig

setSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\SalesforceLiveAgentConfig
Returns
TypeDescription
$this

getAgentService

Returns
TypeDescription
string