DialogSpec
Stay organized with collections
Save and categorize content based on your preferences.
Prompts related metadata for helper sub-dialogs.
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\u003ePrompts define metadata for helper sub-dialogs using JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eextension\u003c/code\u003e field is an object containing helper-specific dialog specs, such as confirmation dialog details.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eextension\u003c/code\u003e objects include an \u003ccode\u003e@type\u003c/code\u003e field with a URI to identify the type of object, like "types.example.com/standard/id".\u003c/p\u003e\n"]]],[],null,["# DialogSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nPrompts related metadata for helper sub-dialogs.\n\n| JSON representation ||\n|----------------------------------------------------------------|---|\n| ``` { \"extension\": { \"@type\": string, field1: ..., ... } } ``` |\n\n| Fields ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `extension` | `object` Holds helper specific dialog specs if any. For example: ConfirmationDialogSpec for confirmation helper. An object containing fields of an arbitrary type. An additional field `\"@type\"` contains a URI identifying the type. Example: `{ \"id\": 1234, \"@type\": \"types.example.com/standard/id\" }`. |"]]