TaskAttribute
Stay organized with collections
Save and categorize content based on your preferences.
Describes a task attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.
JSON representation |
{
"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 .
} |
Fields |
key |
string
The attribute's key. Keys may not contain the colon character (:).
|
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: |
stringValue |
string
String typed attribute value.
|
boolValue |
boolean
Boolean typed attribute value.
|
numberValue |
number
Double typed attribute value.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-18 UTC."],[[["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."]]],[]]