Class Exercise
An exercise that stores information about a physical activity.
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class Exercise : IDirectResponseSchema
Properties
ActiveDuration
Optional. Duration excluding pauses.
Declaration
[JsonProperty("activeDuration")]
public virtual object ActiveDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Represents the timestamp of the creation of the exercise.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Required. Exercise display name.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExerciseEvents
Optional. Exercise events that happen during an exercise, such as pause & restarts.
Declaration
[JsonProperty("exerciseEvents")]
public virtual IList<ExerciseEvent> ExerciseEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ExerciseEvent> |
ExerciseMetadata
Optional. Additional exercise metadata.
Declaration
[JsonProperty("exerciseMetadata")]
public virtual ExerciseMetadata ExerciseMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| ExerciseMetadata |
ExerciseType
Required. The type of activity performed during an exercise.
Declaration
[JsonProperty("exerciseType")]
public virtual string ExerciseType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Interval
Required. Observed exercise interval
Declaration
[JsonProperty("interval")]
public virtual SessionTimeInterval Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| SessionTimeInterval |
MetricsSummary
Required. Summary metrics for this exercise ( )
Declaration
[JsonProperty("metricsSummary")]
public virtual MetricsSummary MetricsSummary { get; set; }
Property Value
| Type | Description |
|---|---|
| MetricsSummary |
Notes
Optional. Standard free-form notes captured at manual logging.
Declaration
[JsonProperty("notes")]
public virtual string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SplitSummaries
Optional. Laps or splits recorded within an exercise. Laps could be split based on distance or other criteria (duration, etc.) Laps should not be overlapping with each other.
Declaration
[JsonProperty("splitSummaries")]
public virtual IList<SplitSummary> SplitSummaries { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<SplitSummary> |
Splits
Optional. The default split is 1 km or 1 mile. - if the movement distance is less than the default, then there are no splits - if the movement distance is greater than or equal to the default, then we have splits
Declaration
[JsonProperty("splits")]
public virtual IList<SplitSummary> Splits { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<SplitSummary> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. This is the timestamp of the last update to the exercise.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |