DeliveryAddressValue
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wrócono do działania jako danych wyjściowych zadania actions.type.DeliveryAddressValue
.
Zapis JSON |
{
"userDecision": enum (DeliveryAddressUserDecision ),
"location": {
object (Location )
}
} |
Pola |
userDecision |
enum (DeliveryAddressUserDecision )
Decyzja użytkownika w sprawie żądania.
|
location |
object (Location )
Zawiera adres dostawy tylko wtedy, gdy użytkownik zgodzi się na jego udostępnienie.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeliveryAddressValue\u003c/code\u003e action output is represented in JSON format and provides the user's decision and delivery location.\u003c/p\u003e\n"],["\u003cp\u003eThis output contains two main fields: \u003ccode\u003euserDecision\u003c/code\u003e indicating user consent and \u003ccode\u003elocation\u003c/code\u003e providing the address if shared.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation\u003c/code\u003e field is populated only when the user agrees to share their delivery address.\u003c/p\u003e\n"]]],["The core content defines the JSON output for `actions.type.DeliveryAddressValue`. This output includes two key fields: `userDecision`, an enumeration indicating the user's response to the delivery address request, and `location`, an object containing the delivery address. The `location` object is only present when the user agrees to share their address, otherwise it is absent. This structure represents how a delivery address is shared after user interaction.\n"],null,["# DeliveryAddressValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nReturned to the Action as output for `actions.type.DeliveryAddressValue`.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------|---|\n| ``` { \"userDecision\": enum (`DeliveryAddressUserDecision`), \"location\": { object (`Location`) } } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------|\n| `userDecision` | `enum (``DeliveryAddressUserDecision``)` User's decision regarding the request. |\n| `location` | `object (``Location``)` Contains delivery address only when user agrees to share the delivery address. |"]]