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 |
Queries for user's data point changes for a particular data source.
See: Fitness Reference for fitness.users.dataSources.dataPointChanges.list
.
Synopsis
- type UsersDataSourcesDataPointChangesListResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> ("dataPointChanges" :> (QueryParam "limit" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataPointChangesResponse)))))))))
- usersDataSourcesDataPointChangesList :: Text -> Text -> UsersDataSourcesDataPointChangesList
- data UsersDataSourcesDataPointChangesList
- udsdpclDataSourceId :: Lens' UsersDataSourcesDataPointChangesList Text
- udsdpclUserId :: Lens' UsersDataSourcesDataPointChangesList Text
- udsdpclLimit :: Lens' UsersDataSourcesDataPointChangesList (Maybe Int32)
- udsdpclPageToken :: Lens' UsersDataSourcesDataPointChangesList (Maybe Text)
REST Resource
type UsersDataSourcesDataPointChangesListResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> ("dataPointChanges" :> (QueryParam "limit" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDataPointChangesResponse))))))))) Source #
A resource alias for fitness.users.dataSources.dataPointChanges.list
method which the
UsersDataSourcesDataPointChangesList
request conforms to.
Creating a Request
usersDataSourcesDataPointChangesList Source #
Creates a value of UsersDataSourcesDataPointChangesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDataSourcesDataPointChangesList Source #
Queries for user's data point changes for a particular data source.
See: usersDataSourcesDataPointChangesList
smart constructor.
Instances
Eq UsersDataSourcesDataPointChangesList Source # | |
Data UsersDataSourcesDataPointChangesList Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.DataPointChanges.List gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersDataSourcesDataPointChangesList -> c UsersDataSourcesDataPointChangesList # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersDataSourcesDataPointChangesList # toConstr :: UsersDataSourcesDataPointChangesList -> Constr # dataTypeOf :: UsersDataSourcesDataPointChangesList -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersDataSourcesDataPointChangesList) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersDataSourcesDataPointChangesList) # gmapT :: (forall b. Data b => b -> b) -> UsersDataSourcesDataPointChangesList -> UsersDataSourcesDataPointChangesList # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersDataSourcesDataPointChangesList -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersDataSourcesDataPointChangesList -> r # gmapQ :: (forall d. Data d => d -> u) -> UsersDataSourcesDataPointChangesList -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersDataSourcesDataPointChangesList -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataPointChangesList -> m UsersDataSourcesDataPointChangesList # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataPointChangesList -> m UsersDataSourcesDataPointChangesList # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDataSourcesDataPointChangesList -> m UsersDataSourcesDataPointChangesList # | |
Show UsersDataSourcesDataPointChangesList Source # | |
Generic UsersDataSourcesDataPointChangesList Source # | |
GoogleRequest UsersDataSourcesDataPointChangesList Source # | |
type Rep UsersDataSourcesDataPointChangesList Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.DataPointChanges.List type Rep UsersDataSourcesDataPointChangesList = D1 (MetaData "UsersDataSourcesDataPointChangesList" "Network.Google.Resource.Fitness.Users.DataSources.DataPointChanges.List" "gogol-fitness-0.4.0-HKC94LjpKjvFQ4h3GWXPtC" False) (C1 (MetaCons "UsersDataSourcesDataPointChangesList'" PrefixI True) ((S1 (MetaSel (Just "_udsdpclDataSourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_udsdpclUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_udsdpclLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_udsdpclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) | |
type Scopes UsersDataSourcesDataPointChangesList Source # | |
Defined in Network.Google.Resource.Fitness.Users.DataSources.DataPointChanges.List type Scopes UsersDataSourcesDataPointChangesList = "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 UsersDataSourcesDataPointChangesList Source # | |
Request Lenses
udsdpclDataSourceId :: Lens' UsersDataSourcesDataPointChangesList Text Source #
The data stream ID of the data source that created the dataset.
udsdpclUserId :: Lens' UsersDataSourcesDataPointChangesList Text Source #
List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.
udsdpclLimit :: Lens' UsersDataSourcesDataPointChangesList (Maybe Int32) Source #
If specified, no more than this many data point changes will be included in the response.
udsdpclPageToken :: Lens' UsersDataSourcesDataPointChangesList (Maybe Text) Source #
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.