Gemini Enterprise for Customer Experience v1beta API - Class AssistantConfirmationResponse (1.0.0-beta10)

public sealed class AssistantConfirmationResponse : IMessage<AssistantConfirmationResponse>, IEquatable<AssistantConfirmationResponse>, IDeepCloneable<AssistantConfirmationResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantConfirmationResponse.

The user's answer to an [AssistantConfirmationRequest][google.cloud.ces.v1beta.AssistantConfirmationRequest], sent on the next [SessionService.StreamChatAiAssistant][google.cloud.ces.v1beta.SessionService.StreamChatAiAssistant] call to resume the paused agent.

Inheritance

object > AssistantConfirmationResponse

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

AssistantConfirmationResponse()

public AssistantConfirmationResponse()

AssistantConfirmationResponse(AssistantConfirmationResponse)

public AssistantConfirmationResponse(AssistantConfirmationResponse other)
Parameter
Name Description
other AssistantConfirmationResponse

Properties

AnswerText

public string AnswerText { get; set; }

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.

Property Value
Type Description
string

ConfirmationId

public string ConfirmationId { get; set; }

The [AssistantConfirmationRequest.confirmation_id][google.cloud.ces.v1beta.AssistantConfirmationRequest.confirmation_id] being answered.

Property Value
Type Description
string

Confirmed

public bool Confirmed { get; set; }

Binary answer: true approves the paused action, false declines it.

Property Value
Type Description
bool

HasAnswerText

public bool HasAnswerText { get; }

Gets whether the "answer_text" field is set

Property Value
Type Description
bool

HasConfirmed

public bool HasConfirmed { get; }

Gets whether the "confirmed" field is set

Property Value
Type Description
bool

ResponseCase

public AssistantConfirmationResponse.ResponseOneofCase ResponseCase { get; }
Property Value
Type Description
AssistantConfirmationResponseResponseOneofCase