TaskAttribute
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อธิบายแอตทริบิวต์งานเป็นคู่คีย์-ค่า "คีย์:ค่า" สตริงต้องมีความยาวไม่เกิน 256 อักขระ
การแสดง JSON |
{
"key": string,
// Union field task_attribute_value can be only one of the following:
"stringValue": string,
"boolValue": boolean,
"numberValue": number
// End of list of possible types for union field task_attribute_value .
} |
ช่อง |
key |
string
คีย์ของแอตทริบิวต์ คีย์ต้องไม่มีอักขระโคลอน (:)
|
ช่องการรวม task_attribute_value ค่าของแอตทริบิวต์อาจเป็นสตริง บูลีน หรือประเภท Double หากไม่ได้ตั้งค่าไว้ ระบบจะจัดเก็บ TaskAttribute string_value เป็นสตริงว่าง "" task_attribute_value ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
stringValue |
string
ค่าแอตทริบิวต์ที่พิมพ์โดยสตริง
|
boolValue |
boolean
ค่าแอตทริบิวต์ที่พิมพ์ด้วยบูลีน
|
numberValue |
number
ค่าแอตทริบิวต์ที่พิมพ์คู่
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eTask attributes are represented as key-value pairs in JSON format, with a maximum length of 256 characters for the "key:value" string.\u003c/p\u003e\n"],["\u003cp\u003eAttribute keys cannot contain colons and values can be strings, booleans, or numbers.\u003c/p\u003e\n"],["\u003cp\u003eIf no specific value type is set, the attribute will be stored as an empty string.\u003c/p\u003e\n"]]],["A task attribute is represented as a key-value pair with a maximum string length of 256 characters. The `key` is a string that cannot include colons. The `task_attribute_value` can be a string, boolean, or number. If no value is provided, the string value defaults to an empty string. Only one value type can be set for the `task_attribute_value`.\n"],null,["# TaskAttribute\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDescribes a task attribute as a key-value pair. The \"key:value\" string length cannot exceed 256 characters.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"key\": string, // Union field `task_attribute_value` can be only one of the following: \"stringValue\": string, \"boolValue\": boolean, \"numberValue\": number // End of list of possible types for union field `task_attribute_value`. } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------|\n| `key` | `string` The attribute's key. Keys may not contain the colon character (:). |\n| Union field `task_attribute_value`. The attribute's value, can be in string, bool, or double type. If none are set the TaskAttribute string_value will be stored as the empty string \"\". `task_attribute_value` can be only one of the following: ||\n| `stringValue` | `string` String typed attribute value. |\n| `boolValue` | `boolean` Boolean typed attribute value. |\n| `numberValue` | `number` Double typed attribute value. |"]]