試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
DimensionValue
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
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 .
} |
欄位 |
聯集欄位 one_value 。某種維度值 (one_value ) 只能採用下列其中一種設定: |
value |
string
如果維度類型是字串,則做為字串的值。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]