ConfirmationValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Input for AskForConfirmation
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?"
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eInput for \u003ccode\u003eAskForConfirmation\u003c/code\u003e requires a \u003ccode\u003edialogSpec\u003c/code\u003e object, which configures the confirmation dialog.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfirmationDialogSpec\u003c/code\u003e provides speech configurations, acting as guidance for the dialog's behavior, like using \u003ccode\u003erequestConfirmationText\u003c/code\u003e for prompting the user.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erequestConfirmationText\u003c/code\u003e field within \u003ccode\u003eConfirmationDialogSpec\u003c/code\u003e defines the question posed to the user during confirmation, such as "Are you sure about that?".\u003c/p\u003e\n"]]],["The core content details a JSON structure for configuring a confirmation dialog. It involves a `dialogSpec` object which utilizes `ConfirmationDialogSpec`. This specification includes `requestConfirmationText`, a string field defining the question presented in the confirmation dialog, such as \"Are you sure about that?\". This structure provides a way to define the confirmation question that is asked to the user. The configurations serve as a suggestion to the confirmation dialog.\n"],null,["# ConfirmationValueSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ConfirmationDialogSpec](#ConfirmationDialogSpec)\n - [JSON representation](#ConfirmationDialogSpec.SCHEMA_REPRESENTATION)\n\nInput for AskForConfirmation\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"dialogSpec\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/ConfirmationValueSpec#ConfirmationDialogSpec) } } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dialogSpec` | `object (`[ConfirmationDialogSpec](/assistant/df-asdk/reference/webhook/rest/Shared.Types/ConfirmationValueSpec#ConfirmationDialogSpec)`)` Configures dialog that asks for confirmation. |\n\nConfirmationDialogSpec\n----------------------\n\nSpeech 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`.\n\n| JSON representation ||\n|-----------------------------------------------|---|\n| ``` { \"requestConfirmationText\": string } ``` |\n\n| Fields ||\n|---------------------------|--------------------------------------------------------------------------------------------------------|\n| `requestConfirmationText` | `string` This is the question asked by confirmation sub-dialog. For example \"Are you sure about that?\" |"]]