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

Identity

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

Represents details about the Google user's identity.

interface Identity {
readonly healthUserId?: string;
readonly legacyUserId?: string;
name?: string;
}

§Properties

§
readonly healthUserId?: string
[src]

Output only. The Google User Identifier in the Google Health APIs. It matches the {user} resource ID segment in the resource name paths, e.g. users/{user}/dataTypes/steps. Valid values are strings of 1-63 characters, and valid characters are lowercase and uppercase letters, numbers, and hyphens.

§
readonly legacyUserId?: string
[src]

Output only. The legacy Fitbit User identifier. This is the Fitbit ID used in the legacy Fitbit APIs (v1-v3). It can be referenced by clients migrating from the legacy Fitbit APIs to map their existing identifiers to the new Google user ID. It must not be used for any other purpose. It is not of any use for new clients using only the Google Health APIs. Valid values are strings of 1-63 characters, and valid characters are lowercase and uppercase letters, numbers, and hyphens.

§
name?: string
[src]

Identifier. The resource name of this Identity resource. Format: users/me/identity