Method: stats.session.searchapplications.get
获取搜索会话的数量,即包含搜索应用的点击查询统计信息的成功会话占比。
注意:执行此 API 需要标准的最终用户帐号。
HTTP 请求
GET https://cloudsearch.googleapis.com/v1/stats/session/{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。"],[[["Retrieve session statistics, such as the number of search sessions and click-through rates, for a specified search application using this API."],["The API requires a standard end user account and uses a `GET` request to `https://cloudsearch.googleapis.com/v1/stats/session/{name=searchapplications/*}`."],["You can specify a date range (`fromDate` and `toDate`) within the past year to filter the session statistics returned."],["Proper authorization is needed using one of the provided OAuth scopes: `https://www.googleapis.com/auth/cloud_search.stats.indexing`, `https://www.googleapis.com/auth/cloud_search.stats`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]