DeviceManagementRule
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"email": string,
"deviceId": string,
"serialNumber": string,
"deviceType": string,
"deviceModel": string,
"resourceId": string,
"iosVendorId": string,
"ruleAction": string,
"ownerId": string,
"id": string
} |
字段 |
email |
string
此提醒的创建对象用户的电子邮件地址。
|
deviceId |
string
必需。设备 ID。
|
serialNumber |
string
设备的序列号。
|
deviceType |
string
设备的类型。
|
deviceModel |
string
设备的型号。
|
resourceId |
string
设备资源 ID。
|
iosVendorId |
string
对于 iOS 设备,此字段为必填;对于其他设备,此字段应留空。
|
ruleAction |
string
因规则而采取的操作
|
ownerId |
string
设备所有者的经过混淆处理的 ID
|
id |
string
触发提醒的规则的 ID
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# DeviceManagementRule\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAlerts from Device Management Rules configured by Admin.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"email\": string, \"deviceId\": string, \"serialNumber\": string, \"deviceType\": string, \"deviceModel\": string, \"resourceId\": string, \"iosVendorId\": string, \"ruleAction\": string, \"ownerId\": string, \"id\": string } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------|\n| `email` | `string` The email of the user this alert was created for. |\n| `deviceId` | `string` Required. The device ID. |\n| `serialNumber` | `string` The serial number of the device. |\n| `deviceType` | `string` The type of the device. |\n| `deviceModel` | `string` The model of the device. |\n| `resourceId` | `string` The device resource ID. |\n| `iosVendorId` | `string` Required for iOS, empty for others. |\n| `ruleAction` | `string` Action taken as result of the rule |\n| `ownerId` | `string` Obfuscated ID of the owner of the device |\n| `id` | `string` ID of the rule that triggered the alert |"]]