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. &quot;app:com.google.android.gm&quot;. (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. &quot;app:com.google.android.gm&quot;. (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&#x27;s managed configurations schema, as well as any configuration variables defined for the user.
132  &quot;configurationVariables&quot;: { # 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    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
134    &quot;variableSet&quot;: [ # 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 &#x27;$&#x27; sign and should be alphanumeric only.
136        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
137        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
138      },
139    ],
140  },
141  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
142  &quot;managedProperty&quot;: [ # 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&#x27;s type in the app restrictions schema.
144      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
145      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
146      &quot;valueBundle&quot;: { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
147        &quot;managedProperty&quot;: [ # The list of managed properties.
148          # Object with schema name: ManagedProperty
149        ],
150      },
151      &quot;valueBundleArray&quot;: [ # 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          &quot;managedProperty&quot;: [ # The list of managed properties.
154            # Object with schema name: ManagedProperty
155          ],
156        },
157      ],
158      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
159      &quot;valueString&quot;: &quot;A String&quot;, # The string value - this will only be present if type of the property is string, choice or hidden.
160      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
161        &quot;A String&quot;,
162      ],
163    },
164  ],
165  &quot;productId&quot;: &quot;A String&quot;, # The ID of the product that the managed configuration is for, e.g. &quot;app:com.google.android.gm&quot;.
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  &quot;managedConfigurationForDevice&quot;: [ # 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&#x27;s managed configurations schema, as well as any configuration variables defined for the user.
188      &quot;configurationVariables&quot;: { # 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        &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
190        &quot;variableSet&quot;: [ # 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 &#x27;$&#x27; sign and should be alphanumeric only.
192            &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
193            &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
194          },
195        ],
196      },
197      &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
198      &quot;managedProperty&quot;: [ # 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&#x27;s type in the app restrictions schema.
200          &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
201          &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
202          &quot;valueBundle&quot;: { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
203            &quot;managedProperty&quot;: [ # The list of managed properties.
204              # Object with schema name: ManagedProperty
205            ],
206          },
207          &quot;valueBundleArray&quot;: [ # 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              &quot;managedProperty&quot;: [ # The list of managed properties.
210                # Object with schema name: ManagedProperty
211              ],
212            },
213          ],
214          &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
215          &quot;valueString&quot;: &quot;A String&quot;, # The string value - this will only be present if type of the property is string, choice or hidden.
216          &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
217            &quot;A String&quot;,
218          ],
219        },
220      ],
221      &quot;productId&quot;: &quot;A String&quot;, # The ID of the product that the managed configuration is for, e.g. &quot;app:com.google.android.gm&quot;.
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. &quot;app:com.google.android.gm&quot;. (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&#x27;s managed configurations schema, as well as any configuration variables defined for the user.
240  &quot;configurationVariables&quot;: { # 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    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
242    &quot;variableSet&quot;: [ # 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 &#x27;$&#x27; sign and should be alphanumeric only.
244        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
245        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
246      },
247    ],
248  },
249  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
250  &quot;managedProperty&quot;: [ # 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&#x27;s type in the app restrictions schema.
252      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
253      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
254      &quot;valueBundle&quot;: { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
255        &quot;managedProperty&quot;: [ # The list of managed properties.
256          # Object with schema name: ManagedProperty
257        ],
258      },
259      &quot;valueBundleArray&quot;: [ # 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          &quot;managedProperty&quot;: [ # The list of managed properties.
262            # Object with schema name: ManagedProperty
263          ],
264        },
265      ],
266      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
267      &quot;valueString&quot;: &quot;A String&quot;, # The string value - this will only be present if type of the property is string, choice or hidden.
268      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
269        &quot;A String&quot;,
270      ],
271    },
272  ],
273  &quot;productId&quot;: &quot;A String&quot;, # The ID of the product that the managed configuration is for, e.g. &quot;app:com.google.android.gm&quot;.
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&#x27;s managed configurations schema, as well as any configuration variables defined for the user.
285  &quot;configurationVariables&quot;: { # 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    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
287    &quot;variableSet&quot;: [ # 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 &#x27;$&#x27; sign and should be alphanumeric only.
289        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
290        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
291      },
292    ],
293  },
294  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
295  &quot;managedProperty&quot;: [ # 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&#x27;s type in the app restrictions schema.
297      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
298      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
299      &quot;valueBundle&quot;: { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
300        &quot;managedProperty&quot;: [ # The list of managed properties.
301          # Object with schema name: ManagedProperty
302        ],
303      },
304      &quot;valueBundleArray&quot;: [ # 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          &quot;managedProperty&quot;: [ # The list of managed properties.
307            # Object with schema name: ManagedProperty
308          ],
309        },
310      ],
311      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
312      &quot;valueString&quot;: &quot;A String&quot;, # The string value - this will only be present if type of the property is string, choice or hidden.
313      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
314        &quot;A String&quot;,
315      ],
316    },
317  ],
318  &quot;productId&quot;: &quot;A String&quot;, # The ID of the product that the managed configuration is for, e.g. &quot;app:com.google.android.gm&quot;.
319}</pre>
320</div>
321
322</body></html>