SortOrder
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
SORT_ORDER_UNSPECIFIED |
未設定欄位的預設值。請勿使用。 |
ASCENDING |
遞增排序維度值或指標值。 |
DESCENDING |
按遞減順序排序維度值或指標值。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eThe default value for sorting is \u003ccode\u003eSORT_ORDER_UNSPECIFIED\u003c/code\u003e but should not be used.\u003c/p\u003e\n"],["\u003cp\u003eSorting can be applied to either dimension values or metric values.\u003c/p\u003e\n"],["\u003cp\u003eTwo sorting options are available: \u003ccode\u003eASCENDING\u003c/code\u003e to sort values from lowest to highest and \u003ccode\u003eDESCENDING\u003c/code\u003e for the reverse.\u003c/p\u003e\n"]]],["The core content defines sorting options for data. `SORT_ORDER_UNSPECIFIED` is a placeholder for unset fields and should be avoided. `ASCENDING` sorts data values in increasing order, while `DESCENDING` sorts in decreasing order. These options apply to both dimension values and metric values within a dataset.\n"],null,["# SortOrder\n\nThe sorting order.\n\n| Enums ||\n|--------------------------|-----------------------------------------------------------|\n| `SORT_ORDER_UNSPECIFIED` | Default value for an unset field. Do not use. |\n| `ASCENDING` | Sort dimension value or metric value in ascending order. |\n| `DESCENDING` | Sort dimension value or metric value in descending order. |"]]