1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="androidenterprise_v1.html">Google Play EMM API</a> . <a href="androidenterprise_v1.managedconfigurationsfordevice.html">managedconfigurationsfordevice</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#delete">delete(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, x__xgafv=None)</a></code></p> 82<p class="firstline">Removes a per-device managed configuration for an app for the specified device.</p> 83<p class="toc_element"> 84 <code><a href="#get">get(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, x__xgafv=None)</a></code></p> 85<p class="firstline">Retrieves details of a per-device managed configuration.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(enterpriseId, userId, deviceId, x__xgafv=None)</a></code></p> 88<p class="firstline">Lists all the per-device managed configurations for the specified device. Only the ID is set.</p> 89<p class="toc_element"> 90 <code><a href="#update">update(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, body=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Adds or updates a per-device managed configuration for an app for the specified device.</p> 92<h3>Method Details</h3> 93<div class="method"> 94 <code class="details" id="close">close()</code> 95 <pre>Close httplib2 connections.</pre> 96</div> 97 98<div class="method"> 99 <code class="details" id="delete">delete(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, x__xgafv=None)</code> 100 <pre>Removes a per-device managed configuration for an app for the specified device. 101 102Args: 103 enterpriseId: string, The ID of the enterprise. (required) 104 userId: string, The ID of the user. (required) 105 deviceId: string, The Android ID of the device. (required) 106 managedConfigurationForDeviceId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) 107 x__xgafv: string, V1 error format. 108 Allowed values 109 1 - v1 error format 110 2 - v2 error format 111</pre> 112</div> 113 114<div class="method"> 115 <code class="details" id="get">get(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, x__xgafv=None)</code> 116 <pre>Retrieves details of a per-device managed configuration. 117 118Args: 119 enterpriseId: string, The ID of the enterprise. (required) 120 userId: string, The ID of the user. (required) 121 deviceId: string, The Android ID of the device. (required) 122 managedConfigurationForDeviceId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) 123 x__xgafv: string, V1 error format. 124 Allowed values 125 1 - v1 error format 126 2 - v2 error format 127 128Returns: 129 An object of the form: 130 131 { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. 132 "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. 133 "mcmId": "A String", # The ID of the managed configurations settings. 134 "variableSet": [ # The variable set that is attributed to the user. 135 { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only. 136 "placeholder": "A String", # The placeholder string; defined by EMM. 137 "userValue": "A String", # The value of the placeholder, specific to the user. 138 }, 139 ], 140 }, 141 "kind": "A String", # Deprecated. 142 "managedProperty": [ # The set of managed properties for this configuration. 143 { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. 144 "key": "A String", # The unique key that identifies the property. 145 "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. 146 "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. 147 "managedProperty": [ # The list of managed properties. 148 # Object with schema name: ManagedProperty 149 ], 150 }, 151 "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. 152 { # A bundle of managed properties. 153 "managedProperty": [ # The list of managed properties. 154 # Object with schema name: ManagedProperty 155 ], 156 }, 157 ], 158 "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. 159 "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. 160 "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. 161 "A String", 162 ], 163 }, 164 ], 165 "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". 166}</pre> 167</div> 168 169<div class="method"> 170 <code class="details" id="list">list(enterpriseId, userId, deviceId, x__xgafv=None)</code> 171 <pre>Lists all the per-device managed configurations for the specified device. Only the ID is set. 172 173Args: 174 enterpriseId: string, The ID of the enterprise. (required) 175 userId: string, The ID of the user. (required) 176 deviceId: string, The Android ID of the device. (required) 177 x__xgafv: string, V1 error format. 178 Allowed values 179 1 - v1 error format 180 2 - v2 error format 181 182Returns: 183 An object of the form: 184 185 { 186 "managedConfigurationForDevice": [ # A managed configuration for an app on a specific device. 187 { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. 188 "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. 189 "mcmId": "A String", # The ID of the managed configurations settings. 190 "variableSet": [ # The variable set that is attributed to the user. 191 { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only. 192 "placeholder": "A String", # The placeholder string; defined by EMM. 193 "userValue": "A String", # The value of the placeholder, specific to the user. 194 }, 195 ], 196 }, 197 "kind": "A String", # Deprecated. 198 "managedProperty": [ # The set of managed properties for this configuration. 199 { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. 200 "key": "A String", # The unique key that identifies the property. 201 "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. 202 "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. 203 "managedProperty": [ # The list of managed properties. 204 # Object with schema name: ManagedProperty 205 ], 206 }, 207 "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. 208 { # A bundle of managed properties. 209 "managedProperty": [ # The list of managed properties. 210 # Object with schema name: ManagedProperty 211 ], 212 }, 213 ], 214 "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. 215 "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. 216 "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. 217 "A String", 218 ], 219 }, 220 ], 221 "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". 222 }, 223 ], 224}</pre> 225</div> 226 227<div class="method"> 228 <code class="details" id="update">update(enterpriseId, userId, deviceId, managedConfigurationForDeviceId, body=None, x__xgafv=None)</code> 229 <pre>Adds or updates a per-device managed configuration for an app for the specified device. 230 231Args: 232 enterpriseId: string, The ID of the enterprise. (required) 233 userId: string, The ID of the user. (required) 234 deviceId: string, The Android ID of the device. (required) 235 managedConfigurationForDeviceId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) 236 body: object, The request body. 237 The object takes the form of: 238 239{ # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. 240 "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. 241 "mcmId": "A String", # The ID of the managed configurations settings. 242 "variableSet": [ # The variable set that is attributed to the user. 243 { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only. 244 "placeholder": "A String", # The placeholder string; defined by EMM. 245 "userValue": "A String", # The value of the placeholder, specific to the user. 246 }, 247 ], 248 }, 249 "kind": "A String", # Deprecated. 250 "managedProperty": [ # The set of managed properties for this configuration. 251 { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. 252 "key": "A String", # The unique key that identifies the property. 253 "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. 254 "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. 255 "managedProperty": [ # The list of managed properties. 256 # Object with schema name: ManagedProperty 257 ], 258 }, 259 "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. 260 { # A bundle of managed properties. 261 "managedProperty": [ # The list of managed properties. 262 # Object with schema name: ManagedProperty 263 ], 264 }, 265 ], 266 "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. 267 "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. 268 "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. 269 "A String", 270 ], 271 }, 272 ], 273 "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". 274} 275 276 x__xgafv: string, V1 error format. 277 Allowed values 278 1 - v1 error format 279 2 - v2 error format 280 281Returns: 282 An object of the form: 283 284 { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. 285 "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. 286 "mcmId": "A String", # The ID of the managed configurations settings. 287 "variableSet": [ # The variable set that is attributed to the user. 288 { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only. 289 "placeholder": "A String", # The placeholder string; defined by EMM. 290 "userValue": "A String", # The value of the placeholder, specific to the user. 291 }, 292 ], 293 }, 294 "kind": "A String", # Deprecated. 295 "managedProperty": [ # The set of managed properties for this configuration. 296 { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. 297 "key": "A String", # The unique key that identifies the property. 298 "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. 299 "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. 300 "managedProperty": [ # The list of managed properties. 301 # Object with schema name: ManagedProperty 302 ], 303 }, 304 "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. 305 { # A bundle of managed properties. 306 "managedProperty": [ # The list of managed properties. 307 # Object with schema name: ManagedProperty 308 ], 309 }, 310 ], 311 "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. 312 "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. 313 "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. 314 "A String", 315 ], 316 }, 317 ], 318 "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". 319}</pre> 320</div> 321 322</body></html>