Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler.
A handler that is triggered on the specific lifecycle_stage of the playbook execution.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#condition
def condition() -> ::String- (::String) — Optional. The condition that must be satisfied to trigger this handler.
#condition=
def condition=(value) -> ::String- value (::String) — Optional. The condition that must be satisfied to trigger this handler.
- (::String) — Optional. The condition that must be satisfied to trigger this handler.
#fulfillment
def fulfillment() -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment- (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when this handler is triggered.
#fulfillment=
def fulfillment=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Fulfillment- value (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when this handler is triggered.
- (::Google::Cloud::Dialogflow::CX::V3::Fulfillment) — Required. The fulfillment to call when this handler is triggered.
#lifecycle_stage
def lifecycle_stage() -> ::String-
(::String) —
Required. The name of the lifecycle stage that triggers this handler. Supported values:
playbook-startpre-action-selectionpre-action-execution
#lifecycle_stage=
def lifecycle_stage=(value) -> ::String-
value (::String) —
Required. The name of the lifecycle stage that triggers this handler. Supported values:
playbook-startpre-action-selectionpre-action-execution
-
(::String) —
Required. The name of the lifecycle stage that triggers this handler. Supported values:
playbook-startpre-action-selectionpre-action-execution