Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Profile

import type { Profile } from "https://googleapis.deno.dev/v1/health:v4.ts";

Profile details.

interface Profile {
age?: number;
readonly autoRunningStrideLengthMm?: number;
readonly autoWalkingStrideLengthMm?: number;
readonly membershipStartDate?: Date;
name?: string;
userConfiguredRunningStrideLengthMm?: number;
userConfiguredWalkingStrideLengthMm?: number;
}

§Properties

§
age?: number
[src]

Optional. The age in years based on the user's birth date. Updates to this field are currently not supported.

§
readonly autoRunningStrideLengthMm?: number
[src]

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
§
readonly autoWalkingStrideLengthMm?: number
[src]

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
§
readonly membershipStartDate?: Date
[src]

Output only. The date the user created their account. Updates to this field are currently not supported.

§
name?: string
[src]

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.

§
userConfiguredRunningStrideLengthMm?: number
[src]

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
§
userConfiguredWalkingStrideLengthMm?: number
[src]

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