devices

GET /v1/devices/{devicesId}/deviceUsers/{deviceUsersId}

Changed on

Retrieves the specified DeviceUser

Request

  • Base URL
    https://cloudidentity.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-identity.devices.readonly

Path parameters

devicesId, string required
deviceUsersId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

customer, string

Optional. Resource name of the customer. If you're using this API for your own organization, use customers/my_customer If you're using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs.

Response

Successful response

GoogleAppsCloudidentityDevicesV1DeviceUser required

Represents a user's use of a Device in the Cloud Identity Devices API. A DeviceUser is a resource representing a user's use of a Device

compromisedState, 'COMPROMISED_STATE_UNSPECIFIED' | 'COMPROMISED' | 'NOT_COMPROMISED'

Compromised State of the DeviceUser object

createTime, string google-datetime

When the user first signed in to the device

firstSyncTime, string google-datetime

Output only. Most recent time when user registered with this service.

languageCode, string

Output only. Default locale used on device, in IETF BCP-47 format.

lastSyncTime, string google-datetime

Output only. Last time when user synced with policies.

managementState, 'MANAGEMENT_STATE_UNSPECIFIED' | 'WIPING' | 'WIPED' | 'APPROVED' | 'BLOCKED' | 'PENDING_APPROVAL' | 'UNENROLLED'

Output only. Management state of the user on the device.

name, string

Output only. Resource name of the DeviceUser in format: devices/{device}/deviceUsers/{device_user}, where device_user uniquely identifies a user's use of a device.

passwordState, 'PASSWORD_STATE_UNSPECIFIED' | 'PASSWORD_SET' | 'PASSWORD_NOT_SET'

Password state of the DeviceUser object

userAgent, string

Output only. User agent on the device for this specific user

userEmail, string

Email address of the user registered on the device.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-identity.devices.readonly was removed from the endpoint's security scheme Oauth2

    1 more change in this revision