Class Settings
Settings details.
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class Settings : IDirectResponseSchema
Properties
AutoStrideEnabled
Optional. True if the user's stride length is determined automatically. Updates to this field are currently not supported.
Declaration
[JsonProperty("autoStrideEnabled")]
public virtual bool? AutoStrideEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DistanceUnit
Optional. The measurement unit defined in the user's account settings. Updates to this field are currently not supported.
Declaration
[JsonProperty("distanceUnit")]
public virtual string DistanceUnit { 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 |
FoodLanguageCode
Output only. The food language code derived from the user's food database. Possible values: 'en-US',
'en-GB', 'de-DE', 'es-ES', 'fr-FR', 'zh-CN', 'zh-TW', 'ja-JP', 'en-AU', 'en-CA',
'it-IT', 'ko-KR', 'es-MX', 'en-IN', 'en-SG', 'en-PH', 'en-IE', 'fr-CA'. Updates to this
field are currently not supported.
Declaration
[JsonProperty("foodLanguageCode")]
public virtual string FoodLanguageCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GlucoseUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("glucoseUnit")]
public virtual string GlucoseUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeightUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("heightUnit")]
public virtual string HeightUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LanguageLocale
Optional. The locale defined in the user's account settings. Updates to this field are currently not supported.
Declaration
[JsonProperty("languageLocale")]
public virtual string LanguageLocale { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of this Settings resource. Format: users/{user}/settings Example:
users/1234567890/settings or users/me/settings The {user} ID is a system-generated Google Health API
user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens.
The literal me can also be used to refer to the authenticated user.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StrideLengthRunningType
Optional. The stride length type defined in the user's account settings for running. Updates to this field are currently not supported.
Declaration
[JsonProperty("strideLengthRunningType")]
public virtual string StrideLengthRunningType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StrideLengthWalkingType
Optional. The stride length type defined in the user's account settings for walking. Updates to this field are currently not supported.
Declaration
[JsonProperty("strideLengthWalkingType")]
public virtual string StrideLengthWalkingType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SwimUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("swimUnit")]
public virtual string SwimUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TemperatureUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("temperatureUnit")]
public virtual string TemperatureUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TimeZone
Optional. The timezone defined in the user's account settings. This follows the IANA Time Zone Database. Updates to this field are currently not supported.
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UtcOffset
Optional. The user's timezone offset relative to UTC. Updates to this field are currently not supported.
Declaration
[JsonProperty("utcOffset")]
public virtual object UtcOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
WaterUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("waterUnit")]
public virtual string WaterUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WeightUnit
Optional. The measurement unit defined in the user's account settings.
Declaration
[JsonProperty("weightUnit")]
public virtual string WeightUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |