class OrganizationsEnvironmentsStats extends Resource (View source)

The "stats" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $stats = $apigeeService->organizations_environments_stats;

Methods

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

Retrieve metrics grouped by dimensions. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the stats API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range. (stats.get)

Details

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

Retrieve metrics grouped by dimensions. The types of metrics you can retrieve include traffic, message counts, API call latency, response size, and cache hits and counts. Dimensions let you view metrics in meaningful groups. You can optionally pass dimensions as path parameters to the stats API. If dimensions are not specified, the metrics are computed on the entire set of data for the given time range. (stats.get)

Parameters

string $name

Required. Resource name for which the interactive query will be executed. Use the following format in your request: organizations/{org}/environments/{env}/stats/{dimensions} Dimensions let you view metrics in meaningful groupings, such as apiproxy or target_host. The value of dimensions should be a comma-separated list, as shown below: organizations/{org}/environments/{env}/stats/apiproxy,request_verb

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Stats

Exceptions

Exception