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
      }
    ]
  }
}
資源名稱 說明 Notes
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」。

方法

刪除
移除指定裝置的應用程式個別受管理設定。
取得
擷取每部裝置受管理設定的詳細資料。
list
列出指定裝置的所有裝置管理設定。 系統只會設定 ID。
更新
為指定的裝置新增或更新個別裝置的受管理裝置設定。