如需本資源的方法清單,請見本頁結尾。
資源表示法
受管理的設定資源包含應用程式開發人員定義的一組受管理屬性,以及您為使用者定義的設定變數。{
  "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 | 
        預留位置字串;定義。 | |
configurationVariables.variableSet[].userValue | 
        string | 
        使用者專屬的預留位置值。 | |
kind | 
        string | 
        已淘汰。 | 
        |
managedProperty[] | 
        list | 
        這項設定的受管理屬性組合。 | |
managedProperty[].key | 
        string | 
        用於識別屬性的專屬鍵。 | |
managedProperty[].valueBool | 
        boolean | 
        布林值 - 只有在屬性的類型為 bool 時才會顯示這個值。 | |
managedProperty[].valueBundle | 
        nested object | 
        受管理的資源組合 - 只有在房源類型是套裝組合時才會顯示。 | |
managedProperty[].valueBundle.managedProperty[] | 
        list | 
        受管理屬性的清單。 | |
managedProperty[].valueBundleArray[] | 
        list | 
        房源組合清單 - 只有在屬性的類型為 bundle_array 時,才會顯示這個項目。 | |
managedProperty[].valueBundleArray[].managedProperty[] | 
        list | 
        受管理屬性的清單。 | |
managedProperty[].valueInteger | 
        integer | 
        整數值 - 只有在屬性的類型為整數時才會顯示這個值。 | |
managedProperty[].valueString | 
        string | 
        字串值 - 只有在屬性的型別為字串、Choice 或隱藏時,才會顯示此值。 | |
managedProperty[].valueStringArray[] | 
        list | 
        字串值清單 - 只有在屬性類型為複選時才會顯示。 | |
productId | 
        string | 
        受管理設定的產品 ID,例如「app:com.google.android.gm」。 |