DeliveryAddressValue
Đượ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: 2024-08-22 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]