סידור לפי הסדר מגדיר איך השורות ימוינו בתשובה. לדוגמה, סידור השורות לפי ספירת גישה יורדת הוא סדר אחד, וסידור השורות לפי מחרוזת המדינה הוא שונה.
ייצוג JSON
{"desc": boolean,// Union field one_order_by can be only one of the following:"metric": {object (MetricOrderBy)},"dimension": {object (DimensionOrderBy)}// End of list of possible types for union field one_order_by.}
שדות
desc
boolean
אם True, הפונקציה ממיינת לפי סדר יורד. אם הערך הוא False או לא צוין, המיון הוא בסדר עולה.
שדה איחוד one_order_by. צריך לציין סוג אחד של הזמנה לפי עבור OrderBy. one_order_by יכול להיות רק אחת מהאפשרויות הבאות:
המדיניות הזו קובעת את הכלל לקביעת סדר הערכים של המאפיינים.
OrderType
כלל שלפיו יש לסדר את ערכי המאפיין של המחרוזת.
טיפוסים בני מנייה (enum)
ORDER_TYPE_UNSPECIFIED
לא צוין.
ALPHANUMERIC
מיון אלפאנומרי לפי נקודת קוד ב-Unicode. לדוגמה, המספר '2' < א' < X < ב' < "z".
CASE_INSENSITIVE_ALPHANUMERIC
מיון אלפאנומרי ללא תלות ברישיות לפי נקודה קוד Unicode של אותיות קטנות. לדוגמה, המספר '2' < א' < ב' < X < "z".
NUMERIC
ערכי המאפיינים יומרו למספרים לפני המיון. לדוגמה, במיון NUMERIC, '25' < '100', ובמיון ALPHANUMERIC, '100' < '25'. לכל ערכי המאפיינים הלא מספריים יש ערך הזמנה זהה מתחת לכל הערכים המספריים.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eOrderBys determine the sorting of rows in responses, based on metrics or dimensions.\u003c/p\u003e\n"],["\u003cp\u003eYou can sort by metrics (e.g., access count) or dimensions (e.g., country).\u003c/p\u003e\n"],["\u003cp\u003eSorting can be done in ascending or descending order, specified by the \u003ccode\u003edesc\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eDimension sorting offers different ordering options like alphanumeric, case-insensitive alphanumeric, and numeric, controlled by \u003ccode\u003eorderType\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content describes how to define row sorting in a response using \"OrderBys.\" Sorting can be ascending or descending, specified by the `desc` field. Rows are sorted by either a `metric` or a `dimension`, selected using the `one_order_by` field. `MetricOrderBy` uses a `metricName`. `DimensionOrderBy` uses a `dimensionName` and an `orderType` like `ALPHANUMERIC` or `NUMERIC`. The order type defines the rule for string dimension ordering.\n"],null,[]]