google_api_fitness v0.17.0 GoogleApi.Fitness.V1.Model.Dataset View Source

A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset.

Attributes

  • dataSourceId (type: String.t, default: nil) - The data stream ID of the data source that created the points in this dataset.
  • maxEndTimeNs (type: String.t, default: nil) - The largest end time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the second part of the dataset identifier.
  • minStartTimeNs (type: String.t, default: nil) - The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier.
  • nextPageToken (type: String.t, default: nil) - This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset.
  • point (type: list(GoogleApi.Fitness.V1.Model.DataPoint.t), default: nil) - A partial list of data points contained in the dataset, ordered by largest endTimeNanos first. This list is considered complete when retrieving a small dataset and partial when patching a dataset or retrieving a dataset that is too large to include in a single response.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Fitness.V1.Model.Dataset{
  dataSourceId: String.t(),
  maxEndTimeNs: String.t(),
  minStartTimeNs: String.t(),
  nextPageToken: String.t(),
  point: [GoogleApi.Fitness.V1.Model.DataPoint.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.