ConfirmationValueSpec

  • Input for AskForConfirmation requires a dialogSpec object, which configures the confirmation dialog.

  • ConfirmationDialogSpec provides speech configurations, acting as guidance for the dialog's behavior, like using requestConfirmationText for prompting the user.

  • The requestConfirmationText field within ConfirmationDialogSpec defines the question posed to the user during confirmation, such as "Are you sure about that?".

Input for AskForConfirmation

JSON representation
{
  "dialogSpec": {
    object (ConfirmationDialogSpec)
  }
}
Fields
dialogSpec

object (ConfirmationDialogSpec)

Configures dialog that asks for confirmation.

ConfirmationDialogSpec

Speech configurations for confirmation dialog. Please note that these configurations act more like a hint to confirmation dialog than absolute value. For example: In case of failure in receiving input from user for "request for confirmation", the confirmation dialog may respond: Sorry, $requestConfirmationText.

JSON representation
{
  "requestConfirmationText": string
}
Fields
requestConfirmationText

string

This is the question asked by confirmation sub-dialog. For example "Are you sure about that?"