Google Cloud Dialogflow V2 Client - Class HumanAgentHandoffConfig (1.0.1)

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

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).

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

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

hasLivePersonConfig

setLivePersonConfig

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

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

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

getSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

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

hasSalesforceLiveAgentConfig

setSalesforceLiveAgentConfig

Uses Salesforce Live Agent.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

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

getAgentService

Returns
TypeDescription
string