class Stats extends Resource (View source)

The "stats" collection of methods.

Typical usage is:

 $cloudsearchService = new Google\Service\CloudSearch(...);
 $stats = $cloudsearchService->stats;

Methods

getIndex(array $optParams = [])

Gets indexed item statistics aggreggated across all data sources. This API only returns statistics for previous dates; it doesn't return statistics for the current day. Note: This API requires a standard end user account to execute. (stats.getIndex)

getQuery(array $optParams = [])

Get the query statistics for customer. Note: This API requires a standard end user account to execute. (stats.getQuery)

getSearchapplication(array $optParams = [])

Get search application stats for customer. Note: This API requires a standard end user account to execute. (stats.getSearchapplication)

getSession(array $optParams = [])

Get the # of search sessions, % of successful sessions with a click query statistics for customer. Note: This API requires a standard end user account to execute. (stats.getSession)

getUser(array $optParams = [])

Get the users statistics for customer. Note: This API requires a standard end user account to execute. (stats.getUser)

Details

GetCustomerIndexStatsResponse getIndex(array $optParams = [])

Gets indexed item statistics aggreggated across all data sources. This API only returns statistics for previous dates; it doesn't return statistics for the current day. Note: This API requires a standard end user account to execute. (stats.getIndex)

Parameters

array $optParams

Optional parameters.

Return Value

GetCustomerIndexStatsResponse

Exceptions

Exception

GetCustomerQueryStatsResponse getQuery(array $optParams = [])

Get the query statistics for customer. Note: This API requires a standard end user account to execute. (stats.getQuery)

Parameters

array $optParams

Optional parameters.

Return Value

GetCustomerQueryStatsResponse

Exceptions

Exception

GetCustomerSearchApplicationStatsResponse getSearchapplication(array $optParams = [])

Get search application stats for customer. Note: This API requires a standard end user account to execute. (stats.getSearchapplication)

Parameters

array $optParams

Optional parameters.

Return Value

GetCustomerSearchApplicationStatsResponse

Exceptions

Exception

GetCustomerSessionStatsResponse getSession(array $optParams = [])

Get the # of search sessions, % of successful sessions with a click query statistics for customer. Note: This API requires a standard end user account to execute. (stats.getSession)

Parameters

array $optParams

Optional parameters.

Return Value

GetCustomerSessionStatsResponse

Exceptions

Exception

GetCustomerUserStatsResponse getUser(array $optParams = [])

Get the users statistics for customer. Note: This API requires a standard end user account to execute. (stats.getUser)

Parameters

array $optParams

Optional parameters.

Return Value

GetCustomerUserStatsResponse

Exceptions

Exception