REST Resource: stats.index.datasources
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: GetDataSourceIndexStatsResponse
שדות |
stats[] |
object (DataSourceIndexStats )
סיכום של מספר הפריטים שנוספו לאינדקס, אחד לכל יום בטווח המבוקש.
|
averageIndexedItemCount |
string (int64 format)
מספר הפריטים הממוצע בטווח התאריכים שצוין, שעבורו מתבצע החיוב.
|
DataSourceIndexStats
צבירת פריטים לפי קוד סטטוס נכון לתאריך שצוין.
שדות |
date |
object (Date )
התאריך שבו חושבו הנתונים הסטטיסטיים של האינדקס. אם תאריך הבקשה הוא לא התאריך הנוכחי, המערכת מחזירה את הנתונים הסטטיסטיים שחושבו ביום העוקב. במקרה כזה, הנתונים הסטטיסטיים מחושבים בסביבות חצות. אם תאריך הבקשה הוא התאריך הנוכחי, המערכת תחזיר נתונים סטטיסטיים בזמן אמת.
|
itemCountByStatus[] |
object (ItemCountByStatus )
מספר הפריטים שנצברו לפי קוד סטטוס.
|
ItemCountByStatus
ייצוג ב-JSON |
{
"statusCode": enum (ItemStatus.Code ),
"count": string,
"indexedItemsCount": string
} |
שדות |
statusCode |
enum (ItemStatus.Code )
הסטטוס של הפריטים.
|
count |
string (int64 format)
מספר הפריטים שתואמים לקוד הסטטוס.
|
indexedItemsCount |
string (int64 format)
מספר הפריטים שתואמים לקוד הסטטוס שבו מתבצע החיוב. הנתון הזה לא כולל פריטים של קונטיינרים וירטואליים במספר הכולל. הספירה הזו לא תחול על פריטים עם קוד סטטוס ERROR או NEW_ITEM.
|
Methods |
|
הצגת נתונים סטטיסטיים של פריטים שנוספו לאינדקס עבור מקור נתונים יחיד. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# REST Resource: stats.index.datasources\n\n- [Resource: GetDataSourceIndexStatsResponse](#GetDataSourceIndexStatsResponse)\n - [JSON representation](#GetDataSourceIndexStatsResponse.SCHEMA_REPRESENTATION)\n- [DataSourceIndexStats](#DataSourceIndexStats)\n - [JSON representation](#DataSourceIndexStats.SCHEMA_REPRESENTATION)\n- [ItemCountByStatus](#ItemCountByStatus)\n - [JSON representation](#ItemCountByStatus.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GetDataSourceIndexStatsResponse\n-----------------------------------------\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"stats\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.index.datasources#DataSourceIndexStats) } ], \"averageIndexedItemCount\": string } ``` |\n\n| Fields ||\n|---------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `stats[]` | `object (`[DataSourceIndexStats](/workspace/cloud-search/docs/reference/rest/v1/stats.index.datasources#DataSourceIndexStats)`)` Summary of indexed item counts, one for each day in the requested range. |\n| `averageIndexedItemCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Average item count for the given date range for which billing is done. |\n\nDataSourceIndexStats\n--------------------\n\nAggregation of items by status code as of the specified date.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/workspace/cloud-search/docs/reference/rest/v1/Date) }, \"itemCountByStatus\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.index.datasources#ItemCountByStatus) } ] } ``` |\n\n| Fields ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` The date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned. |\n| `itemCountByStatus[]` | `object (`[ItemCountByStatus](/workspace/cloud-search/docs/reference/rest/v1/stats.index.datasources#ItemCountByStatus)`)` Number of items aggregrated by status code. |\n\nItemCountByStatus\n-----------------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"statusCode\": enum (/workspace/cloud-search/docs/reference/rest/v1/ItemStatus.Code), \"count\": string, \"indexedItemsCount\": string } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `statusCode` | `enum (`[ItemStatus.Code](/workspace/cloud-search/docs/reference/rest/v1/ItemStatus.Code)`)` Status of the items. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of items matching the status code. |\n| `indexedItemsCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of items matching the status code for which billing is done. This excludes virtual container items from the total count. This count would not be applicable for items with ERROR or NEW_ITEM status code. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|--------------------------------------------------------|\n| ### [get](/workspace/cloud-search/docs/reference/rest/v1/stats.index.datasources/get) | Gets indexed item statistics for a single data source. |"]]