• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="#delete">delete(enterpriseId, userId, managedConfigurationForUserId)</a></code></p>
79<p class="firstline">Removes a per-user managed configuration for an app for the specified user.</p>
80<p class="toc_element">
81  <code><a href="#get">get(enterpriseId, userId, managedConfigurationForUserId)</a></code></p>
82<p class="firstline">Retrieves details of a per-user managed configuration for an app for the specified user.</p>
83<p class="toc_element">
84  <code><a href="#list">list(enterpriseId, userId)</a></code></p>
85<p class="firstline">Lists all the per-user managed configurations for the specified user. Only the ID is set.</p>
86<p class="toc_element">
87  <code><a href="#patch">patch(enterpriseId, userId, managedConfigurationForUserId, body)</a></code></p>
88<p class="firstline">Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics.</p>
89<p class="toc_element">
90  <code><a href="#update">update(enterpriseId, userId, managedConfigurationForUserId, body)</a></code></p>
91<p class="firstline">Adds or updates a per-user managed configuration for an app for the specified user.</p>
92<h3>Method Details</h3>
93<div class="method">
94    <code class="details" id="delete">delete(enterpriseId, userId, managedConfigurationForUserId)</code>
95  <pre>Removes a per-user managed configuration for an app for the specified user.
96
97Args:
98  enterpriseId: string, The ID of the enterprise. (required)
99  userId: string, The ID of the user. (required)
100  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required)
101</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="get">get(enterpriseId, userId, managedConfigurationForUserId)</code>
106  <pre>Retrieves details of a per-user managed configuration for an app for the specified user.
107
108Args:
109  enterpriseId: string, The ID of the enterprise. (required)
110  userId: string, The ID of the user. (required)
111  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required)
112
113Returns:
114  An object of the form:
115
116    { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
117      "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
118      "managedProperty": [ # The set of managed properties for this configuration.
119        { # 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.
120          "key": "A String", # The unique key that identifies the property.
121          "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
122          "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
123            "A String",
124          ],
125          "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
126          "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
127            { # A bundle of managed properties.
128              "managedProperty": [ # The list of managed properties.
129                # Object with schema name: ManagedProperty
130              ],
131            },
132          ],
133          "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
134            "managedProperty": [ # The list of managed properties.
135              # Object with schema name: ManagedProperty
136            ],
137          },
138          "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
139        },
140      ],
141      "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
142    }</pre>
143</div>
144
145<div class="method">
146    <code class="details" id="list">list(enterpriseId, userId)</code>
147  <pre>Lists all the per-user managed configurations for the specified user. Only the ID is set.
148
149Args:
150  enterpriseId: string, The ID of the enterprise. (required)
151  userId: string, The ID of the user. (required)
152
153Returns:
154  An object of the form:
155
156    { # The managed configuration resources for the user.
157    "kind": "androidenterprise#managedConfigurationsForUserListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsForUserListResponse".
158    "managedConfigurationForUser": [ # A managed configuration for an app for a specific user.
159      { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
160          "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
161          "managedProperty": [ # The set of managed properties for this configuration.
162            { # 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.
163              "key": "A String", # The unique key that identifies the property.
164              "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
165              "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
166                "A String",
167              ],
168              "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
169              "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
170                { # A bundle of managed properties.
171                  "managedProperty": [ # The list of managed properties.
172                    # Object with schema name: ManagedProperty
173                  ],
174                },
175              ],
176              "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
177                "managedProperty": [ # The list of managed properties.
178                  # Object with schema name: ManagedProperty
179                ],
180              },
181              "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
182            },
183          ],
184          "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
185        },
186    ],
187  }</pre>
188</div>
189
190<div class="method">
191    <code class="details" id="patch">patch(enterpriseId, userId, managedConfigurationForUserId, body)</code>
192  <pre>Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics.
193
194Args:
195  enterpriseId: string, The ID of the enterprise. (required)
196  userId: string, The ID of the user. (required)
197  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required)
198  body: object, The request body. (required)
199    The object takes the form of:
200
201{ # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
202    "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
203    "managedProperty": [ # The set of managed properties for this configuration.
204      { # 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.
205        "key": "A String", # The unique key that identifies the property.
206        "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
207        "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
208          "A String",
209        ],
210        "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
211        "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
212          { # A bundle of managed properties.
213            "managedProperty": [ # The list of managed properties.
214              # Object with schema name: ManagedProperty
215            ],
216          },
217        ],
218        "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
219          "managedProperty": [ # The list of managed properties.
220            # Object with schema name: ManagedProperty
221          ],
222        },
223        "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
224      },
225    ],
226    "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
227  }
228
229
230Returns:
231  An object of the form:
232
233    { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
234      "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
235      "managedProperty": [ # The set of managed properties for this configuration.
236        { # 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.
237          "key": "A String", # The unique key that identifies the property.
238          "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
239          "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
240            "A String",
241          ],
242          "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
243          "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
244            { # A bundle of managed properties.
245              "managedProperty": [ # The list of managed properties.
246                # Object with schema name: ManagedProperty
247              ],
248            },
249          ],
250          "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
251            "managedProperty": [ # The list of managed properties.
252              # Object with schema name: ManagedProperty
253            ],
254          },
255          "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
256        },
257      ],
258      "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
259    }</pre>
260</div>
261
262<div class="method">
263    <code class="details" id="update">update(enterpriseId, userId, managedConfigurationForUserId, body)</code>
264  <pre>Adds or updates a per-user managed configuration for an app for the specified user.
265
266Args:
267  enterpriseId: string, The ID of the enterprise. (required)
268  userId: string, The ID of the user. (required)
269  managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required)
270  body: object, The request body. (required)
271    The object takes the form of:
272
273{ # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
274    "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
275    "managedProperty": [ # The set of managed properties for this configuration.
276      { # 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.
277        "key": "A String", # The unique key that identifies the property.
278        "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
279        "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
280          "A String",
281        ],
282        "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
283        "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
284          { # A bundle of managed properties.
285            "managedProperty": [ # The list of managed properties.
286              # Object with schema name: ManagedProperty
287            ],
288          },
289        ],
290        "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
291          "managedProperty": [ # The list of managed properties.
292            # Object with schema name: ManagedProperty
293          ],
294        },
295        "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
296      },
297    ],
298    "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
299  }
300
301
302Returns:
303  An object of the form:
304
305    { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
306      "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration".
307      "managedProperty": [ # The set of managed properties for this configuration.
308        { # 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.
309          "key": "A String", # The unique key that identifies the property.
310          "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
311          "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
312            "A String",
313          ],
314          "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
315          "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
316            { # A bundle of managed properties.
317              "managedProperty": [ # The list of managed properties.
318                # Object with schema name: ManagedProperty
319              ],
320            },
321          ],
322          "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
323            "managedProperty": [ # The list of managed properties.
324              # Object with schema name: ManagedProperty
325            ],
326          },
327          "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
328        },
329      ],
330      "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
331    }</pre>
332</div>
333
334</body></html>