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.DataSources.Delete

Contents

Description

Delete the data source if there are no datapoints associated with it

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

Synopsis

REST Resource

type UsersDataSourcesDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` DataSource)))))) Source

A resource alias for fitness.users.dataSources.delete method which the UsersDataSourcesDelete request conforms to.

Creating a Request

usersDataSourcesDelete Source

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

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

Request Lenses

udsdDataSourceId :: Lens' UsersDataSourcesDelete Text Source

The data stream ID of the data source to delete.

udsdUserId :: Lens' UsersDataSourcesDelete Text Source

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