Method: stats.query.searchapplications.get
获取搜索应用的查询统计信息。
注意:执行此 API 需要标准的最终用户帐号。
HTTP 请求
GET https://cloudsearch.googleapis.com/v1/stats/query/{name=searchapplications/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
搜索应用查询统计信息的资源 ID,采用以下格式:searchapplications/{applicationId}
|
查询参数
参数 |
fromDate |
object (Date )
返回从 fromDate 到 toDate 的所有可用统计信息。fromDate 应在一年内,并且 toDate >= fromDate。
|
toDate |
object (Date )
|
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud_search.stats.indexing
https://www.googleapis.com/auth/cloud_search.stats
https://www.googleapis.com/auth/cloud_search
有关详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-03。
[null,null,["最后更新时间 (UTC):2024-09-03。"],[[["Retrieves query statistics for a specified search application using a GET request."],["Requires a standard end user account and utilizes path and query parameters for customization."],["Request body should be empty, while the response body contains query statistics data if successful."],["Needs authorization with specific OAuth scopes like `cloud_search.stats.indexing` or `cloud_search`."]]],[]]