Class Profile
Profile details.
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class Profile : IMessage<Profile>, IEquatable<Profile>, IDeepCloneable<Profile>, IBufferMessage, IMessage
Constructors
Profile()
Declaration
public Profile()
Profile(Profile)
Declaration
public Profile(Profile other)
Parameters
| Type | Name | Description |
|---|---|---|
| Profile | other |
Properties
Age
Optional. The age in years based on the user's birth date.
Updates to this field are currently not supported.
Declaration
public int Age { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
AutoRunningStrideLengthMm
Output only. The automatically calculated running stride length, in millimeters.
The user must consent to one of the following access scopes to access this field:
-
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
https://www.googleapis.com/auth/googlehealth.activity_and_fitness
Declaration
public int AutoRunningStrideLengthMm { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
AutoWalkingStrideLengthMm
Output only. The automatically calculated walking stride length, in millimeters.
The user must consent to one of the following access scopes to access this field:
-
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
https://www.googleapis.com/auth/googlehealth.activity_and_fitness
Declaration
public int AutoWalkingStrideLengthMm { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
HasAutoRunningStrideLengthMm
Gets whether the "auto_running_stride_length_mm" field is set
Declaration
public bool HasAutoRunningStrideLengthMm { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasAutoWalkingStrideLengthMm
Gets whether the "auto_walking_stride_length_mm" field is set
Declaration
public bool HasAutoWalkingStrideLengthMm { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasUserConfiguredRunningStrideLengthMm
Gets whether the "user_configured_running_stride_length_mm" field is set
Declaration
public bool HasUserConfiguredRunningStrideLengthMm { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasUserConfiguredWalkingStrideLengthMm
Gets whether the "user_configured_walking_stride_length_mm" field is set
Declaration
public bool HasUserConfiguredWalkingStrideLengthMm { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MembershipStartDate
Output only. The date the user created their account.
Updates to this field are currently not supported.
Declaration
public Date MembershipStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Date |
Name
Identifier. The resource name of this Profile resource.
Format: users/{user}/profile
Example: users/1234567890/profile or users/me/profile
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 |
ProfileName
ProfileName-typed view over the Name resource name property.
Declaration
public ProfileName ProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| ProfileName |
UserConfiguredRunningStrideLengthMm
Optional. The user's user configured running stride length, in millimeters.
The user must consent to one of the following access scopes to access this field:
-
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
https://www.googleapis.com/auth/googlehealth.activity_and_fitness
Declaration
public int UserConfiguredRunningStrideLengthMm { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UserConfiguredWalkingStrideLengthMm
Optional. The user's user configured walking stride length, in millimeters.
The user must consent to one of the following access scopes to access this field:
-
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
https://www.googleapis.com/auth/googlehealth.activity_and_fitness
Declaration
public int UserConfiguredWalkingStrideLengthMm { get; set; }
Property Value
| Type | Description |
|---|---|
| int |