Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::TriggerAction.
Action that is taken when a certain precondition is met.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#generative_answer
def generative_answer() -> ::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer-
(::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer) — Optional. Respond with a generative answer.
Note: The following fields are mutually exclusive:
generative_answer,respond_immediately,transfer_agent. If a field in that set is populated, all other fields in the set will automatically be cleared.
#generative_answer=
def generative_answer=(value) -> ::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer-
value (::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer) — Optional. Respond with a generative answer.
Note: The following fields are mutually exclusive:
generative_answer,respond_immediately,transfer_agent. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1::TriggerAction::GenerativeAnswer) — Optional. Respond with a generative answer.
Note: The following fields are mutually exclusive:
generative_answer,respond_immediately,transfer_agent. If a field in that set is populated, all other fields in the set will automatically be cleared.
#respond_immediately
def respond_immediately() -> ::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately-
(::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately) — Optional. Immediately respond with a preconfigured response.
Note: The following fields are mutually exclusive:
respond_immediately,transfer_agent,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#respond_immediately=
def respond_immediately=(value) -> ::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately-
value (::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately) — Optional. Immediately respond with a preconfigured response.
Note: The following fields are mutually exclusive:
respond_immediately,transfer_agent,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1::TriggerAction::RespondImmediately) — Optional. Immediately respond with a preconfigured response.
Note: The following fields are mutually exclusive:
respond_immediately,transfer_agent,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#transfer_agent
def transfer_agent() -> ::Google::Cloud::Ces::V1::TriggerAction::TransferAgent-
(::Google::Cloud::Ces::V1::TriggerAction::TransferAgent) — Optional. Transfer the conversation to a different agent.
Note: The following fields are mutually exclusive:
transfer_agent,respond_immediately,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.
#transfer_agent=
def transfer_agent=(value) -> ::Google::Cloud::Ces::V1::TriggerAction::TransferAgent-
value (::Google::Cloud::Ces::V1::TriggerAction::TransferAgent) — Optional. Transfer the conversation to a different agent.
Note: The following fields are mutually exclusive:
transfer_agent,respond_immediately,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1::TriggerAction::TransferAgent) — Optional. Transfer the conversation to a different agent.
Note: The following fields are mutually exclusive:
transfer_agent,respond_immediately,generative_answer. If a field in that set is populated, all other fields in the set will automatically be cleared.