Show / Hide Table of Contents

Class Settings

Settings details.

Inheritance
object
Settings
Implements
IMessage<Settings>
IEquatable<Settings>
IDeepCloneable<Settings>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Settings : IMessage<Settings>, IEquatable<Settings>, IDeepCloneable<Settings>, IBufferMessage, IMessage

Constructors

Settings()

Declaration
public Settings()

Settings(Settings)

Declaration
public Settings(Settings other)
Parameters
Type Name Description
Settings other

Properties

AutoStrideEnabled

Optional. True if the user's stride length is determined automatically.

Updates to this field are currently not supported.

Declaration
public 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
public Settings.Types.DistanceUnit DistanceUnit { get; set; }
Property Value
Type Description
Settings.Types.DistanceUnit

GlucoseUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.GlucoseUnit GlucoseUnit { get; set; }
Property Value
Type Description
Settings.Types.GlucoseUnit

HeightUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.HeightUnit HeightUnit { get; set; }
Property Value
Type Description
Settings.Types.HeightUnit

LanguageLocale

Optional. The locale defined in the user's account settings.

Updates to this field are currently not supported.

Declaration
public 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
public string Name { get; set; }
Property Value
Type Description
string

SettingsName

SettingsName-typed view over the Name resource name property.

Declaration
public SettingsName SettingsName { get; set; }
Property Value
Type Description
SettingsName

StrideLengthRunningType

Optional. The stride length type defined in the user's account settings for running.

Updates to this field are currently not supported.

Declaration
public Settings.Types.StrideLengthType StrideLengthRunningType { get; set; }
Property Value
Type Description
Settings.Types.StrideLengthType

StrideLengthWalkingType

Optional. The stride length type defined in the user's account settings for walking.

Updates to this field are currently not supported.

Declaration
public Settings.Types.StrideLengthType StrideLengthWalkingType { get; set; }
Property Value
Type Description
Settings.Types.StrideLengthType

SwimUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.SwimUnit SwimUnit { get; set; }
Property Value
Type Description
Settings.Types.SwimUnit

TemperatureUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.TemperatureUnit TemperatureUnit { get; set; }
Property Value
Type Description
Settings.Types.TemperatureUnit

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
public 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
public Duration UtcOffset { get; set; }
Property Value
Type Description
Duration

WaterUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.WaterUnit WaterUnit { get; set; }
Property Value
Type Description
Settings.Types.WaterUnit

WeightUnit

Optional. The measurement unit defined in the user's account settings.

Declaration
public Settings.Types.WeightUnit WeightUnit { get; set; }
Property Value
Type Description
Settings.Types.WeightUnit
In this article
Back to top Generated by DocFX