DeliveryAddressValue
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
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 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]