Teste o servidor MCP do Google Analytics. Instale no
GitHub e confira o
anúncio para mais detalhes.
DimensionValue
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Representação JSON |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value .
} |
Campos |
Campo de união one_value . Um tipo de valor de dimensão one_value pode ser apenas um destes: |
value |
string
Valor como uma string, se o tipo de dimensão for uma string.
|
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 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThis documentation describes the JSON representation of a dimension's value within a data structure.\u003c/p\u003e\n"],["\u003cp\u003eA dimension value can be represented as a string, indicated by the "value" field in the JSON object.\u003c/p\u003e\n"],["\u003cp\u003eThe "one_value" field acts as a union, accepting only one type of value, which in this case is the string representation of the dimension.\u003c/p\u003e\n"]]],["The document describes a dimension value represented in JSON. A dimension value uses a union field called `one_value`. This field can only contain a single value, which is a string. The string value is stored in the field named `value`, and this field is used when the dimension type is explicitly a string.\n"],null,["# DimensionValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe value of a dimension.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `one_value` can be only one of the following: \"value\": string // End of list of possible types for union field `one_value`. } ``` |\n\n| Fields ||\n|---------|---------------------------------------------------------------|\n| Union field `one_value`. One kind of dimension value `one_value` can be only one of the following: ||\n| `value` | `string` Value as a string if the dimension type is a string. |"]]