Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
DimensionValue
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zapis 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 .
} |
Pola |
Pole sumy one_value . Jeden rodzaj wartości wymiaru one_value może być tylko jednym z tych rodzajów wartości: |
value |
string
Wartość w postaci ciągu znaków, jeśli typem wymiaru jest ciąg znaków.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]