public class Fitness.Users.DataSources.Datasets extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Fitness.Users.DataSources.Datasets.Delete |
class |
Fitness.Users.DataSources.Datasets.Get |
class |
Fitness.Users.DataSources.Datasets.Patch |
| Constructor and Description |
|---|
Datasets() |
| Modifier and Type | Method and Description |
|---|---|
Fitness.Users.DataSources.Datasets.Delete |
delete(String userId,
String dataSourceId,
String datasetId)
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.
|
Fitness.Users.DataSources.Datasets.Get |
get(String userId,
String dataSourceId,
String datasetId)
Returns a dataset containing all data points whose start and end times overlap with the specified
range of the dataset minimum start time and maximum end time.
|
Fitness.Users.DataSources.Datasets.Patch |
patch(String userId,
String dataSourceId,
String datasetId,
Dataset content)
Adds data points to a dataset.
|
public Fitness.Users.DataSources.Datasets.Delete delete(String userId, String dataSourceId, String datasetId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.dataSourceId - The data stream ID of the data source that created the dataset.datasetId - 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.IOExceptionpublic Fitness.Users.DataSources.Datasets.Get get(String userId, String dataSourceId, String datasetId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.dataSourceId - The data stream ID of the data source that created the dataset.datasetId - 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.IOExceptionpublic Fitness.Users.DataSources.Datasets.Patch patch(String userId, String dataSourceId, String datasetId, Dataset content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.dataSourceId - The data stream ID of the data source that created the dataset.datasetId - This field is not used, and can be safely omitted.content - the DatasetIOExceptionCopyright © 2011–2021 Google. All rights reserved.