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 |
Network.Google.Resource.Fitness.Users.DataSources.Delete
Description
Deletes the specified data source. The request will fail if the data source contains any data points.
See: Fitness Reference for fitness.users.dataSources.delete
.
Synopsis
- type UsersDataSourcesDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] DataSource))))))
- usersDataSourcesDelete :: Text -> Text -> UsersDataSourcesDelete
- data UsersDataSourcesDelete
- udsdDataSourceId :: Lens' UsersDataSourcesDelete Text
- udsdUserId :: Lens' UsersDataSourcesDelete Text
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 #
Arguments
:: Text | |
-> Text | |
-> UsersDataSourcesDelete |
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:
data UsersDataSourcesDelete Source #
Deletes the specified data source. The request will fail if the data source contains any data points.
See: usersDataSourcesDelete
smart constructor.
Instances
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.