GoogleApi.AndroidEnterprise.V1.Model.Device (google_api_android_enterprise v0.25.0) View Source

A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.


  • androidId (type: String.t, default: nil) - The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
  • managementType (type: String.t, default: nil) - Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner. - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - "containerApp", no longer used (deprecated). - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
  • policy (type: GoogleApi.AndroidEnterprise.V1.Model.Policy.t, default: nil) - The policy enforced on the device.
  • report (type: GoogleApi.AndroidEnterprise.V1.Model.DeviceReport.t, default: nil) - The device report updated with the latest app states.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.AndroidEnterprise.V1.Model.Device{
  androidId: String.t() | nil,
  managementType: String.t() | nil,
  policy: GoogleApi.AndroidEnterprise.V1.Model.Policy.t() | nil,
  report: GoogleApi.AndroidEnterprise.V1.Model.DeviceReport.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.