Google Cloud Ces V1 Client - Class TriggerAction (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class TriggerAction.

Action that is taken when a certain precondition is met.

Generated from protobuf message google.cloud.ces.v1.TriggerAction

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ respond_immediately
TriggerAction\RespondImmediately

Optional. Immediately respond with a preconfigured response.

↳ transfer_agent
TriggerAction\TransferAgent

Optional. Transfer the conversation to a different agent.

↳ generative_answer
TriggerAction\GenerativeAnswer

Optional. Respond with a generative answer.

getRespondImmediately

Optional. Immediately respond with a preconfigured response.

Returns
Type
Description

hasRespondImmediately

setRespondImmediately

Optional. Immediately respond with a preconfigured response.

Parameter
Name
Description
Returns
Type
Description
$this

getTransferAgent

Optional. Transfer the conversation to a different agent.

Returns
Type
Description

hasTransferAgent

setTransferAgent

Optional. Transfer the conversation to a different agent.

Parameter
Name
Description
Returns
Type
Description
$this

getGenerativeAnswer

Optional. Respond with a generative answer.

Returns
Type
Description

hasGenerativeAnswer

setGenerativeAnswer

Optional. Respond with a generative answer.

Parameter
Name
Description
Returns
Type
Description
$this

getAction

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: