TaskAttribute

  • 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.

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.