PATCH /v4/users/{usersId}/settings
Updates the user's settings details.
Request
- Base URLhttps://health.googleapis.com
- URLhttps://health.googleapis.com/v4/users/{usersId}/settings
- AuthOAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/googlehealth.settings.writeonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/googlehealth.settings.writeonly
Path parameters
Query parameters
Optional. The list of fields to be updated.
Request body
Optional. True if the user's stride length is determined automatically. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Output only. The food language code derived from the user's food database. Possible values: 'en-US', 'en-GB', 'de-DE', 'es-ES', 'fr-FR', 'zh-CN', 'zh-TW', 'ja-JP', 'en-AU', 'en-CA', 'it-IT', 'ko-KR', 'es-MX', 'en-IN', 'en-SG', 'en-PH', 'en-IE', 'fr-CA'. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Optional. The locale defined in the user's account settings. Updates to this field are currently not supported.
Identifier. The resource name of this Settings resource. Format: users/{user}/settings Example: users/1234567890/settings or users/me/settings 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. This field is read-only.
Optional. The stride length type defined in the user's account settings for running. Updates to this field are currently not supported.
Optional. The stride length type defined in the user's account settings for walking. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Optional. The timezone defined in the user's account settings. This follows the IANA Time Zone Database. Updates to this field are currently not supported.
Optional. The user's timezone offset relative to UTC. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Response
Successful response
Optional. True if the user's stride length is determined automatically. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Output only. The food language code derived from the user's food database. Possible values: 'en-US', 'en-GB', 'de-DE', 'es-ES', 'fr-FR', 'zh-CN', 'zh-TW', 'ja-JP', 'en-AU', 'en-CA', 'it-IT', 'ko-KR', 'es-MX', 'en-IN', 'en-SG', 'en-PH', 'en-IE', 'fr-CA'. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Optional. The locale defined in the user's account settings. Updates to this field are currently not supported.
Identifier. The resource name of this Settings resource. Format: users/{user}/settings Example: users/1234567890/settings or users/me/settings 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. This field is read-only.
Optional. The stride length type defined in the user's account settings for running. Updates to this field are currently not supported.
Optional. The stride length type defined in the user's account settings for walking. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Optional. The timezone defined in the user's account settings. This follows the IANA Time Zone Database. Updates to this field are currently not supported.
Optional. The user's timezone offset relative to UTC. Updates to this field are currently not supported.
Optional. The measurement unit defined in the user's account settings.
Optional. The measurement unit defined in the user's account settings.
Changes
No recorded changes to this operation across all 6 revisions of this API.