TaskAttribute
Descreve um atributo de tarefa como um par de chave-valor. O comprimento da string "chave:valor" não pode exceder 256 caracteres.
Representação 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
A chave do atributo. As chaves não podem conter o caractere dois-pontos (:).
|
Campo de união task_attribute_value . O valor do atributo pode ser do tipo string, booleano ou duplo. Se nenhum deles for definido, o string_value do TaskAttribute será armazenado como a string vazia "". task_attribute_value só pode ser um dos seguintes: |
stringValue |
string
Valor do atributo tipado de string.
|
boolValue |
boolean
Valor do atributo tipado booleano.
|
numberValue |
number
Valor do atributo com digitação dupla.
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-11-06 UTC.
[null,null,["Última atualização 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"]]