Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Handler.
Handler can be used to define custom logic to be executed based on the user-specified triggers.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event_handler
def event_handler() -> ::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler-
(::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler) — A handler triggered by event.
Note: The following fields are mutually exclusive:
event_handler,lifecycle_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.
#event_handler=
def event_handler=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler-
value (::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler) — A handler triggered by event.
Note: The following fields are mutually exclusive:
event_handler,lifecycle_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::Handler::EventHandler) — A handler triggered by event.
Note: The following fields are mutually exclusive:
event_handler,lifecycle_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.
#lifecycle_handler
def lifecycle_handler() -> ::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler-
(::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.
Note: The following fields are mutually exclusive:
lifecycle_handler,event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.
#lifecycle_handler=
def lifecycle_handler=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler-
value (::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.
Note: The following fields are mutually exclusive:
lifecycle_handler,event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::Handler::LifecycleHandler) — A handler triggered during specific lifecycle of the playbook execution.
Note: The following fields are mutually exclusive:
lifecycle_handler,event_handler. If a field in that set is populated, all other fields in the set will automatically be cleared.