TaskAttribute
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
說明工作屬性做為鍵/值組合。「key:value」字串長度不得超過 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 。屬性值可以是字串、布林值或雙精度浮點數。如未設定,TaskAttribute string_value 會儲存為空字串「"」。task_attribute_value 只能採用下列其中一種設定: |
stringValue |
string
字串類型的屬性值。
|
boolValue |
boolean
布林值類型的屬性值。
|
numberValue |
number
雙重輸入的屬性值。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[null,null,["上次更新時間:2025-08-31 (世界標準時間)。"],[],["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,[]]