aggregate
public Fitness.Users.Dataset.Aggregate aggregate(java.lang.String userId,
AggregateRequest content)
throws java.io.IOException
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.
Create a request for the method "dataset.aggregate".
This request holds the parameters needed by the fitness server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
userId - Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.
content - the AggregateRequest
- Returns:
- the request
- Throws:
java.io.IOException