DialogSpec
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"extension": {
"@type": string,
field1: ...,
...
}
} |
字段 |
extension |
object
包含特定于帮助程序的对话框规范(如果有)。例如:用于确认帮助程序的 ConfirmationDialogSpec。 此对象可以包含任意类型的字段。附加字段 "@type" 包含用于标示相应类型的 URI。示例:{ "id": 1234, "@type": "types.example.com/standard/id" } 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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\" }`. |"]]