Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class EventHandler.
A handler that is triggered by the specified event .
Generated from protobuf message google.cloud.dialogflow.cx.v3.Handler.EventHandler
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ HandlerMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ event
string
Required. The name of the event that triggers this handler.
↳ condition
string
Optional. The condition that must be satisfied to trigger this handler.
↳ fulfillment
getEvent
Required. The name of the event that triggers this handler.
string
setEvent
Required. The name of the event that triggers this handler.
var
string
$this
getCondition
Optional. The condition that must be satisfied to trigger this handler.
string
setCondition
Optional. The condition that must be satisfied to trigger this handler.
var
string
$this
getFulfillment
Required. The fulfillment to call when the event occurs.
hasFulfillment
clearFulfillment
setFulfillment
Required. The fulfillment to call when the event occurs.
$this

