DeliveryAddressValueSpec
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
actions.intent.DELIVERY_ADDRESS
के लिए इनपुट के तौर पर ऐप्लिकेशन ने पास किया.
JSON के काेड में दिखाना |
{
"addressOptions": {
object (AddressOptions )
}
} |
फ़ील्ड |
addressOptions |
object (AddressOptions )
डिलीवरी के पते वाले डायलॉग बॉक्स का कॉन्फ़िगरेशन.
|
AddressOptions
डिलीवरी का पता पूछते समय विकल्प.
JSON के काेड में दिखाना |
{
"reason": string
} |
फ़ील्ड |
reason |
string
ऐप्लिकेशन, विकल्प के तौर पर एक छोटा टेक्स्ट पास कर सकता है. इस टेक्स्ट से उपयोगकर्ता को यह पता चलता है कि डिलीवरी के पते का अनुरोध क्यों किया गया है. उदाहरण के लिए, "ग्रबहब आपके पते के बारे में [सेवा देने के इलाके की जानकारी तय करना] मांग रहा है.", [] में दिया गया टेक्स्ट, कस्टम टीटीएस है. इसे यहां भरा जाना चाहिए.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (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. |"]]