取得搜尋應用程式的查詢統計資料。
注意:執行這個 API 需要標準使用者帳戶。
HTTP 要求
GET https://cloudsearch.googleapis.com/v1/stats/query/{name=searchapplications/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
name |
搜尋應用程式查詢統計資料的資源 ID,格式如下:searchapplications/{applicationId} |
查詢參數
| 參數 | |
|---|---|
fromDate |
系統會傳回從 fromDate 到 toDate 之間的所有可用統計資料。fromDate 應在當年內,且 toDate 必須大於等於 fromDate。 |
toDate |
|
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 GetSearchApplicationQueryStatsResponse 的執行例項。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/cloud_search.stats.indexinghttps://www.googleapis.com/auth/cloud_search.statshttps://www.googleapis.com/auth/cloud_search
詳情請參閱授權指南。