DeliveryAddressValue
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: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["The `DeliveryAddressValue` action output is represented in JSON format and provides the user's decision and delivery location."],["This output contains two main fields: `userDecision` indicating user consent and `location` providing the address if shared."],["The `location` field is populated only when the user agrees to share their delivery address."]]],["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"]]