- HTTP request
- Query parameters
- Request body
- Response body
- Authorization Scopes
- CustomerSearchApplicationStats
- Try it!
Get search application stats for customer. Note: This API requires a standard end user account to execute.
HTTP request
GET https://cloudsearch.googleapis.com/v1/stats/searchapplication
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
startDate |
All available stats from startDate to endDate are returned. endDate - startDate <= 6 months. |
endDate |
End date upto which stats are going to be returned. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response format for search application stats for a customer.
JSON representation |
---|
{
"stats": [
{
object ( |
Fields | |
---|---|
stats[] |
Search Application stats by date. |
averageSearchApplicationCount |
Average search application count for the given date range. |
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud_search.stats.indexing
https://www.googleapis.com/auth/cloud_search.stats
https://www.googleapis.com/auth/cloud_search
For more information, see the Authorization guide.
CustomerSearchApplicationStats
Search Application stats for a customer for the given date.
JSON representation |
---|
{
"date": {
object ( |
Fields | |
---|---|
date |
The date for which search application stats were calculated. |
count |
The count of search applications for the date. |