SortOrder
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wartości w polu enum |
SORT_ORDER_UNSPECIFIED |
Wartość domyślna nieskonfigurowanego pola. Nie używać. |
ASCENDING |
Sortuj wartość wymiaru lub danych w kolejności rosnącej. |
DESCENDING |
Posortuj wartość wymiaru lub danych w kolejności malejącej. |
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-08-21 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-21 UTC."],[[["\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. |"]]