DeliveryAddressValueSpec
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Uygulama tarafından actions.intent.DELIVERY_ADDRESS
için giriş olarak iletildi.
Alanlar |
addressOptions |
object (AddressOptions )
Teslimat adresi iletişim kutusu yapılandırması.
|
AddressOptions
Teslimat adresi istenirken kullanılabilecek seçenekler.
JSON gösterimi |
{
"reason": string
} |
Alanlar |
reason |
string
Uygulama isteğe bağlı olarak, teslimat adresinin neden istendiğine dair ipucu veren kısa bir metin iletebilir. Örneğin, "Grubhub, [hizmet bölgesini belirleme] için adresinizi soruyor." gibi bir ifade kullanıyorsanız [] içindeki metin, burada doldurulması gereken özel TTS'dir.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]