Method: stats.getSearchapplication

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

object (Date)

All available stats from startDate to endDate are returned. endDate - startDate <= 6 months.

endDate

object (Date)

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 (CustomerSearchApplicationStats)
    }
  ],
  "averageSearchApplicationCount": string
}
Fields
stats[]

object (CustomerSearchApplicationStats)

Search Application stats by date.

averageSearchApplicationCount

string (int64 format)

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 (Date)
  },
  "count": string
}
Fields
date

object (Date)

The date for which search application stats were calculated.

count

string (int64 format)

The count of search applications for the date.