pub struct Device {
pub android_id: Option<String>,
pub device: Option<String>,
pub latest_build_fingerprint: Option<String>,
pub maker: Option<String>,
pub management_type: Option<String>,
pub model: Option<String>,
pub policy: Option<Policy>,
pub product: Option<String>,
pub report: Option<DeviceReport>,
pub retail_brand: Option<String>,
pub sdk_version: Option<i32>,
}Expand description
A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- force report upload devices (none)
- get devices (response)
- get state devices (none)
- list devices (none)
- set state devices (none)
- update devices (request|response)
Fields§
§android_id: Option<String>The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, “123456789abcdef0”.
device: Option<String>The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named “device” per logs/wireless/android/android_checkin.proto)
latest_build_fingerprint: Option<String>The build fingerprint of the device if known.
maker: Option<String>The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
management_type: Option<String>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.
model: Option<String>The model name of the device. This comes from android.os.Build.MODEL.
policy: Option<Policy>The policy enforced on the device.
product: Option<String>The product name of the device. This comes from android.os.Build.PRODUCT.
report: Option<DeviceReport>The device report updated with the latest app states.
retail_brand: Option<String>Retail brand for the device, if set. See android.os.Build.BRAND
sdk_version: Option<i32>API compatibility version.