DeliveryAddressValue
Restituito all'azione come output per actions.type.DeliveryAddressValue
.
Rappresentazione JSON |
{
"userDecision": enum (DeliveryAddressUserDecision ),
"location": {
object (Location )
}
} |
Campi |
userDecision |
enum (DeliveryAddressUserDecision )
La decisione dell'utente in merito alla richiesta.
|
location |
object (Location )
Contiene l'indirizzo di consegna solo quando l'utente accetta di condividerlo.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-22 UTC.
[null,null,["Ultimo aggiornamento 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"]]