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.managedconfigurationsforuser.html">managedconfigurationsforuser</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, managedConfigurationForUserId, x__xgafv=None)</a></code></p>
82<p class="firstline">Removes a per-user managed configuration for an app for the specified user.</p>
83<p class="toc_element">
84  <code><a href="#get">get(enterpriseId, userId, managedConfigurationForUserId, x__xgafv=None)</a></code></p>
85<p class="firstline">Retrieves details of a per-user managed configuration for an app for the specified user.</p>
86<p class="toc_element">
87  <code><a href="#list">list(enterpriseId, userId, x__xgafv=None)</a></code></p>
88<p class="firstline">Lists all the per-user managed configurations for the specified user. Only the ID is set.</p>
89<p class="toc_element">
90  <code><a href="#update">update(enterpriseId, userId, managedConfigurationForUserId, body=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.</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, managedConfigurationForUserId, x__xgafv=None)</code>
100  <pre>Removes a per-user managed configuration for an app for the specified user.
101
102Args:
103  enterpriseId: string, The ID of the enterprise. (required)
104  userId: string, The ID of the user. (required)
105  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. &quot;app:com.google.android.gm&quot;. (required)
106  x__xgafv: string, V1 error format.
107    Allowed values
108      1 - v1 error format
109      2 - v2 error format
110</pre>
111</div>
112
113<div class="method">
114    <code class="details" id="get">get(enterpriseId, userId, managedConfigurationForUserId, x__xgafv=None)</code>
115  <pre>Retrieves details of a per-user managed configuration for an app for the specified user.
116
117Args:
118  enterpriseId: string, The ID of the enterprise. (required)
119  userId: string, The ID of the user. (required)
120  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. &quot;app:com.google.android.gm&quot;. (required)
121  x__xgafv: string, V1 error format.
122    Allowed values
123      1 - v1 error format
124      2 - v2 error format
125
126Returns:
127  An object of the form:
128
129    { # 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.
130  &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.
131    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
132    &quot;variableSet&quot;: [ # The variable set that is attributed to the user.
133      { # 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.
134        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
135        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
136      },
137    ],
138  },
139  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
140  &quot;managedProperty&quot;: [ # The set of managed properties for this configuration.
141    { # 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.
142      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
143      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
144      &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.
145        &quot;managedProperty&quot;: [ # The list of managed properties.
146          # Object with schema name: ManagedProperty
147        ],
148      },
149      &quot;valueBundleArray&quot;: [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
150        { # A bundle of managed properties.
151          &quot;managedProperty&quot;: [ # The list of managed properties.
152            # Object with schema name: ManagedProperty
153          ],
154        },
155      ],
156      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
157      &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.
158      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
159        &quot;A String&quot;,
160      ],
161    },
162  ],
163  &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;.
164}</pre>
165</div>
166
167<div class="method">
168    <code class="details" id="list">list(enterpriseId, userId, x__xgafv=None)</code>
169  <pre>Lists all the per-user managed configurations for the specified user. Only the ID is set.
170
171Args:
172  enterpriseId: string, The ID of the enterprise. (required)
173  userId: string, The ID of the user. (required)
174  x__xgafv: string, V1 error format.
175    Allowed values
176      1 - v1 error format
177      2 - v2 error format
178
179Returns:
180  An object of the form:
181
182    {
183  &quot;managedConfigurationForUser&quot;: [ # A managed configuration for an app for a specific user.
184    { # 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.
185      &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.
186        &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
187        &quot;variableSet&quot;: [ # The variable set that is attributed to the user.
188          { # 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.
189            &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
190            &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
191          },
192        ],
193      },
194      &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
195      &quot;managedProperty&quot;: [ # The set of managed properties for this configuration.
196        { # 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.
197          &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
198          &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
199          &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.
200            &quot;managedProperty&quot;: [ # The list of managed properties.
201              # Object with schema name: ManagedProperty
202            ],
203          },
204          &quot;valueBundleArray&quot;: [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
205            { # A bundle of managed properties.
206              &quot;managedProperty&quot;: [ # The list of managed properties.
207                # Object with schema name: ManagedProperty
208              ],
209            },
210          ],
211          &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
212          &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.
213          &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
214            &quot;A String&quot;,
215          ],
216        },
217      ],
218      &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;.
219    },
220  ],
221}</pre>
222</div>
223
224<div class="method">
225    <code class="details" id="update">update(enterpriseId, userId, managedConfigurationForUserId, body=None, x__xgafv=None)</code>
226  <pre>Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.
227
228Args:
229  enterpriseId: string, The ID of the enterprise. (required)
230  userId: string, The ID of the user. (required)
231  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. &quot;app:com.google.android.gm&quot;. (required)
232  body: object, The request body.
233    The object takes the form of:
234
235{ # 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.
236  &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.
237    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
238    &quot;variableSet&quot;: [ # The variable set that is attributed to the user.
239      { # 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.
240        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
241        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
242      },
243    ],
244  },
245  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
246  &quot;managedProperty&quot;: [ # The set of managed properties for this configuration.
247    { # 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.
248      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
249      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
250      &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.
251        &quot;managedProperty&quot;: [ # The list of managed properties.
252          # Object with schema name: ManagedProperty
253        ],
254      },
255      &quot;valueBundleArray&quot;: [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
256        { # A bundle of managed properties.
257          &quot;managedProperty&quot;: [ # The list of managed properties.
258            # Object with schema name: ManagedProperty
259          ],
260        },
261      ],
262      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
263      &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.
264      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
265        &quot;A String&quot;,
266      ],
267    },
268  ],
269  &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;.
270}
271
272  x__xgafv: string, V1 error format.
273    Allowed values
274      1 - v1 error format
275      2 - v2 error format
276
277Returns:
278  An object of the form:
279
280    { # 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.
281  &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.
282    &quot;mcmId&quot;: &quot;A String&quot;, # The ID of the managed configurations settings.
283    &quot;variableSet&quot;: [ # The variable set that is attributed to the user.
284      { # 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.
285        &quot;placeholder&quot;: &quot;A String&quot;, # The placeholder string; defined by EMM.
286        &quot;userValue&quot;: &quot;A String&quot;, # The value of the placeholder, specific to the user.
287      },
288    ],
289  },
290  &quot;kind&quot;: &quot;A String&quot;, # Deprecated.
291  &quot;managedProperty&quot;: [ # The set of managed properties for this configuration.
292    { # 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.
293      &quot;key&quot;: &quot;A String&quot;, # The unique key that identifies the property.
294      &quot;valueBool&quot;: True or False, # The boolean value - this will only be present if type of the property is bool.
295      &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.
296        &quot;managedProperty&quot;: [ # The list of managed properties.
297          # Object with schema name: ManagedProperty
298        ],
299      },
300      &quot;valueBundleArray&quot;: [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
301        { # A bundle of managed properties.
302          &quot;managedProperty&quot;: [ # The list of managed properties.
303            # Object with schema name: ManagedProperty
304          ],
305        },
306      ],
307      &quot;valueInteger&quot;: 42, # The integer value - this will only be present if type of the property is integer.
308      &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.
309      &quot;valueStringArray&quot;: [ # The list of string values - this will only be present if type of the property is multiselect.
310        &quot;A String&quot;,
311      ],
312    },
313  ],
314  &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;.
315}</pre>
316</div>
317
318</body></html>