Chú ý: Bạn đang xem tài liệu về giao diện REST của API. Hầu hết các thư viện ứng dụng chính thức của chúng tôi đều sử dụng gRPC. Hãy xem
Giới thiệu về REST để biết chi tiết.
CustomerCustomizer
Một giá trị thông số tuỳ chỉnh cho Thông tin tuỳ chỉnh liên quan ở cấp Khách hàng.
Trường |
resourceName |
string
Bất biến. Tên tài nguyên của thông số tuỳ chỉnh khách hàng. Tên tài nguyên thông số tuỳ chỉnh khách hàng có dạng như sau: customers/{customerId}/customerCustomizers/{customizer_attribute_id}
|
customizerAttribute |
string
Bắt buộc. Bất biến. Thuộc tính thông số tuỳ chỉnh được liên kết với khách hàng.
|
status |
enum (CustomizerValueStatus )
Chỉ có đầu ra. Trạng thái của thuộc tính thông số tuỳ chỉnh khách hàng.
|
value |
object (CustomizerValue )
Bắt buộc. Giá trị để liên kết với thuộc tính thông số tuỳ chỉnh ở cấp này. Giá trị phải là loại được chỉ định cho CustomrAttribute.
|
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-03-06 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-03-06 UTC."],[[["Customer Customizer allows you to associate a customizer attribute with a specific value at the customer level."],["The value associated with the customizer attribute must match the type specified for the attribute."],["The status of the customer customizer attribute can be viewed but not modified directly."],["It utilizes a JSON representation for defining the customizer, including resource name, attribute, status, and value."],["The resource name follows a specific format, `customers/{customerId}/customerCustomizers/{customizer_attribute_id}`, and is immutable once set."]]],["The core content defines a Customer Customizer's JSON structure, detailing its key components. It includes a `resourceName` identifying the customer customizer, a required `customizerAttribute` field linking it to a customer. It contains a `status` field indicating the attribute's state. Lastly, a required `value` field specifies the data associated with the customizer attribute, adhering to the type set for the attribute.\n"]]