DeliveryAddressValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Passed by the app as input for actions.intent.DELIVERY_ADDRESS
.
Fields |
addressOptions |
object (AddressOptions )
Configuration for delivery address dialog.
|
AddressOptions
Options when asking for a delivery address.
JSON representation |
{
"reason": string
} |
Fields |
reason |
string
App can optionally pass a short text giving user a hint why delivery address is requested. For example, "Grubhub is asking your address for [determining the service area].", the text in [] is the custom TTS that should be populated here.
|
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.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eDeliveryAddressValueSpec is used for providing delivery address information to the app.\u003c/p\u003e\n"],["\u003cp\u003eIt includes AddressOptions for configuring the delivery address dialog.\u003c/p\u003e\n"],["\u003cp\u003eAddressOptions can include a reason to explain to the user why their address is needed.\u003c/p\u003e\n"],["\u003cp\u003eThe reason can be customized with text-to-speech for a more natural interaction.\u003c/p\u003e\n"]]],[],null,["# DeliveryAddressValueSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AddressOptions](#AddressOptions)\n - [JSON representation](#AddressOptions.SCHEMA_REPRESENTATION)\n\nPassed by the app as input for `actions.intent.DELIVERY_ADDRESS`.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"addressOptions\": { object (/assistant/actionssdk/reference/rest/Shared.Types/DeliveryAddressValueSpec#AddressOptions) } } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `addressOptions` | `object (`[AddressOptions](/assistant/actionssdk/reference/rest/Shared.Types/DeliveryAddressValueSpec#AddressOptions)`)` Configuration for delivery address dialog. |\n\nAddressOptions\n--------------\n\nOptions when asking for a delivery address.\n\n| JSON representation ||\n|------------------------------|---|\n| ``` { \"reason\": string } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `reason` | `string` App can optionally pass a short text giving user a hint why delivery address is requested. For example, \"Grubhub is asking your address for \\[determining the service area\\].\", the text in `[]` is the custom TTS that should be populated here. |"]]