Skip to main content

users_irn_profile

Creates, updates, deletes, gets or lists a users_irn_profile resource.

Overview

Nameusers_irn_profile
TypeResource
Idgoogle.health.users_irn_profile

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The resource name of this IrnProfile resource. Format: users/{user}/irnProfile Example: users/1234567890/irnProfile or users/me/irnProfile 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.
enrollmentStatusbooleanRequired. Whether or not the user is currently enrolled in having their data processed for IRN alerts.
onboardingStatusbooleanRequired. Whether or not the user has onboarded onto the IRN feature.
updateTimestring (google-datetime)Output only. The timestamp of the last piece of analyzable data synced by the user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_irn_profileselectusersIdReturns user's IRN Profile details.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
usersIdstring

SELECT examples

Returns user's IRN Profile details.

SELECT
name,
enrollmentStatus,
onboardingStatus,
updateTime
FROM google.health.users_irn_profile
WHERE usersId = '{{ usersId }}' -- required
;