SortOrder
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
SORT_ORDER_UNSPECIFIED |
未设置的字段的默认值。请勿使用。 |
ASCENDING |
按升序对维度值或指标值进行排序。 |
DESCENDING |
按降序对维度值或指标值进行排序。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):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. |"]]