TaskAttribute
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir görev özelliğini anahtar/değer çifti olarak tanımlar. "key:value" dize 256 karakterden uzun olamaz.
JSON gösterimi |
{
"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 .
} |
Alanlar |
key |
string
Özelliğin anahtarı. Anahtarlar, iki nokta üst üste karakterini (:) içeremez.
|
Birleştirme alanı task_attribute_value . Özelliğin değeri dize, bool veya çift tür olabilir. Hiçbiri ayarlanmazsa TaskAttribute string_value boş dizesi "" olarak depolanır. task_attribute_value şunlardan yalnızca biri olabilir: |
stringValue |
string
Dize türünde özellik değeri.
|
boolValue |
boolean
Boole türünde özellik değeri.
|
numberValue |
number
Özellik değeri iki kez yazılmış.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-31 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]