Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class LifecycleHandler.
A handler that is triggered on the specific lifecycle_stage of the playbook execution.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Handler.LifecycleHandler
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ HandlerMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ lifecycle_stage
string
Required. The name of the lifecycle stage that triggers this handler. Supported values: * * playbook-start
* * pre-action-selection
* * pre-action-execution
↳ condition
string
Optional. The condition that must be satisfied to trigger this handler.
↳ fulfillment
Google\Cloud\Dialogflow\Cx\V3\Fulfillment
Required. The fulfillment to call when this handler is triggered.
getLifecycleStage
Required. The name of the lifecycle stage that triggers this handler.
Supported values:
-
playbook-start -
pre-action-selection -
pre-action-execution
string
setLifecycleStage
Required. The name of the lifecycle stage that triggers this handler.
Supported values:
-
playbook-start -
pre-action-selection -
pre-action-execution
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 this handler is triggered.
hasFulfillment
clearFulfillment
setFulfillment
Required. The fulfillment to call when this handler is triggered.
$this

