View Source GoogleApi.AndroidEnterprise.V1.Model.NewDeviceEvent (google_api_android_enterprise v0.26.0)

An event generated when a new device is ready to be managed.

Attributes

  • deviceId (type: String.t, default: nil) - The Android ID of the device. This field will always be present.
  • dpcPackageName (type: String.t, default: nil) - Policy app on the device.
  • managementType (type: String.t, default: nil) - Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations. Possible values include: - "managedDevice", a device where the DPC is set as device owner, - "managedProfile", a device where the DPC is set as profile owner.
  • userId (type: String.t, default: nil) - The ID of the user. This field will always be present.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.NewDeviceEvent{
  deviceId: String.t() | nil,
  dpcPackageName: String.t() | nil,
  managementType: String.t() | nil,
  userId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.