Class Identity
Represents details about the Google user's identity.
Implements
Inherited Members
Namespace: Google.Apis.GoogleHealthAPI.v4.Data
Assembly: Google.Apis.GoogleHealthAPI.v4.dll
Syntax
public class Identity : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HealthUserId
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.
Declaration
[JsonProperty("healthUserId")]
public virtual string HealthUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LegacyUserId
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.
Declaration
[JsonProperty("legacyUserId")]
public virtual string LegacyUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of this Identity resource. Format: users/me/identity
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |