class UsersDataset extends Resource (View source)

The "dataset" collection of methods.

Typical usage is:

 $fitnessService = new Google\Service\Fitness(...);
 $dataset = $fitnessService->users_dataset;

Methods

aggregate(string $userId, AggregateRequest $postBody, array $optParams = [])

Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.

Details

AggregateResponse aggregate(string $userId, AggregateRequest $postBody, array $optParams = [])

Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.

(dataset.aggregate)

Parameters

string $userId

Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

AggregateRequest $postBody
array $optParams

Optional parameters.

Return Value

AggregateResponse

Exceptions

Exception