class StatsIndexDatasources extends Resource (View source)

The "datasources" collection of methods.

Typical usage is:

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

Methods

get(string $name, array $optParams = [])

Gets indexed item statistics for a single data source. Note: This API requires a standard end user account to execute. (datasources.get)

Details

GetDataSourceIndexStatsResponse get(string $name, array $optParams = [])

Gets indexed item statistics for a single data source. Note: This API requires a standard end user account to execute. (datasources.get)

Parameters

string $name

The resource id of the data source to retrieve statistics for, in the following format: "datasources/{source_id}"

array $optParams

Optional parameters.

Return Value

GetDataSourceIndexStatsResponse

Exceptions

Exception