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