DeliveryAddressValue
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
作为 actions.intent.DELIVERY_ADDRESS
的输出返回应用。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eactions.intent.DELIVERY_ADDRESS\u003c/code\u003e output is returned in JSON format containing \u003ccode\u003euserDecision\u003c/code\u003e and \u003ccode\u003elocation\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003euserDecision\u003c/code\u003e reflects the user's choice about sharing their delivery address, represented by the \u003ccode\u003eDeliveryAddressUserDecision\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003elocation\u003c/code\u003e only includes the delivery address if the user agrees to share it, structured as a \u003ccode\u003eLocation\u003c/code\u003e object.\u003c/p\u003e\n"]]],["The core content details the JSON output for `actions.intent.DELIVERY_ADDRESS`. It consists of two main components: `userDecision` and `location`. `userDecision`, an enumerated type, reflects the user's choice regarding the request. `location`, an object, contains the delivery address, but only if the user agrees to share it. This JSON structure is returned to the application as a response related to the delivery address intent.\n"],null,["# DeliveryAddressValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nReturned to the app as output for `actions.intent.DELIVERY_ADDRESS`.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"userDecision\": enum (/assistant/df-asdk/reference/webhook/rest/Shared.Types/DeliveryAddressUserDecision), \"location\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location) } } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userDecision` | `enum (`[DeliveryAddressUserDecision](/assistant/df-asdk/reference/webhook/rest/Shared.Types/DeliveryAddressUserDecision)`)` User's decision regarding the request. |\n| `location` | `object (`[Location](/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location)`)` Contains delivery address only when user agrees to share the delivery address. |"]]