DeliveryAddressValue
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Được trả về Hành động dưới dạng dữ liệu đầu ra cho actions.type.DeliveryAddressValue
.
Biểu diễn dưới dạng JSON |
{
"userDecision": enum (DeliveryAddressUserDecision ),
"location": {
object (Location )
}
} |
Trường |
userDecision |
enum (DeliveryAddressUserDecision )
Quyết định của người dùng liên quan đến yêu cầu.
|
location |
object (Location )
Chỉ chứa địa chỉ giao hàng khi người dùng đồng ý chia sẻ địa chỉ giao hàng.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]