Google Cloud Dialogflow V2 Client - Class HumanAgentHandoffConfig (1.14.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
Name Description
data array

Optional. Data for populating the Message object.

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

Uses LivePerson.

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

Uses Salesforce Live Agent.

getLivePersonConfig

Uses LivePerson.

Returns
Type Description
Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\LivePersonConfig|null

hasLivePersonConfig

setLivePersonConfig

Uses LivePerson.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\LivePersonConfig
Returns
Type Description
$this

getSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Returns
Type Description
Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\SalesforceLiveAgentConfig|null

hasSalesforceLiveAgentConfig

setSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\HumanAgentHandoffConfig\SalesforceLiveAgentConfig
Returns
Type Description
$this

getAgentService

Returns
Type Description
string