Action
Một hành động tiếp theo được liên kết với đơn đặt hàng hoặc mục hàng.
Biểu diễn dưới dạng JSON |
{
"type": enum (Type ),
"title": string,
"openUrlAction": {
object (OpenUrlAction )
},
"actionMetadata": {
object (ActionMetadata )
}
} |
Trường |
type |
enum (Type )
Bắt buộc: loại tác vụ.
|
title |
string
tiêu đề hoặc nhãn của hành động được hiển thị cho người dùng. Độ dài tối đa cho phép là 100 ký tự.
|
openUrlAction |
object (OpenUrlAction )
Việc cần làm.
|
actionMetadata |
object (ActionMetadata )
Siêu dữ liệu liên kết với một hành độ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-09-10 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-10 UTC."],[[["Actions represent follow-up interactions associated with an order or line item."],["Each Action has a type, title, URL to open, and associated metadata."],["ActionMetadata provides additional context, including an expiration time."],["JSON schemas define the structure for representing Actions and ActionMetadata."]]],["The core content describes the structure and fields for defining actions and their associated metadata. Actions include a `type`, a `title` for user display (max 100 characters), and an `openUrlAction`. Actions can contain `actionMetadata`, which includes an `expireTime` field that indicates when the action expires, formatted as a RFC3339 UTC timestamp. These fields define follow up actions to be executed.\n"]]