Profile

Profile details.

JSON representation
{
  "name": string,
  "age": integer,
  "membershipStartDate": {
    object (Date)
  },
  "userConfiguredWalkingStrideLengthMm": integer,
  "userConfiguredRunningStrideLengthMm": integer,
  "autoWalkingStrideLengthMm": integer,
  "autoRunningStrideLengthMm": integer
}
Fields
name

string

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.

age

integer

Optional. The age in years based on the user's birth date.

Updates to this field are currently not supported.

membershipStartDate

object (Date)

Output only. The date the user created their account.

Updates to this field are currently not supported.

userConfiguredWalkingStrideLengthMm

integer

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

userConfiguredRunningStrideLengthMm

integer

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

autoWalkingStrideLengthMm

integer

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

autoRunningStrideLengthMm

integer

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