DeliveryAddressValue
Stay organized with collections
Save and categorize content based on your preferences.
Returned to the Action as output for actions.type.DeliveryAddressValue
.
JSON representation |
{
"userDecision": enum (DeliveryAddressUserDecision ),
"location": {
object (Location )
}
} |
Fields |
userDecision |
enum (DeliveryAddressUserDecision )
User's decision regarding the request.
|
location |
object (Location )
Contains delivery address only when user agrees to share the delivery address.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 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. |"]]