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 يمكن أن تكون قيمة السمة من النوع string أو bool أو double. في حال عدم ضبط أي قيمة، سيتم تخزين قيمة سلسلة TaskAttribute كسلسلة فارغة "". يمكن أن يكون task_attribute_value واحدًا فقط مما يلي: |
stringValue |
string
قيمة السمة من النوع سلسلة
|
boolValue |
boolean
قيمة سمة من النوع المنطقي
|
numberValue |
number
قيمة سمة ذات نوعَين
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Task attributes are represented as key-value pairs in JSON format, with a maximum length of 256 characters for the \"key:value\" string."],["Attribute keys cannot contain colons and values can be strings, booleans, or numbers."],["If no specific value type is set, the attribute will be stored as an empty string."]]],["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"]]