public sealed class AssistantConfirmationRequest : IMessage<AssistantConfirmationRequest>, IEquatable<AssistantConfirmationRequest>, IDeepCloneable<AssistantConfirmationRequest>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AssistantConfirmationRequest.
A blocking question or confirmation the assistant needs answered before an agent action can proceed. The requesting agent is paused and resumes only when the answer arrives on a later [StreamChatAiAssistantRequest.confirmation_response][google.cloud.ces.v1beta.StreamChatAiAssistantRequest.confirmation_response].
Implements
IMessageAssistantConfirmationRequest, IEquatableAssistantConfirmationRequest, IDeepCloneableAssistantConfirmationRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
AssistantConfirmationRequest()
public AssistantConfirmationRequest()AssistantConfirmationRequest(AssistantConfirmationRequest)
public AssistantConfirmationRequest(AssistantConfirmationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
AssistantConfirmationRequest |
Properties
AgentName
public string AgentName { get; set; }Display label of the agent that raised the confirmation (e.g.
"Contract Architect"), for the card header.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ConfirmationId
public string ConfirmationId { get; set; }Identifier correlating this request with its response. Opaque to clients; must be echoed verbatim on the answering request.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Context
public string Context { get; set; }Context describing what is being confirmed (e.g. the action the agent wants to take, or the question it needs answered). Rendered as plain text, not Markdown.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ExpireTime
public Timestamp ExpireTime { get; set; }Time after which this confirmation can no longer be answered. An expired card renders as inactive, and the server declines the confirmation on the next turn so the paused agent does not wait indefinitely.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
NegativeLabel
public string NegativeLabel { get; set; }Label for the declining action of a binary confirmation (e.g. "Not yet").
Unset when questions is populated.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PositiveLabel
public string PositiveLabel { get; set; }Label for the approving action of a binary confirmation (e.g. "Publish").
Unset when questions is populated.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Questions
public RepeatedField<OptionQuestionsChunk.Types.Question> Questions { get; }Multi-choice form of the confirmation. When populated, the card renders a selectable option list and the chosen option's submit_text (or free-form user text) is returned as [AssistantConfirmationResponse.answer_text][google.cloud.ces.v1beta.AssistantConfirmationResponse.answer_text].
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldOptionQuestionsChunkTypesQuestion |
|
Tool
public string Tool { get; set; }Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for pure questions.
| Property Value | |
|---|---|
| Type | Description |
string |
|