# DeviceManagementRule

- [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/DeviceManagementRule#SCHEMA_REPRESENTATION)

Alerts from Device Management Rules configured by Admin.

| JSON representation |
|---|
| ``` { "email": string, "deviceId": string, "serialNumber": string, "deviceType": string, "deviceModel": string, "resourceId": string, "iosVendorId": string, "ruleAction": string, "ownerId": string, "id": string } ``` |

| Fields ||
|---|---|
| `email` | `string` The email of the user this alert was created for. |
| `deviceId` | `string` Required. The device ID. |
| `serialNumber` | `string` The serial number of the device. |
| `deviceType` | `string` The type of the device. |
| `deviceModel` | `string` The model of the device. |
| `resourceId` | `string` The device resource ID. |
| `iosVendorId` | `string` Required for iOS, empty for others. |
| `ruleAction` | `string` Action taken as result of the rule |
| `ownerId` | `string` Obfuscated ID of the owner of the device |
| `id` | `string` ID of the rule that triggered the alert |