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.
[[["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."],[[["The `actions.intent.DELIVERY_ADDRESS` intent uses the `DeliveryAddressValueSpec` object."],["`DeliveryAddressValueSpec` requires an `AddressOptions` object for configuration."],["`AddressOptions` includes an optional `reason` field to explain why the address is needed."],["The `reason` field allows custom text-to-speech to provide context to the user."]]],[]]