Value
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Los datos en un valor de configuración.
Representación JSON |
{
// Union field value can be only one of the following:
"booleanValue": boolean,
"stringValue": string,
"stringSetValue": {
object (StringSet )
}
// End of list of possible types for union field value .
} |
Campos |
Campo de unión value . Selecciona el tipo de datos y el valor asociado. Las direcciones (value ) solo pueden ser una de las siguientes opciones: |
booleanValue |
boolean
Define este valor como un valor booleano.
|
stringValue |
string
Define este valor como un valor de string.
|
stringSetValue |
object (StringSet )
Define este valor como un StringSet.
|
StringSet
Un valor de conjunto de strings que puede contener un conjunto de strings. La longitud máxima de cada string es de 60 caracteres y puede haber un máximo de 50 strings en el conjunto.
Representación JSON |
{
"values": [
string
]
} |
Campos |
values[] |
string
Las cuerdas en el conjunto
|
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: 2023-05-25 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2023-05-25 (UTC)"],[[["This documentation details the structure and types of data that can be stored in a setting value."],["A setting value can hold a boolean, a string, or a set of strings (StringSet)."],["StringSets have limitations: a maximum of 50 strings, with each string having a maximum length of 60 characters."],["The JSON representation for each data type (boolean, string, StringSet) is provided for clarity."]]],["The document outlines data types within a setting value, which can be a boolean, a string, or a StringSet. A StringSet is a collection of strings, each up to 60 characters long, with a maximum of 50 strings per set. The JSON representation for the setting value uses a union field `value` to specify one of these types. The StringSet's JSON uses an array `values` to list the strings.\n"]]