gogol-fitness-0.5.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.Get

Contents

Description

Returns the specified data source.

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

Synopsis

REST Resource

type UsersDataSourcesGetResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource)))))) Source #

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

Creating a Request

usersDataSourcesGet Source #

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

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

data UsersDataSourcesGet Source #

Returns the specified data source.

See: usersDataSourcesGet smart constructor.

Instances
Eq UsersDataSourcesGet Source # 
Instance details

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

Data UsersDataSourcesGet Source # 
Instance details

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

Methods

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

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

toConstr :: UsersDataSourcesGet -> Constr #

dataTypeOf :: UsersDataSourcesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersDataSourcesGet Source # 
Instance details

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

Generic UsersDataSourcesGet Source # 
Instance details

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

Associated Types

type Rep UsersDataSourcesGet :: Type -> Type #

GoogleRequest UsersDataSourcesGet Source # 
Instance details

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

Associated Types

type Rs UsersDataSourcesGet :: Type #

type Scopes UsersDataSourcesGet :: [Symbol] #

type Rep UsersDataSourcesGet Source # 
Instance details

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

type Rep UsersDataSourcesGet = D1 (MetaData "UsersDataSourcesGet" "Network.Google.Resource.Fitness.Users.DataSources.Get" "gogol-fitness-0.5.0-8nYJc95RdWj7JtAwIDYEuQ" False) (C1 (MetaCons "UsersDataSourcesGet'" PrefixI True) (S1 (MetaSel (Just "_udsgDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udsgUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersDataSourcesGet Source # 
Instance details

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

type Scopes UsersDataSourcesGet = "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 UsersDataSourcesGet Source # 
Instance details

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

Request Lenses

udsgDataSourceId :: Lens' UsersDataSourcesGet Text Source #

The data stream ID of the data source to retrieve.

udsgUserId :: Lens' UsersDataSourcesGet Text Source #

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