gogol-fitness-0.0.1: Google Fitness SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Fitness.Users.DataSet.Aggregate

Contents

Description

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 aggreated into exactly one bucket type per request.

See: Fitness Reference for fitness.users.dataset.aggregate.

Synopsis

REST Resource

type UsersDataSetAggregateResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataset:aggregate" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AggregateRequest :> Post `[JSON]` AggregateResponse)))))) Source

A resource alias for fitness.users.dataset.aggregate method which the UsersDataSetAggregate request conforms to.

Creating a Request

usersDataSetAggregate Source

Creates a value of UsersDataSetAggregate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersDataSetAggregate Source

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 aggreated into exactly one bucket type per request.

See: usersDataSetAggregate smart constructor.

Request Lenses

udsaUserId :: Lens' UsersDataSetAggregate Text Source

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