Managedconfigurationsfordevice

如需了解此资源的方法列表,请参阅本页结尾部分。

资源表示形式

托管配置资源包含应用开发者在应用的托管配置架构中定义的一组受管理属性,以及用户定义的任何配置变量。

{
  "kind": string,
  "productId": string,
  "managedProperty": [
    {
      "key": string,
      "valueBool": boolean,
      "valueInteger": integer,
      "valueString": string,
      "valueStringArray": [
        string
      ],
      "valueBundle": {
        "managedProperty": [
          (ManagedProperty)
        ]
      },
      "valueBundleArray": [
        {
          "managedProperty": [
            (ManagedProperty)
          ]
        }
      ]
    }
  ],
  "configurationVariables": {
    "kind": "androidenterprise#configurationVariables",
    "mcmId": string,
    "variableSet": [
      {
        "kind": "androidenterprise#variableSet",
        "placeholder": string,
        "userValue": string
      }
    ]
  }
}
属性名称 说明 备注
configurationVariables nested object 包含为用户配置的受管理个人资料的 ID 和一组配置变量(如果有)。
configurationVariables.kind string
configurationVariables.mcmId string 托管配置设置的 ID。
configurationVariables.variableSet[] list 归因于用户的变量集。
configurationVariables.variableSet[].kind string
configurationVariables.variableSet[].placeholder string 占位符字符串;由 EMM 定义。
configurationVariables.variableSet[].userValue string 特定于用户的占位符值。
kind string 已弃用。

managedProperty[] list 此配置的受管理属性集。
managedProperty[].key string 标识属性的唯一键。
managedProperty[].valueBool boolean 布尔值 - 仅当属性类型为布尔值时,此字段才会显示。
managedProperty[].valueBundle nested object 受管理资源包 - 仅当资源类型是资源包时,此字段才会显示。
managedProperty[].valueBundle.managedProperty[] list 受管理资源列表。
managedProperty[].valueBundleArray[] list 属性包的列表 - 仅当属性类型为 bundle_array 时,此字段才会显示。
managedProperty[].valueBundleArray[].managedProperty[] list 受管理资源列表。
managedProperty[].valueInteger integer 整数值 - 仅当属性类型为整数时,此字段才会显示。
managedProperty[].valueString string 字符串值 - 仅当属性类型为字符串、选择或隐藏时才会显示此值。
managedProperty[].valueStringArray[] list 字符串值列表 - 仅当属性类型为多选时,此字段才会显示。
productId string 托管配置所适用的产品的 ID,例如“app:com.google.android.gm”。

方法

delete
移除适用于指定设备的某个应用的按设备管理的配置。
get
检索每台设备的托管配置的详细信息。
list
列出指定设备的所有按设备管理的配置。仅设置了此 ID。
update
为指定设备的应用添加按设备管理的配置或更新。