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 |
Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.
See: Fitness Reference for fitness.users.dataSources.datasets.delete
.
Synopsis
- type UsersDataSourcesDataSetsDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "modifiedTimeMillis" (Textual Int64) :> (QueryParam "currentTimeMillis" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))))
- usersDataSourcesDataSetsDelete :: Text -> Text -> Text -> UsersDataSourcesDataSetsDelete
- data UsersDataSourcesDataSetsDelete
- udsdsdDataSourceId :: Lens' UsersDataSourcesDataSetsDelete Text
- udsdsdUserId :: Lens' UsersDataSourcesDataSetsDelete Text
- udsdsdDataSetId :: Lens' UsersDataSourcesDataSetsDelete Text
- udsdsdModifiedTimeMillis :: Lens' UsersDataSourcesDataSetsDelete (Maybe Int64)
- udsdsdCurrentTimeMillis :: Lens' UsersDataSourcesDataSetsDelete (Maybe Int64)
REST Resource
type UsersDataSourcesDataSetsDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "modifiedTimeMillis" (Textual Int64) :> (QueryParam "currentTimeMillis" (Textual Int64) :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))))) Source #
A resource alias for fitness.users.dataSources.datasets.delete
method which the
UsersDataSourcesDataSetsDelete
request conforms to.
Creating a Request
usersDataSourcesDataSetsDelete Source #
Creates a value of UsersDataSourcesDataSetsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDataSourcesDataSetsDelete Source #
Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.
See: usersDataSourcesDataSetsDelete
smart constructor.
Instances
Request Lenses
udsdsdDataSourceId :: Lens' UsersDataSourcesDataSetsDelete Text Source #
The data stream ID of the data source that created the dataset.
udsdsdUserId :: Lens' UsersDataSourcesDataSetsDelete Text Source #
Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.
udsdsdDataSetId :: Lens' UsersDataSourcesDataSetsDelete Text Source #
Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: "startTime-endTime" where startTime and endTime are 64 bit integers.
udsdsdModifiedTimeMillis :: Lens' UsersDataSourcesDataSetsDelete (Maybe Int64) Source #
When the operation was performed on the client.
udsdsdCurrentTimeMillis :: Lens' UsersDataSourcesDataSetsDelete (Maybe Int64) Source #
The client's current time in milliseconds since epoch.