REST Resource: stats.query.searchapplications
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:GetSearchApplicationQueryStatsResponse
用于获取指定日期范围内搜索应用的查询统计信息的响应格式。
SearchApplicationQueryStats
QueryCountByStatus
JSON 表示法 |
{
"statusCode": integer,
"count": string
} |
字段 |
statusCode |
integer
这表示 HTTP 状态代码。
|
count |
string (int64 format)
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# REST Resource: stats.query.searchapplications\n\n- [Resource: GetSearchApplicationQueryStatsResponse](#GetSearchApplicationQueryStatsResponse)\n - [JSON representation](#GetSearchApplicationQueryStatsResponse.SCHEMA_REPRESENTATION)\n- [SearchApplicationQueryStats](#SearchApplicationQueryStats)\n - [JSON representation](#SearchApplicationQueryStats.SCHEMA_REPRESENTATION)\n- [QueryCountByStatus](#QueryCountByStatus)\n - [JSON representation](#QueryCountByStatus.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GetSearchApplicationQueryStatsResponse\n------------------------------------------------\n\nResponse format for getting query stats for a search application between given dates.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"stats\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#SearchApplicationQueryStats) } ], \"totalQueryCount\": string } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `stats[]` | `object (`[SearchApplicationQueryStats](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#SearchApplicationQueryStats)`)` Query stats per date for a search application. |\n| `totalQueryCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total successful query count (status code 200) for the given date range. |\n\nSearchApplicationQueryStats\n---------------------------\n\nSearch application level query stats per date\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/workspace/cloud-search/docs/reference/rest/v1/Date) }, \"queryCountByStatus\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#QueryCountByStatus) } ] } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned. |\n| `queryCountByStatus[]` | `object (`[QueryCountByStatus](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#QueryCountByStatus)`)` |\n\nQueryCountByStatus\n------------------\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"statusCode\": integer, \"count\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------|\n| `statusCode` | `integer` This represents the http status code. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------|--------------------------------------------------|\n| ### [get](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications/get) | Get the query statistics for search application. |"]]