Condition
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.
Một điều kiện xác định danh sách giá trị quy tắc điều kiện.
Biểu diễn dưới dạng JSON |
{
"name": string,
"values": [
string
]
} |
Trường |
name |
string
Tên điều kiện.
|
values[] |
string
Giá trị điều kiện.
|
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.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["A condition is defined by a name and a list of values."],["Conditions are represented in JSON format with a \"name\" field for the condition's name and a \"values\" field containing an array of string values."]]],["The provided content describes a condition as a collection of condition rule values. Conditions are represented in JSON format with two fields: `name`, a string denoting the condition's name, and `values`, an array of strings specifying the condition's values. The `name` field identifies the condition, while the `values` field lists the associated condition values. This structure allows for defining various conditions with specific associated values.\n"]]