Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::TriggerAction (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::GenerativeAnswer
Returns
  • (::Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::GenerativeAnswer
Parameter
  • value (::Google::Cloud::Ces::V1beta::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.

Returns
  • (::Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::RespondImmediately
Returns
  • (::Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::RespondImmediately
Parameter
  • value (::Google::Cloud::Ces::V1beta::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.

Returns
  • (::Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::TransferAgent
Returns
  • (::Google::Cloud::Ces::V1beta::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::V1beta::TriggerAction::TransferAgent
Parameter
  • value (::Google::Cloud::Ces::V1beta::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.

Returns
  • (::Google::Cloud::Ces::V1beta::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.