Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the specified data source.
See: Fitness Reference for fitness.users.dataSources.get
.
Synopsis
- type UsersDataSourcesGetResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource))))))
- usersDataSourcesGet :: Text -> Text -> UsersDataSourcesGet
- data UsersDataSourcesGet
- udsgDataSourceId :: Lens' UsersDataSourcesGet Text
- udsgUserId :: Lens' UsersDataSourcesGet Text
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
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 # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.Get (==) :: UsersDataSourcesGet -> UsersDataSourcesGet -> Bool # (/=) :: UsersDataSourcesGet -> UsersDataSourcesGet -> Bool # | |
Data UsersDataSourcesGet Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.Get 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 # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.Get showsPrec :: Int -> UsersDataSourcesGet -> ShowS # show :: UsersDataSourcesGet -> String # showList :: [UsersDataSourcesGet] -> ShowS # | |
Generic UsersDataSourcesGet Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.Get type Rep UsersDataSourcesGet :: Type -> Type # from :: UsersDataSourcesGet -> Rep UsersDataSourcesGet x # to :: Rep UsersDataSourcesGet x -> UsersDataSourcesGet # | |
GoogleRequest UsersDataSourcesGet Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.Get type Rs UsersDataSourcesGet :: Type # type Scopes UsersDataSourcesGet :: [Symbol] # | |
type Rep UsersDataSourcesGet Source # | |
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 # | |
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 # | |
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.