Method: users.getSettings

Returns user settings details.

HTTP request

GET https://health.googleapis.com/v4/{name=users/*/settings}

The URL uses gRPC Transcoding syntax. To know more about valid error responses that can be thrown by this HTTP request, please refer to the service error catalog

Path parameters

Parameters
name

string

Required. The name of the Settings. Format: users/me/settings. It takes the form users/{user}/settings.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Settings.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/googlehealth.settings
  • https://www.googleapis.com/auth/googlehealth.settings.readonly

For more information, see the OAuth 2.0 Overview.