gogol-fitness-0.4.0: Google Fitness SDK.

Copyright(c) 2015-2016 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.DataSources.DataSets.Get

Contents

Description

Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.

See: Fitness Reference for fitness.users.dataSources.datasets.get.

Synopsis

REST Resource

type UsersDataSourcesDataSetsGetResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "limit" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSet)))))))))) Source #

A resource alias for fitness.users.dataSources.datasets.get method which the UsersDataSourcesDataSetsGet request conforms to.

Creating a Request

usersDataSourcesDataSetsGet Source #

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

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

data UsersDataSourcesDataSetsGet Source #

Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.

See: usersDataSourcesDataSetsGet smart constructor.

Instances
Eq UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

Data UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersDataSourcesDataSetsGet -> c UsersDataSourcesDataSetsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersDataSourcesDataSetsGet #

toConstr :: UsersDataSourcesDataSetsGet -> Constr #

dataTypeOf :: UsersDataSourcesDataSetsGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersDataSourcesDataSetsGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersDataSourcesDataSetsGet) #

gmapT :: (forall b. Data b => b -> b) -> UsersDataSourcesDataSetsGet -> UsersDataSourcesDataSetsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersDataSourcesDataSetsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersDataSourcesDataSetsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersDataSourcesDataSetsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersDataSourcesDataSetsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataSetsGet -> m UsersDataSourcesDataSetsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataSetsGet -> m UsersDataSourcesDataSetsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataSetsGet -> m UsersDataSourcesDataSetsGet #

Show UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

Generic UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

Associated Types

type Rep UsersDataSourcesDataSetsGet :: Type -> Type #

GoogleRequest UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

type Rep UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

type Rep UsersDataSourcesDataSetsGet = D1 (MetaData "UsersDataSourcesDataSetsGet" "Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get" "gogol-fitness-0.4.0-HKC94LjpKjvFQ4h3GWXPtC" False) (C1 (MetaCons "UsersDataSourcesDataSetsGet'" PrefixI True) ((S1 (MetaSel (Just "_udsdsgDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udsdsgUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_udsdsgDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_udsdsgLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_udsdsgPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

type Scopes UsersDataSourcesDataSetsGet = "https://www.googleapis.com/auth/fitness.activity.read" ': ("https://www.googleapis.com/auth/fitness.activity.write" ': ("https://www.googleapis.com/auth/fitness.blood_glucose.read" ': ("https://www.googleapis.com/auth/fitness.blood_glucose.write" ': ("https://www.googleapis.com/auth/fitness.blood_pressure.read" ': ("https://www.googleapis.com/auth/fitness.blood_pressure.write" ': ("https://www.googleapis.com/auth/fitness.body.read" ': ("https://www.googleapis.com/auth/fitness.body.write" ': ("https://www.googleapis.com/auth/fitness.body_temperature.read" ': ("https://www.googleapis.com/auth/fitness.body_temperature.write" ': ("https://www.googleapis.com/auth/fitness.location.read" ': ("https://www.googleapis.com/auth/fitness.location.write" ': ("https://www.googleapis.com/auth/fitness.nutrition.read" ': ("https://www.googleapis.com/auth/fitness.nutrition.write" ': ("https://www.googleapis.com/auth/fitness.oxygen_saturation.read" ': ("https://www.googleapis.com/auth/fitness.oxygen_saturation.write" ': ("https://www.googleapis.com/auth/fitness.reproductive_health.read" ': ("https://www.googleapis.com/auth/fitness.reproductive_health.write" ': ([] :: [Symbol]))))))))))))))))))
type Rs UsersDataSourcesDataSetsGet Source # 
Instance details

Defined in Network.Google.Resource.Fitness.Users.DataSources.DataSets.Get

Request Lenses

udsdsgDataSourceId :: Lens' UsersDataSourcesDataSetsGet Text Source #

The data stream ID of the data source that created the dataset.

udsdsgUserId :: Lens' UsersDataSourcesDataSetsGet Text Source #

Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.

udsdsgDataSetId :: Lens' UsersDataSourcesDataSetsGet Text Source #

Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers.

udsdsgLimit :: Lens' UsersDataSourcesDataSetsGet (Maybe Int32) Source #

If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be set in the dataset response.

udsdsgPageToken :: Lens' UsersDataSourcesDataSetsGet (Maybe Text) Source #

The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller than those in the previous partial response.