Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::AssistantConfirmationResponse (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantConfirmationResponse.

The user's answer to an AssistantConfirmationRequest, sent on the next SessionService.StreamChatAiAssistant call to resume the paused agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer_text

def answer_text() -> ::String
Returns
  • (::String) — The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

    Note: The following fields are mutually exclusive: answer_text, confirmed. If a field in that set is populated, all other fields in the set will automatically be cleared.

#answer_text=

def answer_text=(value) -> ::String
Parameter
  • value (::String) — The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

    Note: The following fields are mutually exclusive: answer_text, confirmed. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

    Note: The following fields are mutually exclusive: answer_text, confirmed. If a field in that set is populated, all other fields in the set will automatically be cleared.

#confirmation_id

def confirmation_id() -> ::String
Returns

#confirmation_id=

def confirmation_id=(value) -> ::String
Parameter
Returns

#confirmed

def confirmed() -> ::Boolean
Returns
  • (::Boolean) — Binary answer: true approves the paused action, false declines it.

    Note: The following fields are mutually exclusive: confirmed, answer_text. If a field in that set is populated, all other fields in the set will automatically be cleared.

#confirmed=

def confirmed=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Binary answer: true approves the paused action, false declines it.

    Note: The following fields are mutually exclusive: confirmed, answer_text. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Binary answer: true approves the paused action, false declines it.

    Note: The following fields are mutually exclusive: confirmed, answer_text. If a field in that set is populated, all other fields in the set will automatically be cleared.