TaskAttribute
Describe un atributo de tarea como un par clave-valor. La longitud de la cadena "clave:valor" no puede superar los 256 caracteres.
Representación 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 .
} |
Campos |
key |
string
Es la clave del atributo. Las claves no pueden contener el carácter dos puntos (:).
|
Campo de unión task_attribute_value . El valor del atributo puede ser de tipo cadena, booleano o doble. Si no se establece ninguno, el valor de cadena de TaskAttribute se almacenará como la cadena vacía "". task_attribute_value puede ser solo uno de los siguientes: |
stringValue |
string
Valor del atributo escrito como cadena.
|
boolValue |
boolean
Valor de atributo de tipo booleano.
|
numberValue |
number
Valor de atributo escrito dos veces.
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-11-06 (UTC)
[null,null,["Última actualización: 2024-11-06 (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."]]],["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"]]