class OrganizationsHostStats extends Resource (View source)

The "hostStats" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $hostStats = $apigeeService->organizations_hostStats;

Methods

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

Retrieve metrics grouped by dimensions in host level. 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. (hostStats.get)

Details

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

Retrieve metrics grouped by dimensions in host level. 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. (hostStats.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Stats

Exceptions

Exception