OLD | NEW |
1 { | 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/androidmanagement": { |
| 6 "description": "Manage Android devices and apps for your cus
tomers" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
2 "basePath": "", | 11 "basePath": "", |
3 "baseUrl": "https://androidmanagement.googleapis.com/", | 12 "baseUrl": "https://androidmanagement.googleapis.com/", |
4 "batchPath": "batch", | 13 "batchPath": "batch", |
5 "canonicalName": "Android Management", | 14 "canonicalName": "Android Management", |
6 "description": "The Android Management API provides remote enterprise manage
ment of Android devices and apps.", | 15 "description": "The Android Management API provides remote enterprise manage
ment of Android devices and apps.", |
7 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
8 "documentationLink": "https://developers.google.com/android/management", | 17 "documentationLink": "https://developers.google.com/android/management", |
9 "icons": { | 18 "icons": { |
10 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
11 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 "resources": { | 116 "resources": { |
108 "signupUrls": { | 117 "signupUrls": { |
109 "methods": { | 118 "methods": { |
110 "create": { | 119 "create": { |
111 "description": "Creates an enterprise signup URL.", | 120 "description": "Creates an enterprise signup URL.", |
112 "httpMethod": "POST", | 121 "httpMethod": "POST", |
113 "id": "androidmanagement.signupUrls.create", | 122 "id": "androidmanagement.signupUrls.create", |
114 "parameterOrder": [], | 123 "parameterOrder": [], |
115 "parameters": { | 124 "parameters": { |
116 "callbackUrl": { | 125 "callbackUrl": { |
117 "description": "The callback URL to which the admin
will be redirected after successfully\ncreating an enterprise. Before redirectin
g there the system will add a\nquery parameter to this URL named `enterpriseToke
n` which will\ncontain an opaque token to be used for the\n[create enterprise](/
android/management/reference/rest/v1/enterprises/create)\nrequest. The URL will
be parsed then reformatted in order to add the\n`enterpriseToken` parameter, so
there may be some minor formatting changes.", | 126 "description": "The callback URL to which the admin
will be redirected after successfully creating an enterprise. Before redirecting
there the system will add a query parameter to this URL named enterpriseToken w
hich will contain an opaque token to be used for the create enterprise request.
The URL will be parsed then reformatted in order to add the enterpriseToken para
meter, so there may be some minor formatting changes.", |
118 "location": "query", | 127 "location": "query", |
119 "type": "string" | 128 "type": "string" |
120 }, | 129 }, |
121 "projectId": { | 130 "projectId": { |
122 "description": "The id of the Google Cloud Platform
project which will own the enterprise.", | 131 "description": "The id of the Google Cloud Platform
project which will own the enterprise.", |
123 "location": "query", | 132 "location": "query", |
124 "type": "string" | 133 "type": "string" |
125 } | 134 } |
126 }, | 135 }, |
127 "path": "v1/signupUrls", | 136 "path": "v1/signupUrls", |
128 "response": { | 137 "response": { |
129 "$ref": "SignupUrl" | 138 "$ref": "SignupUrl" |
130 } | 139 }, |
| 140 "scopes": [ |
| 141 "https://www.googleapis.com/auth/androidmanagement" |
| 142 ] |
131 } | 143 } |
132 } | 144 } |
133 }, | 145 }, |
134 "enterprises": { | 146 "enterprises": { |
135 "methods": { | 147 "methods": { |
136 "create": { | 148 "create": { |
137 "description": "Creates an enterprise by completing the ente
rprise signup flow.", | 149 "description": "Creates an enterprise by completing the ente
rprise signup flow.", |
138 "httpMethod": "POST", | 150 "httpMethod": "POST", |
139 "id": "androidmanagement.enterprises.create", | 151 "id": "androidmanagement.enterprises.create", |
140 "parameterOrder": [], | 152 "parameterOrder": [], |
141 "parameters": { | 153 "parameters": { |
142 "signupUrlName": { | 154 "signupUrlName": { |
143 "description": "The name of the\n[`SignupUrl`](/andr
oid/management/reference/rest/v1/signupUrls#SignupUrl)\nused to sign up for the
enterprise.", | 155 "description": "The name of the SignupUrl used to si
gn up for the enterprise.", |
144 "location": "query", | 156 "location": "query", |
145 "type": "string" | 157 "type": "string" |
146 }, | 158 }, |
147 "enterpriseToken": { | 159 "enterpriseToken": { |
148 "description": "The enterprise token appended to the
callback URL.", | 160 "description": "The enterprise token appended to the
callback URL.", |
149 "location": "query", | 161 "location": "query", |
150 "type": "string" | 162 "type": "string" |
151 }, | 163 }, |
152 "projectId": { | 164 "projectId": { |
153 "description": "The id of the Google Cloud Platform
project which will own the enterprise.", | 165 "description": "The id of the Google Cloud Platform
project which will own the enterprise.", |
154 "location": "query", | 166 "location": "query", |
155 "type": "string" | 167 "type": "string" |
156 } | 168 } |
157 }, | 169 }, |
158 "path": "v1/enterprises", | 170 "path": "v1/enterprises", |
159 "request": { | 171 "request": { |
160 "$ref": "Enterprise" | 172 "$ref": "Enterprise" |
161 }, | 173 }, |
162 "response": { | 174 "response": { |
163 "$ref": "Enterprise" | 175 "$ref": "Enterprise" |
164 } | 176 }, |
| 177 "scopes": [ |
| 178 "https://www.googleapis.com/auth/androidmanagement" |
| 179 ] |
165 }, | 180 }, |
166 "get": { | 181 "get": { |
167 "description": "Gets an enterprise.", | 182 "description": "Gets an enterprise.", |
168 "httpMethod": "GET", | 183 "httpMethod": "GET", |
169 "id": "androidmanagement.enterprises.get", | 184 "id": "androidmanagement.enterprises.get", |
170 "parameterOrder": [ | 185 "parameterOrder": [ |
171 "name" | 186 "name" |
172 ], | 187 ], |
173 "parameters": { | 188 "parameters": { |
174 "name": { | 189 "name": { |
175 "description": "The name of the enterprise in the fo
rm\n`enterprises/{enterpriseId}`", | 190 "description": "The name of the enterprise in the fo
rm enterprises/{enterpriseId}", |
176 "location": "path", | 191 "location": "path", |
177 "pattern": "^enterprises/[^/]+$", | 192 "pattern": "^enterprises/[^/]+$", |
178 "required": true, | 193 "required": true, |
179 "type": "string" | 194 "type": "string" |
180 } | 195 } |
181 }, | 196 }, |
182 "path": "v1/{+name}", | 197 "path": "v1/{+name}", |
183 "response": { | 198 "response": { |
184 "$ref": "Enterprise" | 199 "$ref": "Enterprise" |
185 } | 200 }, |
| 201 "scopes": [ |
| 202 "https://www.googleapis.com/auth/androidmanagement" |
| 203 ] |
186 }, | 204 }, |
187 "patch": { | 205 "patch": { |
188 "description": "Updates an enterprise.", | 206 "description": "Updates an enterprise.", |
189 "httpMethod": "PATCH", | 207 "httpMethod": "PATCH", |
190 "id": "androidmanagement.enterprises.patch", | 208 "id": "androidmanagement.enterprises.patch", |
191 "parameterOrder": [ | 209 "parameterOrder": [ |
192 "name" | 210 "name" |
193 ], | 211 ], |
194 "parameters": { | 212 "parameters": { |
195 "updateMask": { | 213 "updateMask": { |
196 "description": "The field mask indicating the fields
to update.\nIf not set, all modifiable fields will be modified.", | 214 "description": "The field mask indicating the fields
to update. If not set, all modifiable fields will be modified.", |
197 "format": "google-fieldmask", | 215 "format": "google-fieldmask", |
198 "location": "query", | 216 "location": "query", |
199 "type": "string" | 217 "type": "string" |
200 }, | 218 }, |
201 "name": { | 219 "name": { |
202 "description": "The name of the enterprise in the fo
rm\n`enterprises/{enterpriseId}`", | 220 "description": "The name of the enterprise in the fo
rm enterprises/{enterpriseId}", |
203 "location": "path", | 221 "location": "path", |
204 "pattern": "^enterprises/[^/]+$", | 222 "pattern": "^enterprises/[^/]+$", |
205 "required": true, | 223 "required": true, |
206 "type": "string" | 224 "type": "string" |
207 } | 225 } |
208 }, | 226 }, |
209 "path": "v1/{+name}", | 227 "path": "v1/{+name}", |
210 "request": { | 228 "request": { |
211 "$ref": "Enterprise" | 229 "$ref": "Enterprise" |
212 }, | 230 }, |
213 "response": { | 231 "response": { |
214 "$ref": "Enterprise" | 232 "$ref": "Enterprise" |
215 } | 233 }, |
| 234 "scopes": [ |
| 235 "https://www.googleapis.com/auth/androidmanagement" |
| 236 ] |
216 } | 237 } |
217 }, | 238 }, |
218 "resources": { | 239 "resources": { |
219 "policies": { | 240 "policies": { |
220 "methods": { | 241 "methods": { |
221 "get": { | 242 "get": { |
222 "description": "Gets a policy.", | 243 "description": "Gets a policy.", |
223 "httpMethod": "GET", | 244 "httpMethod": "GET", |
224 "id": "androidmanagement.enterprises.policies.get", | 245 "id": "androidmanagement.enterprises.policies.get", |
225 "parameterOrder": [ | 246 "parameterOrder": [ |
226 "name" | 247 "name" |
227 ], | 248 ], |
228 "parameters": { | 249 "parameters": { |
229 "name": { | 250 "name": { |
230 "description": "The name of the policy in th
e form\n`enterprises/{enterpriseId}/policies/{policyId}`", | 251 "description": "The name of the policy in th
e form enterprises/{enterpriseId}/policies/{policyId}", |
231 "location": "path", | 252 "location": "path", |
232 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", | 253 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", |
233 "required": true, | 254 "required": true, |
234 "type": "string" | 255 "type": "string" |
235 } | 256 } |
236 }, | 257 }, |
237 "path": "v1/{+name}", | 258 "path": "v1/{+name}", |
238 "response": { | 259 "response": { |
239 "$ref": "Policy" | 260 "$ref": "Policy" |
240 } | 261 }, |
| 262 "scopes": [ |
| 263 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 264 ] |
241 }, | 265 }, |
242 "list": { | 266 "list": { |
243 "description": "Lists policies for a given enterpris
e.", | 267 "description": "Lists policies for a given enterpris
e.", |
244 "httpMethod": "GET", | 268 "httpMethod": "GET", |
245 "id": "androidmanagement.enterprises.policies.list", | 269 "id": "androidmanagement.enterprises.policies.list", |
246 "parameterOrder": [ | 270 "parameterOrder": [ |
247 "parent" | 271 "parent" |
248 ], | 272 ], |
249 "parameters": { | 273 "parameters": { |
250 "pageSize": { | 274 "pageSize": { |
251 "description": "The requested page size. The
actual page size may be fixed to a min or max\nvalue.", | 275 "description": "The requested page size. The
actual page size may be fixed to a min or max value.", |
252 "format": "int32", | 276 "format": "int32", |
253 "location": "query", | 277 "location": "query", |
254 "type": "integer" | 278 "type": "integer" |
255 }, | 279 }, |
256 "parent": { | 280 "parent": { |
257 "description": "The name of the enterprise i
n the form\n`enterprises/{enterpriseId}`", | 281 "description": "The name of the enterprise i
n the form enterprises/{enterpriseId}", |
258 "location": "path", | 282 "location": "path", |
259 "pattern": "^enterprises/[^/]+$", | 283 "pattern": "^enterprises/[^/]+$", |
260 "required": true, | 284 "required": true, |
261 "type": "string" | 285 "type": "string" |
262 }, | 286 }, |
263 "pageToken": { | 287 "pageToken": { |
264 "description": "A token identifying a page o
f results the server should return.", | 288 "description": "A token identifying a page o
f results the server should return.", |
265 "location": "query", | 289 "location": "query", |
266 "type": "string" | 290 "type": "string" |
267 } | 291 } |
268 }, | 292 }, |
269 "path": "v1/{+parent}/policies", | 293 "path": "v1/{+parent}/policies", |
270 "response": { | 294 "response": { |
271 "$ref": "ListPoliciesResponse" | 295 "$ref": "ListPoliciesResponse" |
272 } | 296 }, |
| 297 "scopes": [ |
| 298 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 299 ] |
273 }, | 300 }, |
274 "patch": { | 301 "patch": { |
275 "description": "Updates or creates a policy.", | 302 "description": "Updates or creates a policy.", |
276 "httpMethod": "PATCH", | 303 "httpMethod": "PATCH", |
277 "id": "androidmanagement.enterprises.policies.patch"
, | 304 "id": "androidmanagement.enterprises.policies.patch"
, |
278 "parameterOrder": [ | 305 "parameterOrder": [ |
279 "name" | 306 "name" |
280 ], | 307 ], |
281 "parameters": { | 308 "parameters": { |
282 "updateMask": { | 309 "updateMask": { |
283 "description": "The field mask indicating th
e fields to update.\nIf not set, all modifiable fields will be modified.", | 310 "description": "The field mask indicating th
e fields to update. If not set, all modifiable fields will be modified.", |
284 "format": "google-fieldmask", | 311 "format": "google-fieldmask", |
285 "location": "query", | 312 "location": "query", |
286 "type": "string" | 313 "type": "string" |
287 }, | 314 }, |
288 "name": { | 315 "name": { |
289 "description": "The name of the policy in th
e form\n`enterprises/{enterpriseId}/policies/{policyId}`", | 316 "description": "The name of the policy in th
e form enterprises/{enterpriseId}/policies/{policyId}", |
290 "location": "path", | 317 "location": "path", |
291 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", | 318 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", |
292 "required": true, | 319 "required": true, |
293 "type": "string" | 320 "type": "string" |
294 } | 321 } |
295 }, | 322 }, |
296 "path": "v1/{+name}", | 323 "path": "v1/{+name}", |
297 "request": { | 324 "request": { |
298 "$ref": "Policy" | 325 "$ref": "Policy" |
299 }, | 326 }, |
300 "response": { | 327 "response": { |
301 "$ref": "Policy" | 328 "$ref": "Policy" |
302 } | 329 }, |
| 330 "scopes": [ |
| 331 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 332 ] |
303 }, | 333 }, |
304 "delete": { | 334 "delete": { |
305 "description": "Deletes a policy. This operation is
only permitted if no devices are\ncurrently referencing the policy.", | 335 "description": "Deletes a policy. This operation is
only permitted if no devices are currently referencing the policy.", |
306 "httpMethod": "DELETE", | 336 "httpMethod": "DELETE", |
307 "id": "androidmanagement.enterprises.policies.delete
", | 337 "id": "androidmanagement.enterprises.policies.delete
", |
308 "parameterOrder": [ | 338 "parameterOrder": [ |
309 "name" | 339 "name" |
310 ], | 340 ], |
311 "parameters": { | 341 "parameters": { |
312 "name": { | 342 "name": { |
313 "description": "The name of the policy in th
e form\n`enterprises/{enterpriseId}/policies/{policyId}`", | 343 "description": "The name of the policy in th
e form enterprises/{enterpriseId}/policies/{policyId}", |
314 "location": "path", | 344 "location": "path", |
315 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", | 345 "pattern": "^enterprises/[^/]+/policies/[^/]
+$", |
316 "required": true, | 346 "required": true, |
317 "type": "string" | 347 "type": "string" |
318 } | 348 } |
319 }, | 349 }, |
320 "path": "v1/{+name}", | 350 "path": "v1/{+name}", |
321 "response": { | 351 "response": { |
322 "$ref": "Empty" | 352 "$ref": "Empty" |
323 } | 353 }, |
| 354 "scopes": [ |
| 355 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 356 ] |
324 } | 357 } |
325 } | 358 } |
326 }, | 359 }, |
327 "applications": { | 360 "applications": { |
328 "methods": { | 361 "methods": { |
329 "get": { | 362 "get": { |
330 "description": "Gets info about an application.", | 363 "description": "Gets info about an application.", |
331 "httpMethod": "GET", | 364 "httpMethod": "GET", |
332 "id": "androidmanagement.enterprises.applications.ge
t", | 365 "id": "androidmanagement.enterprises.applications.ge
t", |
333 "parameterOrder": [ | 366 "parameterOrder": [ |
334 "name" | 367 "name" |
335 ], | 368 ], |
336 "parameters": { | 369 "parameters": { |
337 "languageCode": { | 370 "languageCode": { |
338 "description": "The preferred language for l
ocalized application info, as a BCP47 tag\n(e.g. \"en-US\", \"de\"). If not spec
ified the default language of the\napplication will be used.", | 371 "description": "The preferred language for l
ocalized application info, as a BCP47 tag (e.g. \"en-US\", \"de\"). If not speci
fied the default language of the application will be used.", |
339 "location": "query", | 372 "location": "query", |
340 "type": "string" | 373 "type": "string" |
341 }, | 374 }, |
342 "name": { | 375 "name": { |
343 "description": "The name of the application
in the form\n`enterprises/{enterpriseId}/applications/{package_name}`", | 376 "description": "The name of the application
in the form enterprises/{enterpriseId}/applications/{package_name}", |
344 "location": "path", | 377 "location": "path", |
345 "pattern": "^enterprises/[^/]+/applications/
[^/]+$", | 378 "pattern": "^enterprises/[^/]+/applications/
[^/]+$", |
346 "required": true, | 379 "required": true, |
347 "type": "string" | 380 "type": "string" |
348 } | 381 } |
349 }, | 382 }, |
350 "path": "v1/{+name}", | 383 "path": "v1/{+name}", |
351 "response": { | 384 "response": { |
352 "$ref": "Application" | 385 "$ref": "Application" |
353 } | 386 }, |
| 387 "scopes": [ |
| 388 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 389 ] |
354 } | 390 } |
355 } | 391 } |
356 }, | 392 }, |
357 "enrollmentTokens": { | 393 "enrollmentTokens": { |
358 "methods": { | 394 "methods": { |
359 "create": { | 395 "create": { |
360 "description": "Creates an enrollment token for a gi
ven enterprise.", | 396 "description": "Creates an enrollment token for a gi
ven enterprise.", |
361 "httpMethod": "POST", | 397 "httpMethod": "POST", |
362 "id": "androidmanagement.enterprises.enrollmentToken
s.create", | 398 "id": "androidmanagement.enterprises.enrollmentToken
s.create", |
363 "parameterOrder": [ | 399 "parameterOrder": [ |
364 "parent" | 400 "parent" |
365 ], | 401 ], |
366 "parameters": { | 402 "parameters": { |
367 "parent": { | 403 "parent": { |
368 "description": "The name of the enterprise i
n the form\n`enterprises/{enterpriseId}`", | 404 "description": "The name of the enterprise i
n the form enterprises/{enterpriseId}", |
369 "location": "path", | 405 "location": "path", |
370 "pattern": "^enterprises/[^/]+$", | 406 "pattern": "^enterprises/[^/]+$", |
371 "required": true, | 407 "required": true, |
372 "type": "string" | 408 "type": "string" |
373 } | 409 } |
374 }, | 410 }, |
375 "path": "v1/{+parent}/enrollmentTokens", | 411 "path": "v1/{+parent}/enrollmentTokens", |
376 "request": { | 412 "request": { |
377 "$ref": "EnrollmentToken" | 413 "$ref": "EnrollmentToken" |
378 }, | 414 }, |
379 "response": { | 415 "response": { |
380 "$ref": "EnrollmentToken" | 416 "$ref": "EnrollmentToken" |
381 } | 417 }, |
| 418 "scopes": [ |
| 419 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 420 ] |
382 }, | 421 }, |
383 "delete": { | 422 "delete": { |
384 "description": "Deletes an enrollment token, which p
revents future use of the token.", | 423 "description": "Deletes an enrollment token, which p
revents future use of the token.", |
385 "httpMethod": "DELETE", | 424 "httpMethod": "DELETE", |
386 "id": "androidmanagement.enterprises.enrollmentToken
s.delete", | 425 "id": "androidmanagement.enterprises.enrollmentToken
s.delete", |
387 "parameterOrder": [ | 426 "parameterOrder": [ |
388 "name" | 427 "name" |
389 ], | 428 ], |
390 "parameters": { | 429 "parameters": { |
391 "name": { | 430 "name": { |
392 "description": "The name of the enrollment t
oken in the form\n`enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenI
d}`", | 431 "description": "The name of the enrollment t
oken in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}
", |
393 "location": "path", | 432 "location": "path", |
394 "pattern": "^enterprises/[^/]+/enrollmentTok
ens/[^/]+$", | 433 "pattern": "^enterprises/[^/]+/enrollmentTok
ens/[^/]+$", |
395 "required": true, | 434 "required": true, |
396 "type": "string" | 435 "type": "string" |
397 } | 436 } |
398 }, | 437 }, |
399 "path": "v1/{+name}", | 438 "path": "v1/{+name}", |
400 "response": { | 439 "response": { |
401 "$ref": "Empty" | 440 "$ref": "Empty" |
402 } | 441 }, |
| 442 "scopes": [ |
| 443 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 444 ] |
403 } | 445 } |
404 } | 446 } |
405 }, | 447 }, |
406 "webTokens": { | 448 "webTokens": { |
407 "methods": { | 449 "methods": { |
408 "create": { | 450 "create": { |
409 "description": "Creates a web token to access an emb
eddable managed Google Play web UI for\na given enterprise.", | 451 "description": "Creates a web token to access an emb
eddable managed Google Play web UI for a given enterprise.", |
410 "httpMethod": "POST", | 452 "httpMethod": "POST", |
411 "id": "androidmanagement.enterprises.webTokens.creat
e", | 453 "id": "androidmanagement.enterprises.webTokens.creat
e", |
412 "parameterOrder": [ | 454 "parameterOrder": [ |
413 "parent" | 455 "parent" |
414 ], | 456 ], |
415 "parameters": { | 457 "parameters": { |
416 "parent": { | 458 "parent": { |
417 "description": "The name of the enterprise i
n the form\n`enterprises/{enterpriseId}`", | 459 "description": "The name of the enterprise i
n the form enterprises/{enterpriseId}", |
418 "location": "path", | 460 "location": "path", |
419 "pattern": "^enterprises/[^/]+$", | 461 "pattern": "^enterprises/[^/]+$", |
420 "required": true, | 462 "required": true, |
421 "type": "string" | 463 "type": "string" |
422 } | 464 } |
423 }, | 465 }, |
424 "path": "v1/{+parent}/webTokens", | 466 "path": "v1/{+parent}/webTokens", |
425 "request": { | 467 "request": { |
426 "$ref": "WebToken" | 468 "$ref": "WebToken" |
427 }, | 469 }, |
428 "response": { | 470 "response": { |
429 "$ref": "WebToken" | 471 "$ref": "WebToken" |
430 } | 472 }, |
| 473 "scopes": [ |
| 474 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 475 ] |
431 } | 476 } |
432 } | 477 } |
433 }, | 478 }, |
434 "devices": { | 479 "devices": { |
435 "methods": { | 480 "methods": { |
436 "get": { | 481 "get": { |
437 "description": "Gets a device.", | 482 "description": "Gets a device.", |
438 "httpMethod": "GET", | 483 "httpMethod": "GET", |
439 "id": "androidmanagement.enterprises.devices.get", | 484 "id": "androidmanagement.enterprises.devices.get", |
440 "parameterOrder": [ | 485 "parameterOrder": [ |
441 "name" | 486 "name" |
442 ], | 487 ], |
443 "parameters": { | 488 "parameters": { |
444 "name": { | 489 "name": { |
445 "description": "The name of the device in th
e form\n`enterprises/{enterpriseId}/devices/{deviceId}`", | 490 "description": "The name of the device in th
e form enterprises/{enterpriseId}/devices/{deviceId}", |
446 "location": "path", | 491 "location": "path", |
447 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", | 492 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", |
448 "required": true, | 493 "required": true, |
449 "type": "string" | 494 "type": "string" |
450 } | 495 } |
451 }, | 496 }, |
452 "path": "v1/{+name}", | 497 "path": "v1/{+name}", |
453 "response": { | 498 "response": { |
454 "$ref": "Device" | 499 "$ref": "Device" |
455 } | 500 }, |
| 501 "scopes": [ |
| 502 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 503 ] |
456 }, | 504 }, |
457 "list": { | 505 "list": { |
458 "description": "Lists devices for a given enterprise
.", | 506 "description": "Lists devices for a given enterprise
.", |
459 "httpMethod": "GET", | 507 "httpMethod": "GET", |
460 "id": "androidmanagement.enterprises.devices.list", | 508 "id": "androidmanagement.enterprises.devices.list", |
461 "parameterOrder": [ | 509 "parameterOrder": [ |
462 "parent" | 510 "parent" |
463 ], | 511 ], |
464 "parameters": { | 512 "parameters": { |
465 "pageSize": { | 513 "pageSize": { |
466 "description": "The requested page size. The
actual page size may be fixed to a min or max\nvalue.", | 514 "description": "The requested page size. The
actual page size may be fixed to a min or max value.", |
467 "format": "int32", | 515 "format": "int32", |
468 "location": "query", | 516 "location": "query", |
469 "type": "integer" | 517 "type": "integer" |
470 }, | 518 }, |
471 "parent": { | 519 "parent": { |
472 "description": "The name of the enterprise i
n the form\n`enterprises/{enterpriseId}`", | 520 "description": "The name of the enterprise i
n the form enterprises/{enterpriseId}", |
473 "location": "path", | 521 "location": "path", |
474 "pattern": "^enterprises/[^/]+$", | 522 "pattern": "^enterprises/[^/]+$", |
475 "required": true, | 523 "required": true, |
476 "type": "string" | 524 "type": "string" |
477 }, | 525 }, |
478 "pageToken": { | 526 "pageToken": { |
479 "description": "A token identifying a page o
f results the server should return.", | 527 "description": "A token identifying a page o
f results the server should return.", |
480 "location": "query", | 528 "location": "query", |
481 "type": "string" | 529 "type": "string" |
482 } | 530 } |
483 }, | 531 }, |
484 "path": "v1/{+parent}/devices", | 532 "path": "v1/{+parent}/devices", |
485 "response": { | 533 "response": { |
486 "$ref": "ListDevicesResponse" | 534 "$ref": "ListDevicesResponse" |
487 } | 535 }, |
| 536 "scopes": [ |
| 537 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 538 ] |
488 }, | 539 }, |
489 "issueCommand": { | 540 "issueCommand": { |
490 "description": "Issues a command to a device. The\n[
`Operation`](/android/management/reference/rest/v1/enterprises.devices.operation
s#Operation)\nresource returned contains a\n[`Command`](/android/management/refe
rence/rest/v1/enterprises.devices/issueCommand#Command)\nin its `metadata` field
.\nUse the\n[get operation method](/android/management/reference/rest/v1/enterpr
ises.devices.operations/get)\nto get the status of the command.", | 541 "description": "Issues a command to a device. The Op
eration resource returned contains a Command in its metadata field. Use the get
operation method to get the status of the command.", |
491 "httpMethod": "POST", | 542 "httpMethod": "POST", |
492 "id": "androidmanagement.enterprises.devices.issueCo
mmand", | 543 "id": "androidmanagement.enterprises.devices.issueCo
mmand", |
493 "parameterOrder": [ | 544 "parameterOrder": [ |
494 "name" | 545 "name" |
495 ], | 546 ], |
496 "parameters": { | 547 "parameters": { |
497 "name": { | 548 "name": { |
498 "description": "The name of the device in th
e form\n`enterprises/{enterpriseId}/devices/{deviceId}`", | 549 "description": "The name of the device in th
e form enterprises/{enterpriseId}/devices/{deviceId}", |
499 "location": "path", | 550 "location": "path", |
500 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", | 551 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", |
501 "required": true, | 552 "required": true, |
502 "type": "string" | 553 "type": "string" |
503 } | 554 } |
504 }, | 555 }, |
505 "path": "v1/{+name}:issueCommand", | 556 "path": "v1/{+name}:issueCommand", |
506 "request": { | 557 "request": { |
507 "$ref": "Command" | 558 "$ref": "Command" |
508 }, | 559 }, |
509 "response": { | 560 "response": { |
510 "$ref": "Operation" | 561 "$ref": "Operation" |
511 } | 562 }, |
| 563 "scopes": [ |
| 564 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 565 ] |
512 }, | 566 }, |
513 "patch": { | 567 "patch": { |
514 "description": "Updates a device.", | 568 "description": "Updates a device.", |
515 "httpMethod": "PATCH", | 569 "httpMethod": "PATCH", |
516 "id": "androidmanagement.enterprises.devices.patch", | 570 "id": "androidmanagement.enterprises.devices.patch", |
517 "parameterOrder": [ | 571 "parameterOrder": [ |
518 "name" | 572 "name" |
519 ], | 573 ], |
520 "parameters": { | 574 "parameters": { |
521 "updateMask": { | 575 "updateMask": { |
522 "description": "The field mask indicating th
e fields to update.\nIf not set, all modifiable fields will be modified.", | 576 "description": "The field mask indicating th
e fields to update. If not set, all modifiable fields will be modified.", |
523 "format": "google-fieldmask", | 577 "format": "google-fieldmask", |
524 "location": "query", | 578 "location": "query", |
525 "type": "string" | 579 "type": "string" |
526 }, | 580 }, |
527 "name": { | 581 "name": { |
528 "description": "The name of the device in th
e form\n`enterprises/{enterpriseId}/devices/{deviceId}`", | 582 "description": "The name of the device in th
e form enterprises/{enterpriseId}/devices/{deviceId}", |
529 "location": "path", | 583 "location": "path", |
530 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", | 584 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", |
531 "required": true, | 585 "required": true, |
532 "type": "string" | 586 "type": "string" |
533 } | 587 } |
534 }, | 588 }, |
535 "path": "v1/{+name}", | 589 "path": "v1/{+name}", |
536 "request": { | 590 "request": { |
537 "$ref": "Device" | 591 "$ref": "Device" |
538 }, | 592 }, |
539 "response": { | 593 "response": { |
540 "$ref": "Device" | 594 "$ref": "Device" |
541 } | 595 }, |
| 596 "scopes": [ |
| 597 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 598 ] |
542 }, | 599 }, |
543 "delete": { | 600 "delete": { |
544 "description": "Deletes a device, which causes the d
evice to be wiped.", | 601 "description": "Deletes a device, which causes the d
evice to be wiped.", |
545 "httpMethod": "DELETE", | 602 "httpMethod": "DELETE", |
546 "id": "androidmanagement.enterprises.devices.delete"
, | 603 "id": "androidmanagement.enterprises.devices.delete"
, |
547 "parameterOrder": [ | 604 "parameterOrder": [ |
548 "name" | 605 "name" |
549 ], | 606 ], |
550 "parameters": { | 607 "parameters": { |
551 "name": { | 608 "name": { |
552 "description": "The name of the device in th
e form\n`enterprises/{enterpriseId}/devices/{deviceId}`", | 609 "description": "The name of the device in th
e form enterprises/{enterpriseId}/devices/{deviceId}", |
553 "location": "path", | 610 "location": "path", |
554 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", | 611 "pattern": "^enterprises/[^/]+/devices/[^/]+
$", |
555 "required": true, | 612 "required": true, |
556 "type": "string" | 613 "type": "string" |
557 } | 614 } |
558 }, | 615 }, |
559 "path": "v1/{+name}", | 616 "path": "v1/{+name}", |
560 "response": { | 617 "response": { |
561 "$ref": "Empty" | 618 "$ref": "Empty" |
562 } | 619 }, |
| 620 "scopes": [ |
| 621 "https://www.googleapis.com/auth/androidmanageme
nt" |
| 622 ] |
563 } | 623 } |
564 }, | 624 }, |
565 "resources": { | 625 "resources": { |
566 "operations": { | 626 "operations": { |
567 "methods": { | 627 "methods": { |
568 "get": { | 628 "get": { |
569 "description": "Gets the latest state of a l
ong-running operation. Clients can use this\nmethod to poll the operation resul
t at intervals as recommended by the API\nservice.", | 629 "description": "Gets the latest state of a l
ong-running operation. Clients can use this method to poll the operation result
at intervals as recommended by the API service.", |
570 "httpMethod": "GET", | 630 "httpMethod": "GET", |
571 "id": "androidmanagement.enterprises.devices
.operations.get", | 631 "id": "androidmanagement.enterprises.devices
.operations.get", |
572 "parameterOrder": [ | 632 "parameterOrder": [ |
573 "name" | 633 "name" |
574 ], | 634 ], |
575 "parameters": { | 635 "parameters": { |
576 "name": { | 636 "name": { |
577 "description": "The name of the oper
ation resource.", | 637 "description": "The name of the oper
ation resource.", |
578 "location": "path", | 638 "location": "path", |
579 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", | 639 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", |
580 "required": true, | 640 "required": true, |
581 "type": "string" | 641 "type": "string" |
582 } | 642 } |
583 }, | 643 }, |
584 "path": "v1/{+name}", | 644 "path": "v1/{+name}", |
585 "response": { | 645 "response": { |
586 "$ref": "Operation" | 646 "$ref": "Operation" |
587 } | 647 }, |
| 648 "scopes": [ |
| 649 "https://www.googleapis.com/auth/android
management" |
| 650 ] |
588 }, | 651 }, |
589 "list": { | 652 "list": { |
590 "description": "Lists operations that match
the specified filter in the request. If the\nserver doesn't support this method,
it returns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to
override the binding\nto use different resource name schemes, such as `users/*/o
perations`. To\noverride the binding, API services can add a binding such as\n`\
"/v1/{name=users/*}/operations\"` to their service configuration.\nFor backwards
compatibility, the default name includes the operations\ncollection id, however
overriding users must ensure the name binding\nis the parent resource, without
the operations collection id.", | 653 "description": "Lists operations that match
the specified filter in the request. If the server doesn't support this method,
it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override
the binding to use different resource name schemes, such as users/*/operations.
To override the binding, API services can add a binding such as \"/v1/{name=user
s/*}/operations\" to their service configuration. For backwards compatibility, t
he default name includes the operations collection id, however overriding users
must ensure the name binding is the parent resource, without the operations coll
ection id.", |
591 "httpMethod": "GET", | 654 "httpMethod": "GET", |
592 "id": "androidmanagement.enterprises.devices
.operations.list", | 655 "id": "androidmanagement.enterprises.devices
.operations.list", |
593 "parameterOrder": [ | 656 "parameterOrder": [ |
594 "name" | 657 "name" |
595 ], | 658 ], |
596 "parameters": { | 659 "parameters": { |
597 "pageSize": { | 660 "pageSize": { |
598 "description": "The standard list pa
ge size.", | 661 "description": "The standard list pa
ge size.", |
599 "format": "int32", | 662 "format": "int32", |
600 "location": "query", | 663 "location": "query", |
(...skipping 13 matching lines...) Expand all Loading... |
614 }, | 677 }, |
615 "pageToken": { | 678 "pageToken": { |
616 "description": "The standard list pa
ge token.", | 679 "description": "The standard list pa
ge token.", |
617 "location": "query", | 680 "location": "query", |
618 "type": "string" | 681 "type": "string" |
619 } | 682 } |
620 }, | 683 }, |
621 "path": "v1/{+name}", | 684 "path": "v1/{+name}", |
622 "response": { | 685 "response": { |
623 "$ref": "ListOperationsResponse" | 686 "$ref": "ListOperationsResponse" |
624 } | 687 }, |
| 688 "scopes": [ |
| 689 "https://www.googleapis.com/auth/android
management" |
| 690 ] |
625 }, | 691 }, |
626 "delete": { | 692 "delete": { |
627 "description": "Deletes a long-running opera
tion. This method indicates that the client is\nno longer interested in the oper
ation result. It does not cancel the\noperation. If the server doesn't support t
his method, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", | 693 "description": "Deletes a long-running opera
tion. This method indicates that the client is no longer interested in the opera
tion result. It does not cancel the operation. If the server doesn't support thi
s method, it returns google.rpc.Code.UNIMPLEMENTED.", |
628 "httpMethod": "DELETE", | 694 "httpMethod": "DELETE", |
629 "id": "androidmanagement.enterprises.devices
.operations.delete", | 695 "id": "androidmanagement.enterprises.devices
.operations.delete", |
630 "parameterOrder": [ | 696 "parameterOrder": [ |
631 "name" | 697 "name" |
632 ], | 698 ], |
633 "parameters": { | 699 "parameters": { |
634 "name": { | 700 "name": { |
635 "description": "The name of the oper
ation resource to be deleted.", | 701 "description": "The name of the oper
ation resource to be deleted.", |
636 "location": "path", | 702 "location": "path", |
637 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", | 703 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", |
638 "required": true, | 704 "required": true, |
639 "type": "string" | 705 "type": "string" |
640 } | 706 } |
641 }, | 707 }, |
642 "path": "v1/{+name}", | 708 "path": "v1/{+name}", |
643 "response": { | 709 "response": { |
644 "$ref": "Empty" | 710 "$ref": "Empty" |
645 } | 711 }, |
| 712 "scopes": [ |
| 713 "https://www.googleapis.com/auth/android
management" |
| 714 ] |
646 }, | 715 }, |
647 "cancel": { | 716 "cancel": { |
648 "description": "Starts asynchronous cancella
tion on a long-running operation. The server\nmakes a best effort to cancel the
operation, but success is not\nguaranteed. If the server doesn't support this
method, it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperation
s.GetOperation or\nother methods to check whether the cancellation succeeded or
whether the\noperation completed despite cancellation. On successful cancellatio
n,\nthe operation is not deleted; instead, it becomes an operation with\nan Oper
ation.error value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CA
NCELLED`.", | 717 "description": "Starts asynchronous cancella
tion on a long-running operation. The server makes a best effort to cancel the o
peration, but success is not guaranteed. If the server doesn't support this meth
od, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOper
ation or other methods to check whether the cancellation succeeded or whether th
e operation completed despite cancellation. On successful cancellation, the oper
ation is not deleted; instead, it becomes an operation with an Operation.error v
alue with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", |
649 "httpMethod": "POST", | 718 "httpMethod": "POST", |
650 "id": "androidmanagement.enterprises.devices
.operations.cancel", | 719 "id": "androidmanagement.enterprises.devices
.operations.cancel", |
651 "parameterOrder": [ | 720 "parameterOrder": [ |
652 "name" | 721 "name" |
653 ], | 722 ], |
654 "parameters": { | 723 "parameters": { |
655 "name": { | 724 "name": { |
656 "description": "The name of the oper
ation resource to be cancelled.", | 725 "description": "The name of the oper
ation resource to be cancelled.", |
657 "location": "path", | 726 "location": "path", |
658 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", | 727 "pattern": "^enterprises/[^/]+/devic
es/[^/]+/operations/[^/]+$", |
659 "required": true, | 728 "required": true, |
660 "type": "string" | 729 "type": "string" |
661 } | 730 } |
662 }, | 731 }, |
663 "path": "v1/{+name}:cancel", | 732 "path": "v1/{+name}:cancel", |
664 "response": { | 733 "response": { |
665 "$ref": "Empty" | 734 "$ref": "Empty" |
666 } | 735 }, |
| 736 "scopes": [ |
| 737 "https://www.googleapis.com/auth/android
management" |
| 738 ] |
667 } | 739 } |
668 } | 740 } |
669 } | 741 } |
670 } | 742 } |
671 } | 743 } |
672 } | 744 } |
673 } | 745 } |
674 }, | 746 }, |
675 "revision": "20170717", | 747 "revision": "20170804", |
676 "rootUrl": "https://androidmanagement.googleapis.com/", | 748 "rootUrl": "https://androidmanagement.googleapis.com/", |
677 "schemas": { | 749 "schemas": { |
678 "Device": { | 750 "Device": { |
679 "description": "A device owned by an enterprise.\nUnless otherwise n
oted, all fields are read-only and cannot be modified by\nan update device reque
st.", | 751 "description": "A device owned by an enterprise. Unless otherwise no
ted, all fields are read-only and cannot be modified by an update device request
.", |
680 "id": "Device", | 752 "id": "Device", |
681 "properties": { | 753 "properties": { |
682 "userName": { | 754 "userName": { |
683 "description": "The resource name of the user of the device
in the form\n`enterprises/{enterpriseId}/users/{userId}`. This is the name of th
e\ndevice account automatically created for this device.", | 755 "description": "The resource name of the user of the device
in the form enterprises/{enterpriseId}/users/{userId}. This is the name of the d
evice account automatically created for this device.", |
684 "type": "string" | 756 "type": "string" |
685 }, | 757 }, |
686 "disabledReason": { | 758 "disabledReason": { |
687 "$ref": "UserFacingMessage", | 759 "$ref": "UserFacingMessage", |
688 "description": "If the device state is `DISABLED`, an option
al message that is displayed on\nthe device indicating the reason the device is
disabled. This field may be\nmodified by an update request." | 760 "description": "If the device state is DISABLED, an optional
message that is displayed on the device indicating the reason the device is dis
abled. This field may be modified by an update request." |
689 }, | 761 }, |
690 "policyName": { | 762 "policyName": { |
691 "description": "The name of the policy that is intended to b
e applied to the device. If\nempty, the policy with id `default` is applied.\nTh
is field may be modified by an update request.\nThe name of the policy is in the
form\n`enterprises/{enterpriseId}/policies/{policyId}`.\nIt is also permissible
to only specify the `policyId` when updating this\nfield as long as the `policy
Id` contains no slashes since the rest of the\npolicy name can be inferred from
context.", | 763 "description": "The name of the policy that is intended to b
e applied to the device. If empty, the policy with id default is applied. This f
ield may be modified by an update request. The name of the policy is in the form
enterprises/{enterpriseId}/policies/{policyId}. It is also permissible to only
specify the policyId when updating this field as long as the policyId contains n
o slashes since the rest of the policy name can be inferred from context.", |
692 "type": "string" | 764 "type": "string" |
693 }, | 765 }, |
694 "lastPolicyComplianceReportTime": { | 766 "lastPolicyComplianceReportTime": { |
695 "description": "The last time the device sent a policy compl
iance report.", | 767 "description": "The last time the device sent a policy compl
iance report.", |
696 "format": "google-datetime", | 768 "format": "google-datetime", |
697 "type": "string" | 769 "type": "string" |
698 }, | 770 }, |
699 "nonComplianceDetails": { | 771 "nonComplianceDetails": { |
700 "description": "Details about policy settings for which the
device is not in compliance.", | 772 "description": "Details about policy settings for which the
device is not in compliance.", |
701 "items": { | 773 "items": { |
702 "$ref": "NonComplianceDetail" | 774 "$ref": "NonComplianceDetail" |
703 }, | 775 }, |
704 "type": "array" | 776 "type": "array" |
705 }, | 777 }, |
706 "lastPolicySyncTime": { | 778 "lastPolicySyncTime": { |
707 "description": "The last time the device fetched its policy.
", | 779 "description": "The last time the device fetched its policy.
", |
708 "format": "google-datetime", | 780 "format": "google-datetime", |
709 "type": "string" | 781 "type": "string" |
710 }, | 782 }, |
711 "networkInfo": { | 783 "networkInfo": { |
712 "$ref": "NetworkInfo", | 784 "$ref": "NetworkInfo", |
713 "description": "Device network information. This information
is only available when\n`networkInfoEnabled` is true in the device's policy." | 785 "description": "Device network information. This information
is only available when networkInfoEnabled is true in the device's policy." |
714 }, | 786 }, |
715 "appliedState": { | 787 "appliedState": { |
716 "description": "The state that is currently applied by the d
evice.", | 788 "description": "The state that is currently applied by the d
evice.", |
717 "enum": [ | 789 "enum": [ |
718 "DEVICE_STATE_UNSPECIFIED", | 790 "DEVICE_STATE_UNSPECIFIED", |
719 "ACTIVE", | 791 "ACTIVE", |
720 "DISABLED", | 792 "DISABLED", |
721 "DELETED", | 793 "DELETED", |
722 "PROVISIONING" | 794 "PROVISIONING" |
723 ], | 795 ], |
724 "enumDescriptions": [ | 796 "enumDescriptions": [ |
725 "This value is disallowed.", | 797 "This value is disallowed.", |
726 "The device is active.", | 798 "The device is active.", |
727 "The device is disabled.", | 799 "The device is disabled.", |
728 "The device was deleted. This state will never be return
ed by an API call,\nbut will be used in the final policy compliance report publi
shed to Cloud\nPub/Sub when the device acknowledges the deletion.", | 800 "The device was deleted. This state will never be return
ed by an API call, but will be used in the final policy compliance report publis
hed to Cloud Pub/Sub when the device acknowledges the deletion.", |
729 "The device is being provisioned. Newly enrolled devices
will be in this\nstate until they have applied policy." | 801 "The device is being provisioned. Newly enrolled devices
will be in this state until they have applied policy." |
730 ], | 802 ], |
731 "type": "string" | 803 "type": "string" |
732 }, | 804 }, |
733 "enrollmentTokenData": { | 805 "enrollmentTokenData": { |
734 "description": "If this device was enrolled with an enrollme
nt token with additional data\nprovided, this field contains that data.", | 806 "description": "If this device was enrolled with an enrollme
nt token with additional data provided, this field contains that data.", |
735 "type": "string" | 807 "type": "string" |
736 }, | 808 }, |
737 "enrollmentTokenName": { | 809 "enrollmentTokenName": { |
738 "description": "If this device was enrolled with an enrollme
nt token, this field contains\nthe name of the token.", | 810 "description": "If this device was enrolled with an enrollme
nt token, this field contains the name of the token.", |
739 "type": "string" | 811 "type": "string" |
740 }, | 812 }, |
741 "memoryInfo": { | 813 "memoryInfo": { |
742 "$ref": "MemoryInfo", | 814 "$ref": "MemoryInfo", |
743 "description": "Memory information. This information is only
available when\n`memoryInfoEnabled` is true in the device's policy." | 815 "description": "Memory information. This information is only
available when memoryInfoEnabled is true in the device's policy." |
744 }, | 816 }, |
745 "state": { | 817 "state": { |
746 "description": "The state that is intended to be applied to
the device. This field may be\nmodified by an update request.\nNote that UpdateD
evice only handles toggling between `ACTIVE` and\n`DISABLED` states. Use the\n[d
elete device method](/android/management/reference/rest/v1/enterprises.devices/d
elete)\nto cause the device to enter the `DELETED` state.", | 818 "description": "The state that is intended to be applied to
the device. This field may be modified by an update request. Note that UpdateDev
ice only handles toggling between ACTIVE and DISABLED states. Use the delete dev
ice method to cause the device to enter the DELETED state.", |
747 "enum": [ | 819 "enum": [ |
748 "DEVICE_STATE_UNSPECIFIED", | 820 "DEVICE_STATE_UNSPECIFIED", |
749 "ACTIVE", | 821 "ACTIVE", |
750 "DISABLED", | 822 "DISABLED", |
751 "DELETED", | 823 "DELETED", |
752 "PROVISIONING" | 824 "PROVISIONING" |
753 ], | 825 ], |
754 "enumDescriptions": [ | 826 "enumDescriptions": [ |
755 "This value is disallowed.", | 827 "This value is disallowed.", |
756 "The device is active.", | 828 "The device is active.", |
757 "The device is disabled.", | 829 "The device is disabled.", |
758 "The device was deleted. This state will never be return
ed by an API call,\nbut will be used in the final policy compliance report publi
shed to Cloud\nPub/Sub when the device acknowledges the deletion.", | 830 "The device was deleted. This state will never be return
ed by an API call, but will be used in the final policy compliance report publis
hed to Cloud Pub/Sub when the device acknowledges the deletion.", |
759 "The device is being provisioned. Newly enrolled devices
will be in this\nstate until they have applied policy." | 831 "The device is being provisioned. Newly enrolled devices
will be in this state until they have applied policy." |
760 ], | 832 ], |
761 "type": "string" | 833 "type": "string" |
762 }, | 834 }, |
763 "softwareInfo": { | 835 "softwareInfo": { |
764 "$ref": "SoftwareInfo", | 836 "$ref": "SoftwareInfo", |
765 "description": "Detailed information about the device softwa
re. This information is only\navailable when `softwareInfoEnabled` is true in th
e device's policy." | 837 "description": "Detailed information about the device softwa
re. This information is only available when softwareInfoEnabled is true in the d
evice's policy." |
766 }, | 838 }, |
767 "memoryEvents": { | 839 "memoryEvents": { |
768 "description": "Events related to memory and storage measure
ments in chronological order.\nThis information is only available when `memoryIn
foEnabled` is true in the\ndevice's policy.", | 840 "description": "Events related to memory and storage measure
ments in chronological order. This information is only available when memoryInfo
Enabled is true in the device's policy.", |
769 "items": { | 841 "items": { |
770 "$ref": "MemoryEvent" | 842 "$ref": "MemoryEvent" |
771 }, | 843 }, |
772 "type": "array" | 844 "type": "array" |
773 }, | 845 }, |
774 "previousDeviceNames": { | 846 "previousDeviceNames": { |
775 "description": "The previous device names used for the same
physical device when it has\nbeen enrolled multiple times. The serial number is
used as the unique\nidentifier to determine if the same physical device has enro
lled\npreviously. The names are in chronological order.", | 847 "description": "The previous device names used for the same
physical device when it has been enrolled multiple times. The serial number is u
sed as the unique identifier to determine if the same physical device has enroll
ed previously. The names are in chronological order.", |
776 "items": { | 848 "items": { |
777 "type": "string" | 849 "type": "string" |
778 }, | 850 }, |
779 "type": "array" | 851 "type": "array" |
780 }, | 852 }, |
781 "policyCompliant": { | 853 "policyCompliant": { |
782 "description": "Whether the device is compliant with its pol
icy.", | 854 "description": "Whether the device is compliant with its pol
icy.", |
783 "type": "boolean" | 855 "type": "boolean" |
784 }, | 856 }, |
785 "lastStatusReportTime": { | 857 "lastStatusReportTime": { |
786 "description": "The last time the device sent a status repor
t.", | 858 "description": "The last time the device sent a status repor
t.", |
787 "format": "google-datetime", | 859 "format": "google-datetime", |
788 "type": "string" | 860 "type": "string" |
789 }, | 861 }, |
790 "name": { | 862 "name": { |
791 "description": "The name of the device in the form\n`enterpr
ises/{enterpriseId}/devices/{deviceId}`", | 863 "description": "The name of the device in the form enterpris
es/{enterpriseId}/devices/{deviceId}", |
792 "type": "string" | 864 "type": "string" |
793 }, | 865 }, |
794 "hardwareStatusSamples": { | 866 "hardwareStatusSamples": { |
795 "description": "Hardware status samples in chronological ord
er. This information is only\navailable when `hardwareStatusEnabled` is true in
the device's policy.", | 867 "description": "Hardware status samples in chronological ord
er. This information is only available when hardwareStatusEnabled is true in the
device's policy.", |
796 "items": { | 868 "items": { |
797 "$ref": "HardwareStatus" | 869 "$ref": "HardwareStatus" |
798 }, | 870 }, |
799 "type": "array" | 871 "type": "array" |
800 }, | 872 }, |
801 "enrollmentTime": { | 873 "enrollmentTime": { |
802 "description": "The time of device enrollment.", | 874 "description": "The time of device enrollment.", |
803 "format": "google-datetime", | 875 "format": "google-datetime", |
804 "type": "string" | 876 "type": "string" |
805 }, | 877 }, |
806 "appliedPolicyVersion": { | 878 "appliedPolicyVersion": { |
807 "description": "The version of the policy that is currently
applied by the device.", | 879 "description": "The version of the policy that is currently
applied by the device.", |
808 "format": "int64", | 880 "format": "int64", |
809 "type": "string" | 881 "type": "string" |
810 }, | 882 }, |
811 "apiLevel": { | 883 "apiLevel": { |
812 "description": "The API level of the Android platform versio
n running on the device.", | 884 "description": "The API level of the Android platform versio
n running on the device.", |
813 "format": "int32", | 885 "format": "int32", |
814 "type": "integer" | 886 "type": "integer" |
815 }, | 887 }, |
816 "hardwareInfo": { | 888 "hardwareInfo": { |
817 "$ref": "HardwareInfo", | 889 "$ref": "HardwareInfo", |
818 "description": "Detailed information about the device hardwa
re." | 890 "description": "Detailed information about the device hardwa
re." |
819 }, | 891 }, |
820 "appliedPolicyName": { | 892 "appliedPolicyName": { |
821 "description": "The name of the policy that is currently app
lied by the device.", | 893 "description": "The name of the policy that is currently app
lied by the device.", |
822 "type": "string" | 894 "type": "string" |
823 }, | 895 }, |
824 "displays": { | 896 "displays": { |
825 "description": "Displays on the device. This information is
only available when\n`displayInfoEnabled` is true in the device's policy.", | 897 "description": "Displays on the device. This information is
only available when displayInfoEnabled is true in the device's policy.", |
826 "items": { | 898 "items": { |
827 "$ref": "Display" | 899 "$ref": "Display" |
828 }, | 900 }, |
829 "type": "array" | 901 "type": "array" |
830 }, | 902 }, |
831 "powerManagementEvents": { | 903 "powerManagementEvents": { |
832 "description": "Power management events on the device in chr
onological order. This\ninformation is only available when `powerManagementEvent
sEnabled` is true\nin the device's policy.", | 904 "description": "Power management events on the device in chr
onological order. This information is only available when powerManagementEventsE
nabled is true in the device's policy.", |
833 "items": { | 905 "items": { |
834 "$ref": "PowerManagementEvent" | 906 "$ref": "PowerManagementEvent" |
835 }, | 907 }, |
836 "type": "array" | 908 "type": "array" |
837 } | 909 } |
838 }, | 910 }, |
839 "type": "object" | 911 "type": "object" |
840 }, | 912 }, |
841 "PermissionGrant": { | 913 "PermissionGrant": { |
842 "description": "Configuration for an Android permission and its gran
t state.", | 914 "description": "Configuration for an Android permission and its gran
t state.", |
843 "id": "PermissionGrant", | 915 "id": "PermissionGrant", |
844 "properties": { | 916 "properties": { |
845 "permission": { | 917 "permission": { |
846 "description": "The android permission, e.g. `android.permis
sion.READ_CALENDAR`.", | 918 "description": "The android permission, e.g. android.permiss
ion.READ_CALENDAR.", |
847 "type": "string" | 919 "type": "string" |
848 }, | 920 }, |
849 "policy": { | 921 "policy": { |
850 "description": "The policy for granting the permission.", | 922 "description": "The policy for granting the permission.", |
851 "enum": [ | 923 "enum": [ |
852 "PERMISSION_POLICY_UNSPECIFIED", | 924 "PERMISSION_POLICY_UNSPECIFIED", |
853 "PROMPT", | 925 "PROMPT", |
854 "GRANT", | 926 "GRANT", |
855 "DENY" | 927 "DENY" |
856 ], | 928 ], |
857 "enumDescriptions": [ | 929 "enumDescriptions": [ |
858 "Policy not specified. If no policy is specified for a p
ermission at any\nlevel, then the `PROMPT` behavior is used by default.", | 930 "Policy not specified. If no policy is specified for a p
ermission at any level, then the PROMPT behavior is used by default.", |
859 "Prompt the user to grant a permission.", | 931 "Prompt the user to grant a permission.", |
860 "Automatically grant a permission.", | 932 "Automatically grant a permission.", |
861 "Automatically deny a permission." | 933 "Automatically deny a permission." |
862 ], | 934 ], |
863 "type": "string" | 935 "type": "string" |
864 } | 936 } |
865 }, | 937 }, |
866 "type": "object" | 938 "type": "object" |
867 }, | 939 }, |
868 "Application": { | 940 "Application": { |
869 "description": "Application information.", | 941 "description": "Application information.", |
870 "id": "Application", | 942 "id": "Application", |
871 "properties": { | 943 "properties": { |
872 "managedProperties": { | 944 "managedProperties": { |
873 "description": "The set of managed properties available to b
e pre-configured for the\napplication.", | 945 "description": "The set of managed properties available to b
e pre-configured for the application.", |
874 "items": { | 946 "items": { |
875 "$ref": "ManagedProperty" | 947 "$ref": "ManagedProperty" |
876 }, | 948 }, |
877 "type": "array" | 949 "type": "array" |
878 }, | 950 }, |
879 "title": { | 951 "title": { |
880 "description": "The title of the application. Localized.", | 952 "description": "The title of the application. Localized.", |
881 "type": "string" | 953 "type": "string" |
882 }, | 954 }, |
883 "permissions": { | 955 "permissions": { |
884 "description": "The permissions required by the app.", | 956 "description": "The permissions required by the app.", |
885 "items": { | 957 "items": { |
886 "$ref": "ApplicationPermission" | 958 "$ref": "ApplicationPermission" |
887 }, | 959 }, |
888 "type": "array" | 960 "type": "array" |
889 }, | 961 }, |
890 "name": { | 962 "name": { |
891 "description": "The name of the application in the form\n`en
terprises/{enterpriseId}/applications/{package_name}`", | 963 "description": "The name of the application in the form ente
rprises/{enterpriseId}/applications/{package_name}", |
892 "type": "string" | 964 "type": "string" |
893 } | 965 } |
894 }, | 966 }, |
895 "type": "object" | 967 "type": "object" |
896 }, | 968 }, |
897 "Status": { | 969 "Status": { |
898 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` that can be used for common error conditions.\n\n# Lang
uage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n
\nThe error model and the `Status` message can be used in a variety of\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
across different environments.\n\nExample uses of this error model include:\n\n
- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | 970 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent wire protocols, it can be mapped differently. For example, it will likely
be mapped to some exceptions in Java, but more likely mapped to some error codes
in C.Other usesThe error model and the Status message can be used in a variety
of environments, either with or without APIs, to provide a consistent developer
experience across different environments.Example uses of this error model includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", |
899 "id": "Status", | 971 "id": "Status", |
900 "properties": { | 972 "properties": { |
901 "code": { | 973 "code": { |
902 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 974 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
903 "format": "int32", | 975 "format": "int32", |
904 "type": "integer" | 976 "type": "integer" |
905 }, | 977 }, |
906 "details": { | 978 "details": { |
907 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", | 979 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", |
908 "items": { | 980 "items": { |
909 "additionalProperties": { | 981 "additionalProperties": { |
910 "description": "Properties of the object. Contains f
ield @type with type URL.", | 982 "description": "Properties of the object. Contains f
ield @type with type URL.", |
911 "type": "any" | 983 "type": "any" |
912 }, | 984 }, |
913 "type": "object" | 985 "type": "object" |
914 }, | 986 }, |
915 "type": "array" | 987 "type": "array" |
916 }, | 988 }, |
917 "message": { | 989 "message": { |
918 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | 990 "description": "A developer-facing error message, which shou
ld be in English. Any user-facing error message should be localized and sent in
the google.rpc.Status.details field, or localized by the client.", |
919 "type": "string" | 991 "type": "string" |
920 } | 992 } |
921 }, | 993 }, |
922 "type": "object" | 994 "type": "object" |
923 }, | 995 }, |
924 "ApplicationPolicy": { | 996 "ApplicationPolicy": { |
925 "description": "Policy for an individual app.", | 997 "description": "Policy for an individual app.", |
926 "id": "ApplicationPolicy", | 998 "id": "ApplicationPolicy", |
927 "properties": { | 999 "properties": { |
928 "lockTaskAllowed": { | 1000 "lockTaskAllowed": { |
929 "description": "Whether the application is allowed to lock i
tself in full-screen mode.", | 1001 "description": "Whether the application is allowed to lock i
tself in full-screen mode.", |
930 "type": "boolean" | 1002 "type": "boolean" |
931 }, | 1003 }, |
932 "permissionGrants": { | 1004 "permissionGrants": { |
933 "description": "Explicit permission grants or denials for th
e app. These values override\nthe `default_permission_policy`.", | 1005 "description": "Explicit permission grants or denials for th
e app. These values override the default_permission_policy.", |
934 "items": { | 1006 "items": { |
935 "$ref": "PermissionGrant" | 1007 "$ref": "PermissionGrant" |
936 }, | 1008 }, |
937 "type": "array" | 1009 "type": "array" |
938 }, | 1010 }, |
939 "managedConfiguration": { | 1011 "managedConfiguration": { |
940 "additionalProperties": { | 1012 "additionalProperties": { |
941 "description": "Properties of the object.", | 1013 "description": "Properties of the object.", |
942 "type": "any" | 1014 "type": "any" |
943 }, | 1015 }, |
944 "description": "Managed configuration applied to the app. Th
e format for the configuration\nis dictated by the\n[`ManagedProperty`](/android
/management/reference/rest/v1/enterprises.applications#ManagedProperty)\nvalues
supported by the app. Each field name in the managed configuration\nmust match t
he `key` field of the `ManagedProperty`. The field value must\nbe compatible wit
h the `type` of the `ManagedProperty`:\n<table>\n<tr><td><i>type</i></td><td><i>
JSON value</i></td></tr>\n<tr><td>`BOOL`</td><td>`true` or `false`</td></tr>\n<t
r><td>`STRING`</td><td>string</td></tr>\n<tr><td>`INTEGER`</td><td>number</td></
tr>\n<tr><td>`CHOICE`</td><td>string</td></tr>\n<tr><td>`MULTISELECT`</td><td>ar
ray of strings</td></tr>\n<tr><td>`HIDDEN`</td><td>string</td></tr>\n<tr><td>`BU
NDLE_ARRAY`</td><td>array of objects</td></tr>\n</table>", | 1016 "description": "Managed configuration applied to the app. Th
e format for the configuration is dictated by the ManagedProperty values support
ed by the app. Each field name in the managed configuration must match the key f
ield of the ManagedProperty. The field value must be compatible with the type of
the ManagedProperty: <table> <tr><td><i>type</i></td><td><i>JSON value</i></td>
</tr> <tr><td>BOOL</td><td>true or false</td></tr> <tr><td>STRING</td><td>string
</td></tr> <tr><td>INTEGER</td><td>number</td></tr> <tr><td>CHOICE</td><td>strin
g</td></tr> <tr><td>MULTISELECT</td><td>array of strings</td></tr> <tr><td>HIDDE
N</td><td>string</td></tr> <tr><td>BUNDLE_ARRAY</td><td>array of objects</td></t
r> </table>", |
945 "type": "object" | 1017 "type": "object" |
946 }, | 1018 }, |
947 "packageName": { | 1019 "packageName": { |
948 "description": "The package name of the app, e.g. `com.googl
e.android.youtube` for the\nYouTube app.", | 1020 "description": "The package name of the app, e.g. com.google
.android.youtube for the YouTube app.", |
949 "type": "string" | 1021 "type": "string" |
950 }, | 1022 }, |
951 "installType": { | 1023 "installType": { |
952 "description": "The type of installation to perform.", | 1024 "description": "The type of installation to perform.", |
953 "enum": [ | 1025 "enum": [ |
954 "INSTALL_TYPE_UNSPECIFIED", | 1026 "INSTALL_TYPE_UNSPECIFIED", |
955 "PREINSTALLED", | 1027 "PREINSTALLED", |
956 "FORCE_INSTALLED" | 1028 "FORCE_INSTALLED" |
957 ], | 1029 ], |
958 "enumDescriptions": [ | 1030 "enumDescriptions": [ |
959 "No automatic installation is performed. Any other app p
olicies will be\napplied if the user installs the app.", | 1031 "No automatic installation is performed. Any other app p
olicies will be applied if the user installs the app.", |
960 "The application is automatically installed and can be r
emoved by the\nuser.", | 1032 "The application is automatically installed and can be r
emoved by the user.", |
961 "The application is automatically installed and cannot b
e removed by the\nuser." | 1033 "The application is automatically installed and cannot b
e removed by the user." |
962 ], | 1034 ], |
963 "type": "string" | 1035 "type": "string" |
964 }, | 1036 }, |
965 "defaultPermissionPolicy": { | 1037 "defaultPermissionPolicy": { |
966 "description": "The default policy for all permissions reque
sted by the app. If specified,\nthis overrides the policy-level `default_permiss
ion_policy` which applies\nto all apps.", | 1038 "description": "The default policy for all permissions reque
sted by the app. If specified, this overrides the policy-level default_permissio
n_policy which applies to all apps.", |
967 "enum": [ | 1039 "enum": [ |
968 "PERMISSION_POLICY_UNSPECIFIED", | 1040 "PERMISSION_POLICY_UNSPECIFIED", |
969 "PROMPT", | 1041 "PROMPT", |
970 "GRANT", | 1042 "GRANT", |
971 "DENY" | 1043 "DENY" |
972 ], | 1044 ], |
973 "enumDescriptions": [ | 1045 "enumDescriptions": [ |
974 "Policy not specified. If no policy is specified for a p
ermission at any\nlevel, then the `PROMPT` behavior is used by default.", | 1046 "Policy not specified. If no policy is specified for a p
ermission at any level, then the PROMPT behavior is used by default.", |
975 "Prompt the user to grant a permission.", | 1047 "Prompt the user to grant a permission.", |
976 "Automatically grant a permission.", | 1048 "Automatically grant a permission.", |
977 "Automatically deny a permission." | 1049 "Automatically deny a permission." |
978 ], | 1050 ], |
979 "type": "string" | 1051 "type": "string" |
980 } | 1052 } |
981 }, | 1053 }, |
982 "type": "object" | 1054 "type": "object" |
983 }, | 1055 }, |
984 "ApplicationPermission": { | 1056 "ApplicationPermission": { |
985 "description": "Application permission.", | 1057 "description": "Application permission.", |
986 "id": "ApplicationPermission", | 1058 "id": "ApplicationPermission", |
987 "properties": { | 1059 "properties": { |
988 "description": { | 1060 "description": { |
989 "description": "A longer description of the permission, givi
ng more details of\nwhat it affects. Localized.", | 1061 "description": "A longer description of the permission, givi
ng more details of what it affects. Localized.", |
990 "type": "string" | 1062 "type": "string" |
991 }, | 1063 }, |
992 "permissionId": { | 1064 "permissionId": { |
993 "description": "An opaque string uniquely identifying the pe
rmission. Not localized.", | 1065 "description": "An opaque string uniquely identifying the pe
rmission. Not localized.", |
994 "type": "string" | 1066 "type": "string" |
995 }, | 1067 }, |
996 "name": { | 1068 "name": { |
997 "description": "The name of the permission. Localized.", | 1069 "description": "The name of the permission. Localized.", |
998 "type": "string" | 1070 "type": "string" |
999 } | 1071 } |
1000 }, | 1072 }, |
1001 "type": "object" | 1073 "type": "object" |
1002 }, | 1074 }, |
1003 "ManagedProperty": { | 1075 "ManagedProperty": { |
1004 "description": "Managed property.", | 1076 "description": "Managed property.", |
1005 "id": "ManagedProperty", | 1077 "id": "ManagedProperty", |
1006 "properties": { | 1078 "properties": { |
1007 "nestedProperties": { | 1079 "nestedProperties": { |
1008 "description": "For `BUNDLE_ARRAY` properties, the list of n
ested properties. A\n`BUNDLE_ARRAY` property is at most two levels deep.", | 1080 "description": "For BUNDLE_ARRAY properties, the list of nes
ted properties. A BUNDLE_ARRAY property is at most two levels deep.", |
1009 "items": { | 1081 "items": { |
1010 "$ref": "ManagedProperty" | 1082 "$ref": "ManagedProperty" |
1011 }, | 1083 }, |
1012 "type": "array" | 1084 "type": "array" |
1013 }, | 1085 }, |
1014 "description": { | 1086 "description": { |
1015 "description": "A longer description of the property, giving
more detail of what it\naffects. Localized.", | 1087 "description": "A longer description of the property, giving
more detail of what it affects. Localized.", |
1016 "type": "string" | 1088 "type": "string" |
1017 }, | 1089 }, |
1018 "defaultValue": { | 1090 "defaultValue": { |
1019 "description": "The default value of the properties. `BUNDLE
_ARRAY` properties\nnever have a default value.", | 1091 "description": "The default value of the properties. BUNDLE_
ARRAY properties never have a default value.", |
1020 "type": "any" | 1092 "type": "any" |
1021 }, | 1093 }, |
1022 "title": { | 1094 "title": { |
1023 "description": "The name of the property. Localized.", | 1095 "description": "The name of the property. Localized.", |
1024 "type": "string" | 1096 "type": "string" |
1025 }, | 1097 }, |
1026 "key": { | 1098 "key": { |
1027 "description": "The unique key that the application uses to
identify the property,\ne.g. \"com.google.android.gm.fieldname\".", | 1099 "description": "The unique key that the application uses to
identify the property, e.g. \"com.google.android.gm.fieldname\".", |
1028 "type": "string" | 1100 "type": "string" |
1029 }, | 1101 }, |
1030 "entries": { | 1102 "entries": { |
1031 "description": "For `CHOICE` or `MULTISELECT` properties, th
e list\nof possible entries.", | 1103 "description": "For CHOICE or MULTISELECT properties, the li
st of possible entries.", |
1032 "items": { | 1104 "items": { |
1033 "$ref": "ManagedPropertyEntry" | 1105 "$ref": "ManagedPropertyEntry" |
1034 }, | 1106 }, |
1035 "type": "array" | 1107 "type": "array" |
1036 }, | 1108 }, |
1037 "type": { | 1109 "type": { |
1038 "description": "The type of the property.", | 1110 "description": "The type of the property.", |
1039 "enum": [ | 1111 "enum": [ |
1040 "MANAGED_PROPERTY_TYPE_UNSPECIFIED", | 1112 "MANAGED_PROPERTY_TYPE_UNSPECIFIED", |
1041 "BOOL", | 1113 "BOOL", |
1042 "STRING", | 1114 "STRING", |
1043 "INTEGER", | 1115 "INTEGER", |
1044 "CHOICE", | 1116 "CHOICE", |
1045 "MULTISELECT", | 1117 "MULTISELECT", |
1046 "HIDDEN", | 1118 "HIDDEN", |
1047 "BUNDLE_ARRAY" | 1119 "BUNDLE_ARRAY" |
1048 ], | 1120 ], |
1049 "enumDescriptions": [ | 1121 "enumDescriptions": [ |
1050 "Not used.", | 1122 "Not used.", |
1051 "A property of boolean type.", | 1123 "A property of boolean type.", |
1052 "A property of string type.", | 1124 "A property of string type.", |
1053 "A property of integer type.", | 1125 "A property of integer type.", |
1054 "A choice of one item from a set.", | 1126 "A choice of one item from a set.", |
1055 "A choice of multiple items from a set.", | 1127 "A choice of multiple items from a set.", |
1056 "A hidden restriction of string type (the default value
can be used\nto pass along information that cannot be modified, such as a versio
n\ncode).", | 1128 "A hidden restriction of string type (the default value
can be used to pass along information that cannot be modified, such as a version
code).", |
1057 "An array of property bundles." | 1129 "An array of property bundles." |
1058 ], | 1130 ], |
1059 "type": "string" | 1131 "type": "string" |
1060 } | 1132 } |
1061 }, | 1133 }, |
1062 "type": "object" | 1134 "type": "object" |
1063 }, | 1135 }, |
1064 "Operation": { | 1136 "Operation": { |
1065 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 1137 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1066 "id": "Operation", | 1138 "id": "Operation", |
1067 "properties": { | 1139 "properties": { |
1068 "error": { | 1140 "error": { |
1069 "$ref": "Status", | 1141 "$ref": "Status", |
1070 "description": "The error result of the operation in case of
failure or cancellation." | 1142 "description": "The error result of the operation in case of
failure or cancellation." |
1071 }, | 1143 }, |
1072 "done": { | 1144 "done": { |
1073 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | 1145 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", |
1074 "type": "boolean" | 1146 "type": "boolean" |
1075 }, | 1147 }, |
1076 "metadata": { | 1148 "metadata": { |
1077 "additionalProperties": { | 1149 "additionalProperties": { |
1078 "description": "Properties of the object. Contains field
@type with type URL.", | 1150 "description": "Properties of the object. Contains field
@type with type URL.", |
1079 "type": "any" | 1151 "type": "any" |
1080 }, | 1152 }, |
1081 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | 1153 "description": "Service-specific metadata associated with th
e operation. It typically contains progress information and common metadata such
as create time. Some services might not provide such metadata. Any method that
returns a long-running operation should document the metadata type, if any.", |
1082 "type": "object" | 1154 "type": "object" |
1083 }, | 1155 }, |
1084 "response": { | 1156 "response": { |
1085 "additionalProperties": { | 1157 "additionalProperties": { |
1086 "description": "Properties of the object. Contains field
@type with type URL.", | 1158 "description": "Properties of the object. Contains field
@type with type URL.", |
1087 "type": "any" | 1159 "type": "any" |
1088 }, | 1160 }, |
1089 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | 1161 "description": "The normal response of the operation in case
of success. If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty. If the original method is standard Get/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", |
1090 "type": "object" | 1162 "type": "object" |
1091 }, | 1163 }, |
1092 "name": { | 1164 "name": { |
1093 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | 1165 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", |
1094 "type": "string" | 1166 "type": "string" |
1095 } | 1167 } |
1096 }, | 1168 }, |
1097 "type": "object" | 1169 "type": "object" |
1098 }, | 1170 }, |
1099 "NonComplianceDetailCondition": { | 1171 "NonComplianceDetailCondition": { |
1100 "description": "A compliance rule condition which is satisfied if th
ere exists *any*\nmatching\n[`NonComplianceDetail`](/android/management/referenc
e/rest/v1/enterprises.devices#NonComplianceDetail)\nfor the device. A `NonCompli
anceDetail` matches a\n`NonComplianceDetailCondition` if *all* the fields which
are set within the\n`NonComplianceDetailCondition` match the corresponding `NonC
omplianceDetail`\nfields.", | 1172 "description": "A compliance rule condition which is satisfied if th
ere exists any matching NonComplianceDetail for the device. A NonComplianceDetai
l matches a NonComplianceDetailCondition if all the fields which are set within
the NonComplianceDetailCondition match the corresponding NonComplianceDetail fie
lds.", |
1101 "id": "NonComplianceDetailCondition", | 1173 "id": "NonComplianceDetailCondition", |
1102 "properties": { | 1174 "properties": { |
1103 "nonComplianceReason": { | 1175 "nonComplianceReason": { |
1104 "description": "The reason the device is not in compliance w
ith the setting. If not set,\nthen this condition matches any reason.", | 1176 "description": "The reason the device is not in compliance w
ith the setting. If not set, then this condition matches any reason.", |
1105 "enum": [ | 1177 "enum": [ |
1106 "NON_COMPLIANCE_REASON_UNSPECIFIED", | 1178 "NON_COMPLIANCE_REASON_UNSPECIFIED", |
1107 "API_LEVEL", | 1179 "API_LEVEL", |
1108 "ADMIN_TYPE", | 1180 "ADMIN_TYPE", |
1109 "USER_ACTION", | 1181 "USER_ACTION", |
1110 "INVALID_VALUE", | 1182 "INVALID_VALUE", |
1111 "APP_NOT_INSTALLED", | 1183 "APP_NOT_INSTALLED", |
1112 "UNSUPPORTED", | 1184 "UNSUPPORTED", |
1113 "APP_INSTALLED", | 1185 "APP_INSTALLED", |
1114 "PENDING", | 1186 "PENDING", |
1115 "APP_INCOMPATIBLE" | 1187 "APP_INCOMPATIBLE" |
1116 ], | 1188 ], |
1117 "enumDescriptions": [ | 1189 "enumDescriptions": [ |
1118 "This value is disallowed.", | 1190 "This value is disallowed.", |
1119 "The setting is not supported in the API level of Androi
d OS version the\ndevice is running.", | 1191 "The setting is not supported in the API level of Androi
d OS version the device is running.", |
1120 "The admin type (profile owner, device owner, etc.) does
not support the\nsetting.", | 1192 "The admin type (profile owner, device owner, etc.) does
not support the setting.", |
1121 "The user has not taken required action to comply with t
he setting.", | 1193 "The user has not taken required action to comply with t
he setting.", |
1122 "The setting has an invalid value.", | 1194 "The setting has an invalid value.", |
1123 "The application required to implement the policy is not
installed.", | 1195 "The application required to implement the policy is not
installed.", |
1124 "The policy is not supported by the version of Android D
evice Policy on\nthe device.", | 1196 "The policy is not supported by the version of Android D
evice Policy on the device.", |
1125 "A blocked application is installed.", | 1197 "A blocked application is installed.", |
1126 "The setting was not applied yet at the time of the repo
rt, but is\nexpected to be applied shortly.", | 1198 "The setting was not applied yet at the time of the repo
rt, but is expected to be applied shortly.", |
1127 "The setting cannot be applied to the application becaus
e its target SDK\nversion is not high enough." | 1199 "The setting cannot be applied to the application becaus
e its target SDK version is not high enough." |
1128 ], | 1200 ], |
1129 "type": "string" | 1201 "type": "string" |
1130 }, | 1202 }, |
1131 "settingName": { | 1203 "settingName": { |
1132 "description": "The name of the policy setting. This is the
JSON field name of a top-level\n[`Policy`](/android/management/reference/rest/v1
/enterprises.policies#Policy)\nfield. If not set, then this condition matches an
y setting name.", | 1204 "description": "The name of the policy setting. This is the
JSON field name of a top-level Policy field. If not set, then this condition mat
ches any setting name.", |
1133 "type": "string" | 1205 "type": "string" |
1134 }, | 1206 }, |
1135 "packageName": { | 1207 "packageName": { |
1136 "description": "The package name indicating which applicatio
n is out of compliance. If not\nset, then this condition matches any package nam
e. If this field is set,\nthen `setting_name` must be unset or set to `applicati
ons`; otherwise, the\ncondition would never be satisfied.", | 1208 "description": "The package name indicating which applicatio
n is out of compliance. If not set, then this condition matches any package name
. If this field is set, then setting_name must be unset or set to applications;
otherwise, the condition would never be satisfied.", |
1137 "type": "string" | 1209 "type": "string" |
1138 } | 1210 } |
1139 }, | 1211 }, |
1140 "type": "object" | 1212 "type": "object" |
1141 }, | 1213 }, |
1142 "NonComplianceDetail": { | 1214 "NonComplianceDetail": { |
1143 "description": "Provides detail about non-compliance with a policy s
etting.", | 1215 "description": "Provides detail about non-compliance with a policy s
etting.", |
1144 "id": "NonComplianceDetail", | 1216 "id": "NonComplianceDetail", |
1145 "properties": { | 1217 "properties": { |
1146 "settingName": { | 1218 "settingName": { |
1147 "description": "The name of the policy setting. This is the
JSON field name of a top-level\n[`Policy`](/android/management/reference/rest/v1
/enterprises.policies#Policy)\n field.", | 1219 "description": "The name of the policy setting. This is the
JSON field name of a top-level Policy field.", |
1148 "type": "string" | 1220 "type": "string" |
1149 }, | 1221 }, |
1150 "currentValue": { | 1222 "currentValue": { |
1151 "description": "If the policy setting could not be applied,
the current value of the\nsetting on the device.", | 1223 "description": "If the policy setting could not be applied,
the current value of the setting on the device.", |
1152 "type": "any" | 1224 "type": "any" |
1153 }, | 1225 }, |
1154 "packageName": { | 1226 "packageName": { |
1155 "description": "The package name indicating which applicatio
n is out of compliance, if\napplicable.", | 1227 "description": "The package name indicating which applicatio
n is out of compliance, if applicable.", |
1156 "type": "string" | 1228 "type": "string" |
1157 }, | 1229 }, |
1158 "installationFailureReason": { | 1230 "installationFailureReason": { |
1159 "description": "If `package_name` is set and the non-complia
nce reason is\n`APP_NOT_INSTALLED`, the detailed reason the app cannot be instal
led.", | 1231 "description": "If package_name is set and the non-complianc
e reason is APP_NOT_INSTALLED, the detailed reason the app cannot be installed."
, |
1160 "enum": [ | 1232 "enum": [ |
1161 "INSTALLATION_FAILURE_REASON_UNSPECIFIED", | 1233 "INSTALLATION_FAILURE_REASON_UNSPECIFIED", |
1162 "INSTALLATION_FAILURE_REASON_UNKNOWN", | 1234 "INSTALLATION_FAILURE_REASON_UNKNOWN", |
1163 "IN_PROGRESS", | 1235 "IN_PROGRESS", |
1164 "NOT_FOUND", | 1236 "NOT_FOUND", |
1165 "NOT_COMPATIBLE_WITH_DEVICE", | 1237 "NOT_COMPATIBLE_WITH_DEVICE", |
1166 "NOT_APPROVED", | 1238 "NOT_APPROVED", |
1167 "PERMISSIONS_NOT_ACCEPTED", | 1239 "PERMISSIONS_NOT_ACCEPTED", |
1168 "NOT_AVAILABLE_IN_COUNTRY", | 1240 "NOT_AVAILABLE_IN_COUNTRY", |
1169 "NO_LICENSES_REMAINING", | 1241 "NO_LICENSES_REMAINING", |
1170 "NOT_ENROLLED" | 1242 "NOT_ENROLLED", |
| 1243 "USER_INVALID" |
1171 ], | 1244 ], |
1172 "enumDescriptions": [ | 1245 "enumDescriptions": [ |
1173 "This value is disallowed.", | 1246 "This value is disallowed.", |
1174 "An unknown condition is preventing the app from being i
nstalled. Some\npotential reaons are that the device does not have enough storag
e, the\ndevice network connection is unreliable, or the installation is taking\n
longer than expected. The installation will be retried automatically.", | 1247 "An unknown condition is preventing the app from being i
nstalled. Some potential reaons are that the device does not have enough storage
, the device network connection is unreliable, or the installation is taking lon
ger than expected. The installation will be retried automatically.", |
1175 "The installation is still in progress.", | 1248 "The installation is still in progress.", |
1176 "The app was not found in Play.", | 1249 "The app was not found in Play.", |
1177 "The app is incompatible with the device.", | 1250 "The app is incompatible with the device.", |
1178 "The app has not been approved by the admin.", | 1251 "The app has not been approved by the admin.", |
1179 "The app has new permissions that have not been accepted
by the admin.", | 1252 "The app has new permissions that have not been accepted
by the admin.", |
1180 "The app is not available in the user's country.", | 1253 "The app is not available in the user's country.", |
1181 "There are no more licenses to assign to the user.", | 1254 "There are no more licenses to assign to the user.", |
1182 "The enterprise is no longer enrolled with Play for Work
or Android Device\nPolicy is not enabled for the enterprise." | 1255 "The enterprise is no longer enrolled with Play for Work
or Android Device Policy is not enabled for the enterprise.", |
| 1256 "The user is no longer valid. The user may have been del
eted or disabled." |
1183 ], | 1257 ], |
1184 "type": "string" | 1258 "type": "string" |
1185 }, | 1259 }, |
1186 "fieldPath": { | 1260 "fieldPath": { |
1187 "description": "For settings with nested fields, if a partic
ular nested field is out of\ncompliance, this specifies the full path to the off
ending field. The path\nis formatted in the same way the policy JSON field would
be referenced in\nJavaScript, that is:\n1) For object-typed fields, the field n
ame is followed by a dot then by a\n subfield name.\n2) For array-typed fields
, the field name is followed by the array index\n enclosed in brackets.\nFor e
xample, to indicate a problem with the `url` field in the\n`externalData` field
in the 3rd application, the path would be\n`applications[2].externalData.url`", | 1261 "description": "For settings with nested fields, if a partic
ular nested field is out of compliance, this specifies the full path to the offe
nding field. The path is formatted in the same way the policy JSON field would b
e referenced in JavaScript, that is: 1) For object-typed fields, the field name
is followed by a dot then by a subfield name. 2) For array-typed fields, the fi
eld name is followed by the array index enclosed in brackets. For example, to i
ndicate a problem with the url field in the externalData field in the 3rd applic
ation, the path would be applications[2].externalData.url", |
1188 "type": "string" | 1262 "type": "string" |
1189 }, | 1263 }, |
1190 "nonComplianceReason": { | 1264 "nonComplianceReason": { |
1191 "description": "The reason the device is not in compliance w
ith the setting.", | 1265 "description": "The reason the device is not in compliance w
ith the setting.", |
1192 "enum": [ | 1266 "enum": [ |
1193 "NON_COMPLIANCE_REASON_UNSPECIFIED", | 1267 "NON_COMPLIANCE_REASON_UNSPECIFIED", |
1194 "API_LEVEL", | 1268 "API_LEVEL", |
1195 "ADMIN_TYPE", | 1269 "ADMIN_TYPE", |
1196 "USER_ACTION", | 1270 "USER_ACTION", |
1197 "INVALID_VALUE", | 1271 "INVALID_VALUE", |
1198 "APP_NOT_INSTALLED", | 1272 "APP_NOT_INSTALLED", |
1199 "UNSUPPORTED", | 1273 "UNSUPPORTED", |
1200 "APP_INSTALLED", | 1274 "APP_INSTALLED", |
1201 "PENDING", | 1275 "PENDING", |
1202 "APP_INCOMPATIBLE" | 1276 "APP_INCOMPATIBLE" |
1203 ], | 1277 ], |
1204 "enumDescriptions": [ | 1278 "enumDescriptions": [ |
1205 "This value is disallowed.", | 1279 "This value is disallowed.", |
1206 "The setting is not supported in the API level of Androi
d OS version the\ndevice is running.", | 1280 "The setting is not supported in the API level of Androi
d OS version the device is running.", |
1207 "The admin type (profile owner, device owner, etc.) does
not support the\nsetting.", | 1281 "The admin type (profile owner, device owner, etc.) does
not support the setting.", |
1208 "The user has not taken required action to comply with t
he setting.", | 1282 "The user has not taken required action to comply with t
he setting.", |
1209 "The setting has an invalid value.", | 1283 "The setting has an invalid value.", |
1210 "The application required to implement the policy is not
installed.", | 1284 "The application required to implement the policy is not
installed.", |
1211 "The policy is not supported by the version of Android D
evice Policy on\nthe device.", | 1285 "The policy is not supported by the version of Android D
evice Policy on the device.", |
1212 "A blocked application is installed.", | 1286 "A blocked application is installed.", |
1213 "The setting was not applied yet at the time of the repo
rt, but is\nexpected to be applied shortly.", | 1287 "The setting was not applied yet at the time of the repo
rt, but is expected to be applied shortly.", |
1214 "The setting cannot be applied to the application becaus
e its target SDK\nversion is not high enough." | 1288 "The setting cannot be applied to the application becaus
e its target SDK version is not high enough." |
1215 ], | 1289 ], |
1216 "type": "string" | 1290 "type": "string" |
1217 } | 1291 } |
1218 }, | 1292 }, |
1219 "type": "object" | 1293 "type": "object" |
1220 }, | 1294 }, |
1221 "ListDevicesResponse": { | 1295 "ListDevicesResponse": { |
1222 "description": "Response to a request to list devices for a given en
terprise.", | 1296 "description": "Response to a request to list devices for a given en
terprise.", |
1223 "id": "ListDevicesResponse", | 1297 "id": "ListDevicesResponse", |
1224 "properties": { | 1298 "properties": { |
1225 "nextPageToken": { | 1299 "nextPageToken": { |
1226 "description": "If there are more results, a token to retrie
ve next page of results.", | 1300 "description": "If there are more results, a token to retrie
ve next page of results.", |
1227 "type": "string" | 1301 "type": "string" |
1228 }, | 1302 }, |
1229 "devices": { | 1303 "devices": { |
1230 "description": "The list of devices.", | 1304 "description": "The list of devices.", |
1231 "items": { | 1305 "items": { |
1232 "$ref": "Device" | 1306 "$ref": "Device" |
1233 }, | 1307 }, |
1234 "type": "array" | 1308 "type": "array" |
1235 } | 1309 } |
1236 }, | 1310 }, |
1237 "type": "object" | 1311 "type": "object" |
1238 }, | 1312 }, |
1239 "PersistentPreferredActivity": { | 1313 "PersistentPreferredActivity": { |
1240 "description": "A default activity for handling intents that match a
particular intent\nfilter.", | 1314 "description": "A default activity for handling intents that match a
particular intent filter.", |
1241 "id": "PersistentPreferredActivity", | 1315 "id": "PersistentPreferredActivity", |
1242 "properties": { | 1316 "properties": { |
1243 "receiverActivity": { | 1317 "receiverActivity": { |
1244 "description": "The activity that should be the default inte
nt handler. This should be an\nAndroid component name, e.g. `com.android.enterpr
ise.app/.MainActivity`.\nAlternatively, the value may be the package name of an
app, which causes\nAndroid Device Policy to choose an appropriate activity from
the app to\nhandle the intent.", | 1318 "description": "The activity that should be the default inte
nt handler. This should be an Android component name, e.g. com.android.enterpris
e.app/.MainActivity. Alternatively, the value may be the package name of an app,
which causes Android Device Policy to choose an appropriate activity from the a
pp to handle the intent.", |
1245 "type": "string" | 1319 "type": "string" |
1246 }, | 1320 }, |
1247 "actions": { | 1321 "actions": { |
1248 "description": "The intent actions to match in the filter.
If any actions are included in\nthe filter, then an intent's action must be one
of those values for it to\nmatch. If no actions are included, the intent action
is ignored.", | 1322 "description": "The intent actions to match in the filter. I
f any actions are included in the filter, then an intent's action must be one of
those values for it to match. If no actions are included, the intent action is
ignored.", |
1249 "items": { | 1323 "items": { |
1250 "type": "string" | 1324 "type": "string" |
1251 }, | 1325 }, |
1252 "type": "array" | 1326 "type": "array" |
1253 }, | 1327 }, |
1254 "categories": { | 1328 "categories": { |
1255 "description": "The intent categories to match in the filter
. An intent includes the\ncategories that it requires, all of which must be inc
luded in the filter in\norder to match. In other words, adding a category to the
filter has no\nimpact on matching unless that category is specified in the inte
nt.", | 1329 "description": "The intent categories to match in the filter
. An intent includes the categories that it requires, all of which must be inclu
ded in the filter in order to match. In other words, adding a category to the fi
lter has no impact on matching unless that category is specified in the intent."
, |
1256 "items": { | 1330 "items": { |
1257 "type": "string" | 1331 "type": "string" |
1258 }, | 1332 }, |
1259 "type": "array" | 1333 "type": "array" |
1260 } | 1334 } |
1261 }, | 1335 }, |
1262 "type": "object" | 1336 "type": "object" |
1263 }, | 1337 }, |
1264 "Policy": { | 1338 "Policy": { |
1265 "description": "A policy, which governs behavior for a device.", | 1339 "description": "A policy, which governs behavior for a device.", |
1266 "id": "Policy", | 1340 "id": "Policy", |
1267 "properties": { | 1341 "properties": { |
1268 "openNetworkConfiguration": { | 1342 "openNetworkConfiguration": { |
1269 "additionalProperties": { | 1343 "additionalProperties": { |
1270 "description": "Properties of the object.", | 1344 "description": "Properties of the object.", |
1271 "type": "any" | 1345 "type": "any" |
1272 }, | 1346 }, |
1273 "description": "Network configuration for the device. See\n[
configure networks](/android/management/configure-networks)\nfor more informatio
n.", | 1347 "description": "Network configuration for the device. See co
nfigure networks for more information.", |
1274 "type": "object" | 1348 "type": "object" |
1275 }, | 1349 }, |
1276 "adjustVolumeDisabled": { | 1350 "adjustVolumeDisabled": { |
1277 "description": "Whether adjusting the master volume is disab
led.", | 1351 "description": "Whether adjusting the master volume is disab
led.", |
1278 "type": "boolean" | 1352 "type": "boolean" |
1279 }, | 1353 }, |
1280 "passwordRequirements": { | 1354 "passwordRequirements": { |
1281 "$ref": "PasswordRequirements", | 1355 "$ref": "PasswordRequirements", |
1282 "description": "Password requirements." | 1356 "description": "Password requirements." |
1283 }, | 1357 }, |
1284 "modifyAccountsDisabled": { | 1358 "modifyAccountsDisabled": { |
1285 "description": "Whether adding or removing accounts is disab
led.", | 1359 "description": "Whether adding or removing accounts is disab
led.", |
1286 "type": "boolean" | 1360 "type": "boolean" |
1287 }, | 1361 }, |
1288 "statusReportingSettings": { | 1362 "statusReportingSettings": { |
1289 "$ref": "StatusReportingSettings", | 1363 "$ref": "StatusReportingSettings", |
1290 "description": "Status reporting settings" | 1364 "description": "Status reporting settings" |
1291 }, | 1365 }, |
1292 "factoryResetDisabled": { | 1366 "factoryResetDisabled": { |
1293 "description": "Whether factory resetting from settings is d
isabled.", | 1367 "description": "Whether factory resetting from settings is d
isabled.", |
1294 "type": "boolean" | 1368 "type": "boolean" |
1295 }, | 1369 }, |
| 1370 "funDisabled": { |
| 1371 "description": "Whether the user is allowed to have fun. Con
trols whether the Easter egg game in Settings is disabled.", |
| 1372 "type": "boolean" |
| 1373 }, |
1296 "applications": { | 1374 "applications": { |
1297 "description": "Policy applied to apps.", | 1375 "description": "Policy applied to apps.", |
1298 "items": { | 1376 "items": { |
1299 "$ref": "ApplicationPolicy" | 1377 "$ref": "ApplicationPolicy" |
1300 }, | 1378 }, |
1301 "type": "array" | 1379 "type": "array" |
1302 }, | 1380 }, |
1303 "safeBootDisabled": { | 1381 "safeBootDisabled": { |
1304 "description": "Whether rebooting the device into safe boot
is disabled.", | 1382 "description": "Whether rebooting the device into safe boot
is disabled.", |
1305 "type": "boolean" | 1383 "type": "boolean" |
1306 }, | 1384 }, |
1307 "complianceRules": { | 1385 "complianceRules": { |
1308 "description": "Rules declaring which mitigating actions to
take when a device is not\ncompliant with its policy. When the conditions for mu
ltiple rules are\nsatisfied, all of the mitigating actions for the rules are tak
en. There is\na maximum limit of 100 rules.", | 1386 "description": "Rules declaring which mitigating actions to
take when a device is not compliant with its policy. When the conditions for mul
tiple rules are satisfied, all of the mitigating actions for the rules are taken
. There is a maximum limit of 100 rules.", |
1309 "items": { | 1387 "items": { |
1310 "$ref": "ComplianceRule" | 1388 "$ref": "ComplianceRule" |
1311 }, | 1389 }, |
1312 "type": "array" | 1390 "type": "array" |
1313 }, | 1391 }, |
1314 "unmuteMicrophoneDisabled": { | 1392 "unmuteMicrophoneDisabled": { |
1315 "description": "Whether the microphone is muted and adjustin
g microphone volume is\ndisabled.", | 1393 "description": "Whether the microphone is muted and adjustin
g microphone volume is disabled.", |
1316 "type": "boolean" | 1394 "type": "boolean" |
1317 }, | 1395 }, |
1318 "installUnknownSourcesAllowed": { | 1396 "installUnknownSourcesAllowed": { |
1319 "description": "Whether the user is allowed to enable the \"
Unknown Sources\" setting,\nwhich allows installation of apps from unknown sourc
es.", | 1397 "description": "Whether the user is allowed to enable the \"
Unknown Sources\" setting, which allows installation of apps from unknown source
s.", |
1320 "type": "boolean" | 1398 "type": "boolean" |
1321 }, | 1399 }, |
1322 "removeUserDisabled": { | 1400 "removeUserDisabled": { |
1323 "description": "Whether removing other users is disabled.", | 1401 "description": "Whether removing other users is disabled.", |
1324 "type": "boolean" | 1402 "type": "boolean" |
1325 }, | 1403 }, |
1326 "statusBarDisabled": { | 1404 "statusBarDisabled": { |
1327 "description": "Whether the status bar is disabled. This dis
ables notifications, quick\nsettings and other screen overlays that allow escape
from full-screen mode.", | 1405 "description": "Whether the status bar is disabled. This dis
ables notifications, quick settings and other screen overlays that allow escape
from full-screen mode.", |
1328 "type": "boolean" | 1406 "type": "boolean" |
1329 }, | 1407 }, |
1330 "stayOnPluggedModes": { | 1408 "stayOnPluggedModes": { |
1331 "description": "The battery plugged in modes for which the d
evice stays on. When using this\nsetting, it is recommended to clear `maximum_ti
me_to_lock` so that the\ndevice doesn't lock itself while it stays on.", | 1409 "description": "The battery plugged in modes for which the d
evice stays on. When using this setting, it is recommended to clear maximum_time
_to_lock so that the device doesn't lock itself while it stays on.", |
1332 "enumDescriptions": [ | 1410 "enumDescriptions": [ |
1333 "This value is ignored.", | 1411 "This value is ignored.", |
1334 "Power source is an AC charger.", | 1412 "Power source is an AC charger.", |
1335 "Power source is a USB port.", | 1413 "Power source is a USB port.", |
1336 "Power source is wireless." | 1414 "Power source is wireless." |
1337 ], | 1415 ], |
1338 "items": { | 1416 "items": { |
1339 "enum": [ | 1417 "enum": [ |
1340 "BATTERY_PLUGGED_MODE_UNSPECIFIED", | 1418 "BATTERY_PLUGGED_MODE_UNSPECIFIED", |
1341 "AC", | 1419 "AC", |
1342 "USB", | 1420 "USB", |
1343 "WIRELESS" | 1421 "WIRELESS" |
1344 ], | 1422 ], |
1345 "type": "string" | 1423 "type": "string" |
1346 }, | 1424 }, |
1347 "type": "array" | 1425 "type": "array" |
1348 }, | 1426 }, |
1349 "cameraDisabled": { | 1427 "cameraDisabled": { |
1350 "description": "Whether all cameras on the device are disabl
ed.", | 1428 "description": "Whether all cameras on the device are disabl
ed.", |
1351 "type": "boolean" | 1429 "type": "boolean" |
1352 }, | 1430 }, |
1353 "blockApplicationsEnabled": { | 1431 "blockApplicationsEnabled": { |
1354 "description": "Whether applications other than the ones con
figured in `applications` are\nblocked from being installed. When set, applicati
ons that were\ninstalled under a previous policy but no longer appear in the pol
icy are\nautomatically uninstalled.", | 1432 "description": "Whether applications other than the ones con
figured in applications are blocked from being installed. When set, applications
that were installed under a previous policy but no longer appear in the policy
are automatically uninstalled.", |
1355 "type": "boolean" | 1433 "type": "boolean" |
1356 }, | 1434 }, |
1357 "debuggingFeaturesAllowed": { | 1435 "debuggingFeaturesAllowed": { |
1358 "description": "Whether the user is allowed to enable debugg
ing features.", | 1436 "description": "Whether the user is allowed to enable debugg
ing features.", |
1359 "type": "boolean" | 1437 "type": "boolean" |
1360 }, | 1438 }, |
1361 "maximumTimeToLock": { | 1439 "maximumTimeToLock": { |
1362 "description": "Maximum time in milliseconds for user activi
ty until the device will lock.\nA value of 0 means there is no restriction.", | 1440 "description": "Maximum time in milliseconds for user activi
ty until the device will lock. A value of 0 means there is no restriction.", |
1363 "format": "int64", | 1441 "format": "int64", |
1364 "type": "string" | 1442 "type": "string" |
1365 }, | 1443 }, |
1366 "name": { | 1444 "name": { |
1367 "description": "The name of the policy in the form\n`enterpr
ises/{enterpriseId}/policies/{policyId}`", | 1445 "description": "The name of the policy in the form enterpris
es/{enterpriseId}/policies/{policyId}", |
1368 "type": "string" | 1446 "type": "string" |
1369 }, | 1447 }, |
1370 "defaultPermissionPolicy": { | 1448 "defaultPermissionPolicy": { |
1371 "description": "The default permission policy for requests f
or runtime permissions.", | 1449 "description": "The default permission policy for requests f
or runtime permissions.", |
1372 "enum": [ | 1450 "enum": [ |
1373 "PERMISSION_POLICY_UNSPECIFIED", | 1451 "PERMISSION_POLICY_UNSPECIFIED", |
1374 "PROMPT", | 1452 "PROMPT", |
1375 "GRANT", | 1453 "GRANT", |
1376 "DENY" | 1454 "DENY" |
1377 ], | 1455 ], |
1378 "enumDescriptions": [ | 1456 "enumDescriptions": [ |
1379 "Policy not specified. If no policy is specified for a p
ermission at any\nlevel, then the `PROMPT` behavior is used by default.", | 1457 "Policy not specified. If no policy is specified for a p
ermission at any level, then the PROMPT behavior is used by default.", |
1380 "Prompt the user to grant a permission.", | 1458 "Prompt the user to grant a permission.", |
1381 "Automatically grant a permission.", | 1459 "Automatically grant a permission.", |
1382 "Automatically deny a permission." | 1460 "Automatically deny a permission." |
1383 ], | 1461 ], |
1384 "type": "string" | 1462 "type": "string" |
1385 }, | 1463 }, |
1386 "persistentPreferredActivities": { | 1464 "persistentPreferredActivities": { |
1387 "description": "Default intent handler activities.", | 1465 "description": "Default intent handler activities.", |
1388 "items": { | 1466 "items": { |
1389 "$ref": "PersistentPreferredActivity" | 1467 "$ref": "PersistentPreferredActivity" |
1390 }, | 1468 }, |
1391 "type": "array" | 1469 "type": "array" |
1392 }, | 1470 }, |
1393 "networkEscapeHatchEnabled": { | 1471 "networkEscapeHatchEnabled": { |
1394 "description": "Flag to specify if network escape hatch is e
nabled. If this flag has been\nenabled then upon device boot if device has no ne
twork connection, then an\nactivity will be shown that allows the user to tempor
arily connect to a\nnetwork to fetch the latest policy. The launched activity wi
ll time out if\nno network has been connected for a given while and will return
to the\nprevious activity that was shown.", | 1472 "description": "Flag to specify if network escape hatch is e
nabled. If this flag has been enabled then upon device boot if device has no net
work connection, then an activity will be shown that allows the user to temporar
ily connect to a network to fetch the latest policy. The launched activity will
time out if no network has been connected for a given while and will return to t
he previous activity that was shown.", |
1395 "type": "boolean" | 1473 "type": "boolean" |
1396 }, | 1474 }, |
1397 "systemUpdate": { | 1475 "systemUpdate": { |
1398 "$ref": "SystemUpdate", | 1476 "$ref": "SystemUpdate", |
1399 "description": "The system update policy, which controls how
OS updates are applied. If the\nupdate type is `WINDOWED` and the device has a
device account, the update\nwindow will automatically apply to Play app updates
as well." | 1477 "description": "The system update policy, which controls how
OS updates are applied. If the update type is WINDOWED and the device has a dev
ice account, the update window will automatically apply to Play app updates as w
ell." |
1400 }, | 1478 }, |
1401 "frpAdminEmails": { | 1479 "frpAdminEmails": { |
1402 "description": "Email addresses of device administrators for
factory reset protection.\nWhen the device is factory reset, it will require on
e of these admins to\nlog in with the Google account email and password to unloc
k the device.\nIf no admins are specified, the device will not provide factory r
eset\nprotection.", | 1480 "description": "Email addresses of device administrators for
factory reset protection. When the device is factory reset, it will require one
of these admins to log in with the Google account email and password to unlock
the device. If no admins are specified, the device will not provide factory rese
t protection.", |
1403 "items": { | 1481 "items": { |
1404 "type": "string" | 1482 "type": "string" |
1405 }, | 1483 }, |
1406 "type": "array" | 1484 "type": "array" |
1407 }, | 1485 }, |
1408 "version": { | 1486 "version": { |
1409 "description": "The version of the policy. This is a read-on
ly field. The version is\nincremented each time the policy is updated.", | 1487 "description": "The version of the policy. This is a read-on
ly field. The version is incremented each time the policy is updated.", |
1410 "format": "int64", | 1488 "format": "int64", |
1411 "type": "string" | 1489 "type": "string" |
1412 }, | 1490 }, |
1413 "screenCaptureDisabled": { | 1491 "screenCaptureDisabled": { |
1414 "description": "Whether screen capture is disabled.", | 1492 "description": "Whether screen capture is disabled.", |
1415 "type": "boolean" | 1493 "type": "boolean" |
1416 }, | 1494 }, |
1417 "keyguardDisabled": { | 1495 "keyguardDisabled": { |
1418 "description": "Whether the keyguard is disabled.", | 1496 "description": "Whether the keyguard is disabled.", |
1419 "type": "boolean" | 1497 "type": "boolean" |
1420 }, | 1498 }, |
1421 "addUserDisabled": { | 1499 "addUserDisabled": { |
1422 "description": "Whether adding new users and profiles is dis
abled.", | 1500 "description": "Whether adding new users and profiles is dis
abled.", |
1423 "type": "boolean" | 1501 "type": "boolean" |
1424 } | 1502 } |
1425 }, | 1503 }, |
1426 "type": "object" | 1504 "type": "object" |
1427 }, | 1505 }, |
1428 "Command": { | 1506 "Command": { |
1429 "description": "A command.", | 1507 "description": "A command.", |
1430 "id": "Command", | 1508 "id": "Command", |
1431 "properties": { | 1509 "properties": { |
1432 "duration": { | 1510 "duration": { |
1433 "description": "The duration for which the command is valid.
The command will expire if not\nexecuted by the device during this time. The d
efault duration if\nunspecified is ten minutes. There is no maximum duration.", | 1511 "description": "The duration for which the command is valid.
The command will expire if not executed by the device during this time. The def
ault duration if unspecified is ten minutes. There is no maximum duration.", |
1434 "format": "google-duration", | 1512 "format": "google-duration", |
1435 "type": "string" | 1513 "type": "string" |
1436 }, | 1514 }, |
1437 "newPassword": { | 1515 "newPassword": { |
1438 "description": "For commands of type `RESET_PASSWORD`, optio
nally specifies the new\npassword.", | 1516 "description": "For commands of type RESET_PASSWORD, optiona
lly specifies the new password.", |
1439 "type": "string" | 1517 "type": "string" |
1440 }, | 1518 }, |
1441 "type": { | 1519 "type": { |
1442 "description": "The type of the command.", | 1520 "description": "The type of the command.", |
1443 "enum": [ | 1521 "enum": [ |
1444 "COMMAND_TYPE_UNSPECIFIED", | 1522 "COMMAND_TYPE_UNSPECIFIED", |
1445 "LOCK", | 1523 "LOCK", |
1446 "RESET_PASSWORD", | 1524 "RESET_PASSWORD", |
1447 "REBOOT" | 1525 "REBOOT" |
1448 ], | 1526 ], |
1449 "enumDescriptions": [ | 1527 "enumDescriptions": [ |
1450 "This value is disallowed.", | 1528 "This value is disallowed.", |
1451 "Lock the device, as if the lock screen timeout had expi
red.", | 1529 "Lock the device, as if the lock screen timeout had expi
red.", |
1452 "Reset the user's password.", | 1530 "Reset the user's password.", |
1453 "Reboot the device. Only supported on API level 24+." | 1531 "Reboot the device. Only supported on API level 24+." |
1454 ], | 1532 ], |
1455 "type": "string" | 1533 "type": "string" |
1456 }, | 1534 }, |
1457 "createTime": { | 1535 "createTime": { |
1458 "description": "The timestamp at which the command was creat
ed. The timestamp is\nautomatically generated by the server.", | 1536 "description": "The timestamp at which the command was creat
ed. The timestamp is automatically generated by the server.", |
1459 "format": "google-datetime", | 1537 "format": "google-datetime", |
1460 "type": "string" | 1538 "type": "string" |
1461 }, | 1539 }, |
1462 "resetPasswordFlags": { | 1540 "resetPasswordFlags": { |
1463 "description": "For commands of type `RESET_PASSWORD`, optio
nally specifies flags.", | 1541 "description": "For commands of type RESET_PASSWORD, optiona
lly specifies flags.", |
1464 "enumDescriptions": [ | 1542 "enumDescriptions": [ |
1465 "This value is ignored.", | 1543 "This value is ignored.", |
1466 "Don't allow other admins to change the password again u
ntil the user has\nentered it.", | 1544 "Don't allow other admins to change the password again u
ntil the user has entered it.", |
1467 "Don't ask for user credentials on device boot." | 1545 "Don't ask for user credentials on device boot." |
1468 ], | 1546 ], |
1469 "items": { | 1547 "items": { |
1470 "enum": [ | 1548 "enum": [ |
1471 "RESET_PASSWORD_FLAG_UNSPECIFIED", | 1549 "RESET_PASSWORD_FLAG_UNSPECIFIED", |
1472 "REQUIRE_ENTRY", | 1550 "REQUIRE_ENTRY", |
1473 "DO_NOT_ASK_CREDENTIALS_ON_BOOT" | 1551 "DO_NOT_ASK_CREDENTIALS_ON_BOOT" |
1474 ], | 1552 ], |
1475 "type": "string" | 1553 "type": "string" |
1476 }, | 1554 }, |
1477 "type": "array" | 1555 "type": "array" |
1478 } | 1556 } |
1479 }, | 1557 }, |
1480 "type": "object" | 1558 "type": "object" |
1481 }, | 1559 }, |
1482 "ComplianceRule": { | 1560 "ComplianceRule": { |
1483 "description": "A rule declaring which mitigating actions to take wh
en a device is not\ncompliant with its policy. For every rule, there is always a
n implicit\nmitigating action to set `policy_compliant` to false for the\n[`Devi
ce`](/android/management/reference/rest/v1/enterprises.devices#Device)\nresource
, and display a message on the device indicating that the device is\nnot complia
nt with its policy. Other mitigating actions may optionally be\ntaken as well, d
epending on the field values in the rule.", | 1561 "description": "A rule declaring which mitigating actions to take wh
en a device is not compliant with its policy. For every rule, there is always an
implicit mitigating action to set policy_compliant to false for the Device reso
urce, and display a message on the device indicating that the device is not comp
liant with its policy. Other mitigating actions may optionally be taken as well,
depending on the field values in the rule.", |
1484 "id": "ComplianceRule", | 1562 "id": "ComplianceRule", |
1485 "properties": { | 1563 "properties": { |
1486 "nonComplianceDetailCondition": { | 1564 "nonComplianceDetailCondition": { |
1487 "$ref": "NonComplianceDetailCondition", | 1565 "$ref": "NonComplianceDetailCondition", |
1488 "description": "A condition which is satisfied if there exis
ts *any* matching\n[`NonComplianceDetail`](/android/management/reference/rest/v1
/enterprises.devices#NonComplianceDetail)\nfor the device." | 1566 "description": "A condition which is satisfied if there exis
ts any matching NonComplianceDetail for the device." |
1489 }, | 1567 }, |
1490 "disableApps": { | 1568 "disableApps": { |
1491 "description": "If set to true, the rule includes a mitigati
ng action to disable\napplications so that the device is effectively disabled, b
ut application\ndata is preserved. If the device is running an app in locked tas
k mode, the\napp will be closed and a UI showing the reason for non-compliance w
ill be\ndisplayed.", | 1569 "description": "If set to true, the rule includes a mitigati
ng action to disable applications so that the device is effectively disabled, bu
t application data is preserved. If the device is running an app in locked task
mode, the app will be closed and a UI showing the reason for non-compliance will
be displayed.", |
1492 "type": "boolean" | 1570 "type": "boolean" |
1493 }, | 1571 }, |
1494 "apiLevelCondition": { | 1572 "apiLevelCondition": { |
1495 "$ref": "ApiLevelCondition", | 1573 "$ref": "ApiLevelCondition", |
1496 "description": "A condition which is satisfied if the Androi
d Framework API level on the\ndevice does not meet a minimum requirement." | 1574 "description": "A condition which is satisfied if the Androi
d Framework API level on the device does not meet a minimum requirement." |
1497 } | 1575 } |
1498 }, | 1576 }, |
1499 "type": "object" | 1577 "type": "object" |
1500 }, | 1578 }, |
1501 "ListPoliciesResponse": { | 1579 "ListPoliciesResponse": { |
1502 "description": "Response to a request to list policies for a given e
nterprise.", | 1580 "description": "Response to a request to list policies for a given e
nterprise.", |
1503 "id": "ListPoliciesResponse", | 1581 "id": "ListPoliciesResponse", |
1504 "properties": { | 1582 "properties": { |
1505 "policies": { | 1583 "policies": { |
1506 "description": "The list of policies.", | 1584 "description": "The list of policies.", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 "type": "integer" | 1677 "type": "integer" |
1600 } | 1678 } |
1601 }, | 1679 }, |
1602 "type": "object" | 1680 "type": "object" |
1603 }, | 1681 }, |
1604 "SignupUrl": { | 1682 "SignupUrl": { |
1605 "description": "An enterprise signup URL.", | 1683 "description": "An enterprise signup URL.", |
1606 "id": "SignupUrl", | 1684 "id": "SignupUrl", |
1607 "properties": { | 1685 "properties": { |
1608 "url": { | 1686 "url": { |
1609 "description": "A URL under which the Admin can sign up for
an enterprise.\nThe page pointed to cannot be rendered in an iframe.", | 1687 "description": "A URL under which the Admin can sign up for
an enterprise. The page pointed to cannot be rendered in an iframe.", |
1610 "type": "string" | 1688 "type": "string" |
1611 }, | 1689 }, |
1612 "name": { | 1690 "name": { |
1613 "description": "The name of the resource. This must be inclu
ded in the\n[create enterprise](/android/management/reference/rest/v1/enterprise
s/create)\nrequest at the end of the signup flow.", | 1691 "description": "The name of the resource. This must be inclu
ded in the create enterprise request at the end of the signup flow.", |
1614 "type": "string" | 1692 "type": "string" |
1615 } | 1693 } |
1616 }, | 1694 }, |
1617 "type": "object" | 1695 "type": "object" |
1618 }, | 1696 }, |
1619 "EnrollmentToken": { | 1697 "EnrollmentToken": { |
1620 "description": "An enrollment token.", | 1698 "description": "An enrollment token.", |
1621 "id": "EnrollmentToken", | 1699 "id": "EnrollmentToken", |
1622 "properties": { | 1700 "properties": { |
1623 "expirationTimestamp": { | 1701 "expirationTimestamp": { |
1624 "description": "The expiration time of the token. This is a
read-only field generated by\nthe server.", | 1702 "description": "The expiration time of the token. This is a
read-only field generated by the server.", |
1625 "format": "google-datetime", | 1703 "format": "google-datetime", |
1626 "type": "string" | 1704 "type": "string" |
1627 }, | 1705 }, |
1628 "policyName": { | 1706 "policyName": { |
1629 "description": "The name of the policy that will be initiall
y applied to the enrolled\ndevice in the form `enterprises/{enterpriseId}/polici
es/{policyId}`.\nIf not specified, the policy with id `default` is applied.\nIt
is permissible to only specify the `policyId` when updating this\nfield as long
as the `policyId` contains no slashes since the rest of the\npolicy name can be
inferred from context.", | 1707 "description": "The name of the policy that will be initiall
y applied to the enrolled device in the form enterprises/{enterpriseId}/policies
/{policyId}. If not specified, the policy with id default is applied. It is perm
issible to only specify the policyId when updating this field as long as the pol
icyId contains no slashes since the rest of the policy name can be inferred from
context.", |
1630 "type": "string" | 1708 "type": "string" |
1631 }, | 1709 }, |
1632 "name": { | 1710 "name": { |
1633 "description": "The name of the enrollment token, which is g
enerated by the server during\ncreation, in the form\n`enterprises/{enterpriseId
}/enrollmentTokens/{enrollmentTokenId}`", | 1711 "description": "The name of the enrollment token, which is g
enerated by the server during creation, in the form enterprises/{enterpriseId}/e
nrollmentTokens/{enrollmentTokenId}", |
1634 "type": "string" | 1712 "type": "string" |
1635 }, | 1713 }, |
1636 "duration": { | 1714 "duration": { |
1637 "description": "The duration of the token. If not specified,
the duration will be 1 hour.\nThe allowed range is 1 minute to 30 days.", | 1715 "description": "The duration of the token. If not specified,
the duration will be 1 hour. The allowed range is 1 minute to 30 days.", |
1638 "format": "google-duration", | 1716 "format": "google-duration", |
1639 "type": "string" | 1717 "type": "string" |
1640 }, | 1718 }, |
1641 "value": { | 1719 "value": { |
1642 "description": "The token value which is passed to the devic
e and authorizes the device to\nenroll. This is a read-only field generated by t
he server.", | 1720 "description": "The token value which is passed to the devic
e and authorizes the device to enroll. This is a read-only field generated by th
e server.", |
1643 "type": "string" | 1721 "type": "string" |
1644 }, | 1722 }, |
1645 "additionalData": { | 1723 "additionalData": { |
1646 "description": "Optional, arbitrary data associated with the
enrollment token.\nThis could contain, for example, the id of an org unit to wh
ich the device\nis assigned after enrollment.\nAfter a device enrolls with the t
oken, this data will be exposed in the\n`enrollment_token_data` field of the\n[`
Device`](/android/management/reference/rest/v1/enterprises.devices#Device)\nreso
urce. The data must be 1024 characters or less; otherwise, the creation\nrequest
will fail.", | 1724 "description": "Optional, arbitrary data associated with the
enrollment token. This could contain, for example, the id of an org unit to whi
ch the device is assigned after enrollment. After a device enrolls with the toke
n, this data will be exposed in the enrollment_token_data field of the Device re
source. The data must be 1024 characters or less; otherwise, the creation reques
t will fail.", |
1647 "type": "string" | 1725 "type": "string" |
1648 }, | 1726 }, |
1649 "qrCode": { | 1727 "qrCode": { |
1650 "description": "A JSON string whose UTF-8 representation can
be used to generate a QR code\nto enroll a device with this enrollment token. T
o enroll a device using\nNFC, the NFC record must contain a serialized `java.uti
l.Properties`\nrepresentation of the properties in the JSON.", | 1728 "description": "A JSON string whose UTF-8 representation can
be used to generate a QR code to enroll a device with this enrollment token. To
enroll a device using NFC, the NFC record must contain a serialized java.util.P
roperties representation of the properties in the JSON.", |
1651 "type": "string" | 1729 "type": "string" |
1652 } | 1730 } |
1653 }, | 1731 }, |
1654 "type": "object" | 1732 "type": "object" |
1655 }, | 1733 }, |
1656 "SoftwareInfo": { | 1734 "SoftwareInfo": { |
1657 "description": "Information about device software.", | 1735 "description": "Information about device software.", |
1658 "id": "SoftwareInfo", | 1736 "id": "SoftwareInfo", |
1659 "properties": { | 1737 "properties": { |
1660 "androidVersion": { | 1738 "androidVersion": { |
1661 "description": "The user visible Android version string, e.g
. `6.0.1`.", | 1739 "description": "The user visible Android version string, e.g
. 6.0.1.", |
1662 "type": "string" | 1740 "type": "string" |
1663 }, | 1741 }, |
1664 "androidBuildNumber": { | 1742 "androidBuildNumber": { |
1665 "description": "Android build Id string meant for displaying
to the user,\ne.g. `shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys`.", | 1743 "description": "Android build Id string meant for displaying
to the user, e.g. shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.", |
1666 "type": "string" | 1744 "type": "string" |
1667 }, | 1745 }, |
1668 "androidBuildTime": { | 1746 "androidBuildTime": { |
1669 "description": "Build time.", | 1747 "description": "Build time.", |
1670 "format": "google-datetime", | 1748 "format": "google-datetime", |
1671 "type": "string" | 1749 "type": "string" |
1672 }, | 1750 }, |
1673 "bootloaderVersion": { | 1751 "bootloaderVersion": { |
1674 "description": "The system bootloader version number, e.g. `
0.6.7`.", | 1752 "description": "The system bootloader version number, e.g. 0
.6.7.", |
1675 "type": "string" | 1753 "type": "string" |
1676 }, | 1754 }, |
1677 "securityPatchLevel": { | 1755 "securityPatchLevel": { |
1678 "description": "Security patch level, e.g. `2016-05-01`.", | 1756 "description": "Security patch level, e.g. 2016-05-01.", |
1679 "type": "string" | 1757 "type": "string" |
1680 }, | 1758 }, |
1681 "deviceKernelVersion": { | 1759 "deviceKernelVersion": { |
1682 "description": "Kernel version, e.g. `2.6.32.9-g103d848`.", | 1760 "description": "Kernel version, e.g. 2.6.32.9-g103d848.", |
1683 "type": "string" | 1761 "type": "string" |
1684 } | 1762 } |
1685 }, | 1763 }, |
1686 "type": "object" | 1764 "type": "object" |
1687 }, | 1765 }, |
1688 "ManagedPropertyEntry": { | 1766 "ManagedPropertyEntry": { |
1689 "description": "An entry of a managed property.", | 1767 "description": "An entry of a managed property.", |
1690 "id": "ManagedPropertyEntry", | 1768 "id": "ManagedPropertyEntry", |
1691 "properties": { | 1769 "properties": { |
1692 "value": { | 1770 "value": { |
1693 "description": "The machine-readable value of the entry, whi
ch should be used in the\nconfiguration. Not localized.", | 1771 "description": "The machine-readable value of the entry, whi
ch should be used in the configuration. Not localized.", |
1694 "type": "string" | 1772 "type": "string" |
1695 }, | 1773 }, |
1696 "name": { | 1774 "name": { |
1697 "description": "The human-readable name of the value. Locali
zed.", | 1775 "description": "The human-readable name of the value. Locali
zed.", |
1698 "type": "string" | 1776 "type": "string" |
1699 } | 1777 } |
1700 }, | 1778 }, |
1701 "type": "object" | 1779 "type": "object" |
1702 }, | 1780 }, |
1703 "WebToken": { | 1781 "WebToken": { |
1704 "description": "A web token used to access an embeddable managed Goo
gle Play web UI.", | 1782 "description": "A web token used to access an embeddable managed Goo
gle Play web UI.", |
1705 "id": "WebToken", | 1783 "id": "WebToken", |
1706 "properties": { | 1784 "properties": { |
1707 "value": { | 1785 "value": { |
1708 "description": "The token value which is used in the hosting
page to generate the iframe\nwith the embedded UI. This is a read-only field ge
nerated by the server.", | 1786 "description": "The token value which is used in the hosting
page to generate the iframe with the embedded UI. This is a read-only field gen
erated by the server.", |
1709 "type": "string" | 1787 "type": "string" |
1710 }, | 1788 }, |
1711 "permissions": { | 1789 "permissions": { |
1712 "description": "Permissions the admin may exercise in the em
bedded UI. The admin must have\nall of these permissions in order to view the UI
.", | 1790 "description": "Permissions the admin may exercise in the em
bedded UI. The admin must have all of these permissions in order to view the UI.
", |
1713 "enumDescriptions": [ | 1791 "enumDescriptions": [ |
1714 "This value is ignored.", | 1792 "This value is ignored.", |
1715 "The permission to approve apps for the enterprise." | 1793 "The permission to approve apps for the enterprise." |
1716 ], | 1794 ], |
1717 "items": { | 1795 "items": { |
1718 "enum": [ | 1796 "enum": [ |
1719 "WEB_TOKEN_PERMISSION_UNSPECIFIED", | 1797 "WEB_TOKEN_PERMISSION_UNSPECIFIED", |
1720 "APPROVE_APPS" | 1798 "APPROVE_APPS" |
1721 ], | 1799 ], |
1722 "type": "string" | 1800 "type": "string" |
1723 }, | 1801 }, |
1724 "type": "array" | 1802 "type": "array" |
1725 }, | 1803 }, |
1726 "name": { | 1804 "name": { |
1727 "description": "The name of the web token, which is generate
d by the server during\ncreation, in the form\n`enterprises/{enterpriseId}/webTo
kens/{webTokenId}`.", | 1805 "description": "The name of the web token, which is generate
d by the server during creation, in the form enterprises/{enterpriseId}/webToken
s/{webTokenId}.", |
1728 "type": "string" | 1806 "type": "string" |
1729 }, | 1807 }, |
1730 "parentFrameUrl": { | 1808 "parentFrameUrl": { |
1731 "description": "The URL of the parent frame hosting the ifra
me with the embedded UI. To\nprevent XSS, the iframe may not be hosted at other
URLs. The URL must use\nthe https scheme.", | 1809 "description": "The URL of the parent frame hosting the ifra
me with the embedded UI. To prevent XSS, the iframe may not be hosted at other U
RLs. The URL must use the https scheme.", |
1732 "type": "string" | 1810 "type": "string" |
1733 } | 1811 } |
1734 }, | 1812 }, |
1735 "type": "object" | 1813 "type": "object" |
1736 }, | 1814 }, |
1737 "Enterprise": { | 1815 "Enterprise": { |
1738 "description": "The configuration applied to an enterprise.", | 1816 "description": "The configuration applied to an enterprise.", |
1739 "id": "Enterprise", | 1817 "id": "Enterprise", |
1740 "properties": { | 1818 "properties": { |
1741 "pubsubTopic": { | 1819 "pubsubTopic": { |
1742 "description": "When Cloud Pub/Sub notifications are enabled
, this field is required to\nindicate the topic to which the notifications will
be published. The format\nof this field is `projects/{project}/topics/{topic}`.
You must have granted\nthe publish permission on this topic to\nandroid-cloud-po
licy@system.gserviceaccount.com", | 1820 "description": "When Cloud Pub/Sub notifications are enabled
, this field is required to indicate the topic to which the notifications will b
e published. The format of this field is projects/{project}/topics/{topic}. You
must have granted the publish permission on this topic to android-cloud-policy@s
ystem.gserviceaccount.com", |
1743 "type": "string" | 1821 "type": "string" |
1744 }, | 1822 }, |
1745 "logo": { | 1823 "logo": { |
1746 "$ref": "ExternalData", | 1824 "$ref": "ExternalData", |
1747 "description": "An image displayed as a logo during device p
rovisioning. Supported types\nare: image/bmp, image/gif, image/x-ico, image/jpeg
, image/png, image/webp,\nimage/vnd.wap.wbmp, image/x-adobe-dng." | 1825 "description": "An image displayed as a logo during device p
rovisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg,
image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng." |
1748 }, | 1826 }, |
1749 "enabledNotificationTypes": { | 1827 "enabledNotificationTypes": { |
1750 "description": "The notification types to enable via Google
Cloud Pub/Sub.", | 1828 "description": "The notification types to enable via Google
Cloud Pub/Sub.", |
1751 "enumDescriptions": [ | 1829 "enumDescriptions": [ |
1752 "This value is ignored.", | 1830 "This value is ignored.", |
1753 "A notification sent when a device enrolls.", | 1831 "A notification sent when a device enrolls.", |
1754 "A notification sent when a device issues a policy compl
iance report.", | 1832 "A notification sent when a device issues a policy compl
iance report.", |
1755 "A notification sent when a device issues a status repor
t.", | 1833 "A notification sent when a device issues a status repor
t.", |
1756 "A notification sent when a device command has completed
." | 1834 "A notification sent when a device command has completed
." |
1757 ], | 1835 ], |
1758 "items": { | 1836 "items": { |
1759 "enum": [ | 1837 "enum": [ |
1760 "NOTIFICATION_TYPE_UNSPECIFIED", | 1838 "NOTIFICATION_TYPE_UNSPECIFIED", |
1761 "ENROLLMENT", | 1839 "ENROLLMENT", |
1762 "COMPLIANCE_REPORT", | 1840 "COMPLIANCE_REPORT", |
1763 "STATUS_REPORT", | 1841 "STATUS_REPORT", |
1764 "COMMAND" | 1842 "COMMAND" |
1765 ], | 1843 ], |
1766 "type": "string" | 1844 "type": "string" |
1767 }, | 1845 }, |
1768 "type": "array" | 1846 "type": "array" |
1769 }, | 1847 }, |
1770 "name": { | 1848 "name": { |
1771 "description": "The name of the enterprise which is generate
d by the server during\ncreation, in the form\n`enterprises/{enterpriseId}`", | 1849 "description": "The name of the enterprise which is generate
d by the server during creation, in the form enterprises/{enterpriseId}", |
1772 "type": "string" | 1850 "type": "string" |
1773 }, | 1851 }, |
1774 "primaryColor": { | 1852 "primaryColor": { |
1775 "description": "A color in RGB format indicating the predomi
nant color to display in the\ndevice management app UI. The color components are
stored as follows:\n`(red << 16) | (green << 8) | blue`, where each component m
ay take a value\nbetween 0 and 255 inclusive.", | 1853 "description": "A color in RGB format indicating the predomi
nant color to display in the device management app UI. The color components are
stored as follows: (red << 16) | (green << 8) | blue, where each component may t
ake a value between 0 and 255 inclusive.", |
1776 "format": "int32", | 1854 "format": "int32", |
1777 "type": "integer" | 1855 "type": "integer" |
1778 }, | 1856 }, |
1779 "appAutoApprovalEnabled": { | 1857 "appAutoApprovalEnabled": { |
1780 "description": "Whether app auto-approval is enabled. When e
nabled, apps installed via\npolicy for this enterprise have all permissions auto
matically approved.\nWhen enabled, it is the caller's responsibility to display
the permissions\nrequired by an app to the enterprise admin before setting the a
pp to be\ninstalled in a policy.", | 1858 "description": "Whether app auto-approval is enabled. When e
nabled, apps installed via policy for this enterprise have all permissions autom
atically approved. When enabled, it is the caller's responsibility to display th
e permissions required by an app to the enterprise admin before setting the app
to be installed in a policy.", |
1781 "type": "boolean" | 1859 "type": "boolean" |
1782 }, | 1860 }, |
1783 "enterpriseDisplayName": { | 1861 "enterpriseDisplayName": { |
1784 "description": "The name of the enterprise as it will appear
to users.", | 1862 "description": "The name of the enterprise as it will appear
to users.", |
1785 "type": "string" | 1863 "type": "string" |
1786 } | 1864 } |
1787 }, | 1865 }, |
1788 "type": "object" | 1866 "type": "object" |
1789 }, | 1867 }, |
1790 "ListOperationsResponse": { | 1868 "ListOperationsResponse": { |
(...skipping 12 matching lines...) Expand all Loading... |
1803 "type": "array" | 1881 "type": "array" |
1804 } | 1882 } |
1805 }, | 1883 }, |
1806 "type": "object" | 1884 "type": "object" |
1807 }, | 1885 }, |
1808 "MemoryEvent": { | 1886 "MemoryEvent": { |
1809 "description": "An event related to memory and storage measurements.
", | 1887 "description": "An event related to memory and storage measurements.
", |
1810 "id": "MemoryEvent", | 1888 "id": "MemoryEvent", |
1811 "properties": { | 1889 "properties": { |
1812 "byteCount": { | 1890 "byteCount": { |
1813 "description": "The number of free bytes in the medium, or f
or `EXTERNAL_STORAGE_DETECTED`,\nthe total capacity in bytes of the storage medi
um.", | 1891 "description": "The number of free bytes in the medium, or f
or EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.
", |
1814 "format": "int64", | 1892 "format": "int64", |
1815 "type": "string" | 1893 "type": "string" |
1816 }, | 1894 }, |
1817 "eventType": { | 1895 "eventType": { |
1818 "description": "Event type.", | 1896 "description": "Event type.", |
1819 "enum": [ | 1897 "enum": [ |
1820 "MEMORY_EVENT_TYPE_UNSPECIFIED", | 1898 "MEMORY_EVENT_TYPE_UNSPECIFIED", |
1821 "RAM_MEASURED", | 1899 "RAM_MEASURED", |
1822 "INTERNAL_STORAGE_MEASURED", | 1900 "INTERNAL_STORAGE_MEASURED", |
1823 "EXTERNAL_STORAGE_DETECTED", | 1901 "EXTERNAL_STORAGE_DETECTED", |
1824 "EXTERNAL_STORAGE_REMOVED", | 1902 "EXTERNAL_STORAGE_REMOVED", |
1825 "EXTERNAL_STORAGE_MEASURED" | 1903 "EXTERNAL_STORAGE_MEASURED" |
1826 ], | 1904 ], |
1827 "enumDescriptions": [ | 1905 "enumDescriptions": [ |
1828 "Unspecified. No events have this type.", | 1906 "Unspecified. No events have this type.", |
1829 "Free space in RAM was measured.", | 1907 "Free space in RAM was measured.", |
1830 "Free space in internal storage was measured.", | 1908 "Free space in internal storage was measured.", |
1831 "A new external storage medium was detected. The reporte
d byte count is\nthe total capacity of the storage medium.", | 1909 "A new external storage medium was detected. The reporte
d byte count is the total capacity of the storage medium.", |
1832 "An external storage medium was removed. The reported by
te count is zero.", | 1910 "An external storage medium was removed. The reported by
te count is zero.", |
1833 "Free space in an external storage medium was measured." | 1911 "Free space in an external storage medium was measured." |
1834 ], | 1912 ], |
1835 "type": "string" | 1913 "type": "string" |
1836 }, | 1914 }, |
1837 "createTime": { | 1915 "createTime": { |
1838 "description": "The creation time of the event.", | 1916 "description": "The creation time of the event.", |
1839 "format": "google-datetime", | 1917 "format": "google-datetime", |
1840 "type": "string" | 1918 "type": "string" |
1841 } | 1919 } |
1842 }, | 1920 }, |
1843 "type": "object" | 1921 "type": "object" |
1844 }, | 1922 }, |
1845 "ExternalData": { | 1923 "ExternalData": { |
1846 "description": "Data hosted at an external location. The data is to
be downloaded by Android\nDevice Policy and verified against the hash.", | 1924 "description": "Data hosted at an external location. The data is to
be downloaded by Android Device Policy and verified against the hash.", |
1847 "id": "ExternalData", | 1925 "id": "ExternalData", |
1848 "properties": { | 1926 "properties": { |
1849 "url": { | 1927 "url": { |
1850 "description": "The absolute URL to the data, which must use
either the http or https\nscheme. Android Device Policy does not provide any cr
edentials in the GET\nrequest, so the URL must be publicly accessible. Including
a long, random\ncomponent in the URL may be used to prevent attackers from disc
overing the\nURL.", | 1928 "description": "The absolute URL to the data, which must use
either the http or https scheme. Android Device Policy does not provide any cre
dentials in the GET request, so the URL must be publicly accessible. Including a
long, random component in the URL may be used to prevent attackers from discove
ring the URL.", |
1851 "type": "string" | 1929 "type": "string" |
1852 }, | 1930 }, |
1853 "sha256Hash": { | 1931 "sha256Hash": { |
1854 "description": "The base-64 encoded SHA-256 hash of the cont
ent hosted at url. If the\ncontent does not match this hash, Android Device Poli
cy will not use the\ndata.", | 1932 "description": "The base-64 encoded SHA-256 hash of the cont
ent hosted at url. If the content does not match this hash, Android Device Polic
y will not use the data.", |
1855 "type": "string" | 1933 "type": "string" |
1856 } | 1934 } |
1857 }, | 1935 }, |
1858 "type": "object" | 1936 "type": "object" |
1859 }, | 1937 }, |
1860 "UserFacingMessage": { | 1938 "UserFacingMessage": { |
1861 "description": "Provides user facing message with locale info. The m
aximum message length is\n4096 characters.", | 1939 "description": "Provides user facing message with locale info. The m
aximum message length is 4096 characters.", |
1862 "id": "UserFacingMessage", | 1940 "id": "UserFacingMessage", |
1863 "properties": { | 1941 "properties": { |
1864 "localizedMessages": { | 1942 "localizedMessages": { |
1865 "additionalProperties": { | 1943 "additionalProperties": { |
1866 "type": "string" | 1944 "type": "string" |
1867 }, | 1945 }, |
1868 "description": "A map which contains <locale, message> pairs
.\nThe locale is a BCP 47 language code, e.g. en-US, es-ES, fr.", | 1946 "description": "A map which contains <locale, message> pairs
. The locale is a BCP 47 language code, e.g. en-US, es-ES, fr.", |
1869 "type": "object" | 1947 "type": "object" |
1870 }, | 1948 }, |
1871 "defaultMessage": { | 1949 "defaultMessage": { |
1872 "description": "The default message that gets displayed if n
o localized message is\nspecified, or the user's locale does not match with any
of the localized\nmessages. A default message must be provided if any localized
messages are\nprovided.", | 1950 "description": "The default message that gets displayed if n
o localized message is specified, or the user's locale does not match with any o
f the localized messages. A default message must be provided if any localized me
ssages are provided.", |
1873 "type": "string" | 1951 "type": "string" |
1874 } | 1952 } |
1875 }, | 1953 }, |
1876 "type": "object" | 1954 "type": "object" |
1877 }, | 1955 }, |
1878 "PowerManagementEvent": { | 1956 "PowerManagementEvent": { |
1879 "description": "A power management event.", | 1957 "description": "A power management event.", |
1880 "id": "PowerManagementEvent", | 1958 "id": "PowerManagementEvent", |
1881 "properties": { | 1959 "properties": { |
1882 "batteryLevel": { | 1960 "batteryLevel": { |
1883 "description": "For `BATTERY_LEVEL_COLLECTED` events, the ba
ttery level as a percentage.", | 1961 "description": "For BATTERY_LEVEL_COLLECTED events, the batt
ery level as a percentage.", |
1884 "format": "float", | 1962 "format": "float", |
1885 "type": "number" | 1963 "type": "number" |
1886 }, | 1964 }, |
1887 "eventType": { | 1965 "eventType": { |
1888 "description": "Event type.", | 1966 "description": "Event type.", |
1889 "enum": [ | 1967 "enum": [ |
1890 "POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", | 1968 "POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED", |
1891 "BATTERY_LEVEL_COLLECTED", | 1969 "BATTERY_LEVEL_COLLECTED", |
1892 "POWER_CONNECTED", | 1970 "POWER_CONNECTED", |
1893 "POWER_DISCONNECTED", | 1971 "POWER_DISCONNECTED", |
(...skipping 20 matching lines...) Expand all Loading... |
1914 "type": "string" | 1992 "type": "string" |
1915 } | 1993 } |
1916 }, | 1994 }, |
1917 "type": "object" | 1995 "type": "object" |
1918 }, | 1996 }, |
1919 "PasswordRequirements": { | 1997 "PasswordRequirements": { |
1920 "description": "Requirements for the password used to unlock a devic
e.", | 1998 "description": "Requirements for the password used to unlock a devic
e.", |
1921 "id": "PasswordRequirements", | 1999 "id": "PasswordRequirements", |
1922 "properties": { | 2000 "properties": { |
1923 "passwordMinimumNumeric": { | 2001 "passwordMinimumNumeric": { |
1924 "description": "Minimum number of numerical digits required
in the password.\nOnly enforced when `password_quality` is `COMPLEX`.", | 2002 "description": "Minimum number of numerical digits required
in the password. Only enforced when password_quality is COMPLEX.", |
1925 "format": "int32", | 2003 "format": "int32", |
1926 "type": "integer" | 2004 "type": "integer" |
1927 }, | 2005 }, |
1928 "passwordMinimumNonLetter": { | 2006 "passwordMinimumNonLetter": { |
1929 "description": "Minimum number of non-letter characters (num
erical digits or symbols)\nrequired in the password.\nOnly enforced when `passwo
rd_quality` is `COMPLEX`.", | 2007 "description": "Minimum number of non-letter characters (num
erical digits or symbols) required in the password. Only enforced when password_
quality is COMPLEX.", |
1930 "format": "int32", | 2008 "format": "int32", |
1931 "type": "integer" | 2009 "type": "integer" |
1932 }, | 2010 }, |
1933 "maximumFailedPasswordsForWipe": { | 2011 "maximumFailedPasswordsForWipe": { |
1934 "description": "A device will be wiped after too many incorr
ect device-unlock passwords\nhave been entered. A value of 0 means there is no r
estriction.", | 2012 "description": "A device will be wiped after too many incorr
ect device-unlock passwords have been entered. A value of 0 means there is no re
striction.", |
1935 "format": "int32", | 2013 "format": "int32", |
1936 "type": "integer" | 2014 "type": "integer" |
1937 }, | 2015 }, |
1938 "passwordMinimumLetters": { | 2016 "passwordMinimumLetters": { |
1939 "description": "Minimum number of letters required in the pa
ssword.\nOnly enforced when `password_quality` is `COMPLEX`.", | 2017 "description": "Minimum number of letters required in the pa
ssword. Only enforced when password_quality is COMPLEX.", |
1940 "format": "int32", | 2018 "format": "int32", |
1941 "type": "integer" | 2019 "type": "integer" |
1942 }, | 2020 }, |
1943 "passwordMinimumUpperCase": { | 2021 "passwordMinimumUpperCase": { |
1944 "description": "Minimum number of upper case letters require
d in the password.\nOnly enforced when `password_quality` is `COMPLEX`.", | 2022 "description": "Minimum number of upper case letters require
d in the password. Only enforced when password_quality is COMPLEX.", |
1945 "format": "int32", | 2023 "format": "int32", |
1946 "type": "integer" | 2024 "type": "integer" |
1947 }, | 2025 }, |
1948 "passwordQuality": { | 2026 "passwordQuality": { |
1949 "description": "The required password quality.", | 2027 "description": "The required password quality.", |
1950 "enum": [ | 2028 "enum": [ |
1951 "PASSWORD_QUALITY_UNSPECIFIED", | 2029 "PASSWORD_QUALITY_UNSPECIFIED", |
1952 "SOMETHING", | 2030 "SOMETHING", |
1953 "NUMERIC", | 2031 "NUMERIC", |
1954 "NUMERIC_COMPLEX", | 2032 "NUMERIC_COMPLEX", |
1955 "ALPHABETIC", | 2033 "ALPHABETIC", |
1956 "ALPHANUMERIC", | 2034 "ALPHANUMERIC", |
1957 "COMPLEX" | 2035 "COMPLEX" |
1958 ], | 2036 ], |
1959 "enumDescriptions": [ | 2037 "enumDescriptions": [ |
1960 "There are no requirements for the password.", | 2038 "There are no requirements for the password.", |
1961 "There must be a password, but there are no restrictions
on its\ncharacters.", | 2039 "There must be a password, but there are no restrictions
on its characters.", |
1962 "The password must contain numeric characters.", | 2040 "The password must contain numeric characters.", |
1963 "The password must contain numeric characters with no re
peating (4444) or\nordered (1234, 4321, 2468) sequences.", | 2041 "The password must contain numeric characters with no re
peating (4444) or ordered (1234, 4321, 2468) sequences.", |
1964 "The password must contain alphabetic (or symbol) charac
ters.", | 2042 "The password must contain alphabetic (or symbol) charac
ters.", |
1965 "The password must contain at both numeric and alphabeti
c (or symbol)\ncharacters.", | 2043 "The password must contain at both numeric and alphabeti
c (or symbol) characters.", |
1966 "The password must contain at least a letter, a numerica
l digit and a\nspecial symbol. Other password constraints, for example,\n`passwo
rd_minimum_letters` are enforced." | 2044 "The password must contain at least a letter, a numerica
l digit and a special symbol. Other password constraints, for example, password_
minimum_letters are enforced." |
1967 ], | 2045 ], |
1968 "type": "string" | 2046 "type": "string" |
1969 }, | 2047 }, |
1970 "passwordMinimumLength": { | 2048 "passwordMinimumLength": { |
1971 "description": "The minimum allowed password length. A value
of 0 means there is no\nrestriction.\nOnly enforced when `password_quality` is
`NUMERIC`, `NUMERIC_COMPLEX`,\n`ALPHABETIC`, `ALPHANUMERIC`, or `COMPLEX`.", | 2049 "description": "The minimum allowed password length. A value
of 0 means there is no restriction. Only enforced when password_quality is NUME
RIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.", |
1972 "format": "int32", | 2050 "format": "int32", |
1973 "type": "integer" | 2051 "type": "integer" |
1974 }, | 2052 }, |
1975 "passwordExpirationTimeout": { | 2053 "passwordExpirationTimeout": { |
1976 "description": "Password expiration timeout.", | 2054 "description": "Password expiration timeout.", |
1977 "format": "google-duration", | 2055 "format": "google-duration", |
1978 "type": "string" | 2056 "type": "string" |
1979 }, | 2057 }, |
1980 "passwordMinimumSymbols": { | 2058 "passwordMinimumSymbols": { |
1981 "description": "Minimum number of symbols required in the pa
ssword.\nOnly enforced when `password_quality` is `COMPLEX`.", | 2059 "description": "Minimum number of symbols required in the pa
ssword. Only enforced when password_quality is COMPLEX.", |
1982 "format": "int32", | 2060 "format": "int32", |
1983 "type": "integer" | 2061 "type": "integer" |
1984 }, | 2062 }, |
1985 "passwordHistoryLength": { | 2063 "passwordHistoryLength": { |
1986 "description": "The length of the password history. After se
tting this, the user will\nnot be able to enter a new password that is the same
as any password in\nthe history. A value of 0 means there is no restriction.", | 2064 "description": "The length of the password history. After se
tting this, the user will not be able to enter a new password that is the same a
s any password in the history. A value of 0 means there is no restriction.", |
1987 "format": "int32", | 2065 "format": "int32", |
1988 "type": "integer" | 2066 "type": "integer" |
1989 }, | 2067 }, |
1990 "passwordMinimumLowerCase": { | 2068 "passwordMinimumLowerCase": { |
1991 "description": "Minimum number of lower case letters require
d in the password.\nOnly enforced when `password_quality` is `COMPLEX`.", | 2069 "description": "Minimum number of lower case letters require
d in the password. Only enforced when password_quality is COMPLEX.", |
1992 "format": "int32", | 2070 "format": "int32", |
1993 "type": "integer" | 2071 "type": "integer" |
1994 } | 2072 } |
1995 }, | 2073 }, |
1996 "type": "object" | 2074 "type": "object" |
1997 }, | 2075 }, |
1998 "HardwareInfo": { | 2076 "HardwareInfo": { |
1999 "description": "Information about device hardware. The fields relate
d to temperature\nthresholds are only available when hardwareStatusEnabled is tr
ue in the\ndevice's policy.", | 2077 "description": "Information about device hardware. The fields relate
d to temperature thresholds are only available when hardwareStatusEnabled is tru
e in the device's policy.", |
2000 "id": "HardwareInfo", | 2078 "id": "HardwareInfo", |
2001 "properties": { | 2079 "properties": { |
2002 "gpuThrottlingTemperatures": { | 2080 "gpuThrottlingTemperatures": { |
2003 "description": "GPU throttling temperature thresholds in Cel
sius for each GPU on the\ndevice.", | 2081 "description": "GPU throttling temperature thresholds in Cel
sius for each GPU on the device.", |
2004 "items": { | 2082 "items": { |
2005 "format": "float", | 2083 "format": "float", |
2006 "type": "number" | 2084 "type": "number" |
2007 }, | 2085 }, |
2008 "type": "array" | 2086 "type": "array" |
2009 }, | 2087 }, |
2010 "cpuShutdownTemperatures": { | 2088 "cpuShutdownTemperatures": { |
2011 "description": "CPU shutdown temperature thresholds in Celsi
us for each CPU on the device.", | 2089 "description": "CPU shutdown temperature thresholds in Celsi
us for each CPU on the device.", |
2012 "items": { | 2090 "items": { |
2013 "format": "float", | 2091 "format": "float", |
2014 "type": "number" | 2092 "type": "number" |
2015 }, | 2093 }, |
2016 "type": "array" | 2094 "type": "array" |
2017 }, | 2095 }, |
2018 "gpuShutdownTemperatures": { | 2096 "gpuShutdownTemperatures": { |
2019 "description": "GPU shutdown temperature thresholds in Celsi
us for each GPU on the device.", | 2097 "description": "GPU shutdown temperature thresholds in Celsi
us for each GPU on the device.", |
2020 "items": { | 2098 "items": { |
2021 "format": "float", | 2099 "format": "float", |
2022 "type": "number" | 2100 "type": "number" |
2023 }, | 2101 }, |
2024 "type": "array" | 2102 "type": "array" |
2025 }, | 2103 }, |
2026 "manufacturer": { | 2104 "manufacturer": { |
2027 "description": "Manufacturer, e.g. `Motorola`.", | 2105 "description": "Manufacturer, e.g. Motorola.", |
2028 "type": "string" | 2106 "type": "string" |
2029 }, | 2107 }, |
2030 "model": { | 2108 "model": { |
2031 "description": "The model of the device, e.g. `Asus Nexus 7`
.", | 2109 "description": "The model of the device, e.g. Asus Nexus 7."
, |
2032 "type": "string" | 2110 "type": "string" |
2033 }, | 2111 }, |
2034 "serialNumber": { | 2112 "serialNumber": { |
2035 "description": "The device serial number.", | 2113 "description": "The device serial number.", |
2036 "type": "string" | 2114 "type": "string" |
2037 }, | 2115 }, |
2038 "brand": { | 2116 "brand": { |
2039 "description": "Brand of the device, e.g. `Google`.", | 2117 "description": "Brand of the device, e.g. Google.", |
2040 "type": "string" | 2118 "type": "string" |
2041 }, | 2119 }, |
2042 "cpuThrottlingTemperatures": { | 2120 "cpuThrottlingTemperatures": { |
2043 "description": "CPU throttling temperature thresholds in Cel
sius for each CPU on the\ndevice.", | 2121 "description": "CPU throttling temperature thresholds in Cel
sius for each CPU on the device.", |
2044 "items": { | 2122 "items": { |
2045 "format": "float", | 2123 "format": "float", |
2046 "type": "number" | 2124 "type": "number" |
2047 }, | 2125 }, |
2048 "type": "array" | 2126 "type": "array" |
2049 }, | 2127 }, |
2050 "skinThrottlingTemperatures": { | 2128 "skinThrottlingTemperatures": { |
2051 "description": "Device skin throttling temperature threshold
s in Celsius.", | 2129 "description": "Device skin throttling temperature threshold
s in Celsius.", |
2052 "items": { | 2130 "items": { |
2053 "format": "float", | 2131 "format": "float", |
2054 "type": "number" | 2132 "type": "number" |
2055 }, | 2133 }, |
2056 "type": "array" | 2134 "type": "array" |
2057 }, | 2135 }, |
2058 "deviceBasebandVersion": { | 2136 "deviceBasebandVersion": { |
2059 "description": "Baseband version, e.g. `MDM9625_104662.22.05
.34p`.", | 2137 "description": "Baseband version, e.g. MDM9625_104662.22.05.
34p.", |
2060 "type": "string" | 2138 "type": "string" |
2061 }, | 2139 }, |
2062 "hardware": { | 2140 "hardware": { |
2063 "description": "Name of the hardware, e.g. `Angler`.", | 2141 "description": "Name of the hardware, e.g. Angler.", |
2064 "type": "string" | 2142 "type": "string" |
2065 }, | 2143 }, |
2066 "skinShutdownTemperatures": { | 2144 "skinShutdownTemperatures": { |
2067 "description": "Device skin shutdown temperature thresholds
in Celsius.", | 2145 "description": "Device skin shutdown temperature thresholds
in Celsius.", |
2068 "items": { | 2146 "items": { |
2069 "format": "float", | 2147 "format": "float", |
2070 "type": "number" | 2148 "type": "number" |
2071 }, | 2149 }, |
2072 "type": "array" | 2150 "type": "array" |
2073 }, | 2151 }, |
2074 "batteryShutdownTemperatures": { | 2152 "batteryShutdownTemperatures": { |
2075 "description": "Battery shutdown temperature thresholds in C
elsius for each battery on the\ndevice.", | 2153 "description": "Battery shutdown temperature thresholds in C
elsius for each battery on the device.", |
2076 "items": { | 2154 "items": { |
2077 "format": "float", | 2155 "format": "float", |
2078 "type": "number" | 2156 "type": "number" |
2079 }, | 2157 }, |
2080 "type": "array" | 2158 "type": "array" |
2081 }, | 2159 }, |
2082 "batteryThrottlingTemperatures": { | 2160 "batteryThrottlingTemperatures": { |
2083 "description": "Battery throttling temperature thresholds in
Celsius for each battery on\nthe device.", | 2161 "description": "Battery throttling temperature thresholds in
Celsius for each battery on the device.", |
2084 "items": { | 2162 "items": { |
2085 "format": "float", | 2163 "format": "float", |
2086 "type": "number" | 2164 "type": "number" |
2087 }, | 2165 }, |
2088 "type": "array" | 2166 "type": "array" |
2089 } | 2167 } |
2090 }, | 2168 }, |
2091 "type": "object" | 2169 "type": "object" |
2092 }, | 2170 }, |
2093 "Empty": { | 2171 "Empty": { |
2094 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 2172 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance:\nservice Fo
o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J
SON representation for Empty is empty JSON object {}.", |
2095 "id": "Empty", | 2173 "id": "Empty", |
2096 "properties": {}, | 2174 "properties": {}, |
2097 "type": "object" | 2175 "type": "object" |
2098 }, | 2176 }, |
2099 "NetworkInfo": { | 2177 "NetworkInfo": { |
2100 "description": "Device network info.", | 2178 "description": "Device network info.", |
2101 "id": "NetworkInfo", | 2179 "id": "NetworkInfo", |
2102 "properties": { | 2180 "properties": { |
2103 "meid": { | 2181 "meid": { |
2104 "description": "MEID number of the CDMA device, e.g. `A00000
292788E1`.", | 2182 "description": "MEID number of the CDMA device, e.g. A000002
92788E1.", |
2105 "type": "string" | 2183 "type": "string" |
2106 }, | 2184 }, |
2107 "wifiMacAddress": { | 2185 "wifiMacAddress": { |
2108 "description": "WiFi MAC address of the device, e.g. `7c:11:
11:11:11:11`.", | 2186 "description": "WiFi MAC address of the device, e.g. 7c:11:1
1:11:11:11.", |
2109 "type": "string" | 2187 "type": "string" |
2110 }, | 2188 }, |
2111 "imei": { | 2189 "imei": { |
2112 "description": "IMEI number of the GSM device, e.g. `A100003
1212`.", | 2190 "description": "IMEI number of the GSM device, e.g. A1000031
212.", |
2113 "type": "string" | 2191 "type": "string" |
2114 } | 2192 } |
2115 }, | 2193 }, |
2116 "type": "object" | 2194 "type": "object" |
2117 }, | 2195 }, |
2118 "MemoryInfo": { | 2196 "MemoryInfo": { |
2119 "description": "Information about device memory and storage.", | 2197 "description": "Information about device memory and storage.", |
2120 "id": "MemoryInfo", | 2198 "id": "MemoryInfo", |
2121 "properties": { | 2199 "properties": { |
2122 "totalRam": { | 2200 "totalRam": { |
2123 "description": "Total RAM on device in bytes.", | 2201 "description": "Total RAM on device in bytes.", |
2124 "format": "int64", | 2202 "format": "int64", |
2125 "type": "string" | 2203 "type": "string" |
2126 }, | 2204 }, |
2127 "totalInternalStorage": { | 2205 "totalInternalStorage": { |
2128 "description": "Total internal storage on device in bytes.", | 2206 "description": "Total internal storage on device in bytes.", |
2129 "format": "int64", | 2207 "format": "int64", |
2130 "type": "string" | 2208 "type": "string" |
2131 } | 2209 } |
2132 }, | 2210 }, |
2133 "type": "object" | 2211 "type": "object" |
2134 }, | 2212 }, |
2135 "ApiLevelCondition": { | 2213 "ApiLevelCondition": { |
2136 "description": "A compliance rule condition which is satisfied if th
e Android Framework API\nlevel on the device does not meet a minimum requirement
. There can only be\none rule with this type of condition per policy.", | 2214 "description": "A compliance rule condition which is satisfied if th
e Android Framework API level on the device does not meet a minimum requirement.
There can only be one rule with this type of condition per policy.", |
2137 "id": "ApiLevelCondition", | 2215 "id": "ApiLevelCondition", |
2138 "properties": { | 2216 "properties": { |
2139 "minApiLevel": { | 2217 "minApiLevel": { |
2140 "description": "The minimum desired Android Framework API le
vel. If the device does not\nmeet the minimum requirement, this condition is sat
isfied. Must be greater\nthan zero.", | 2218 "description": "The minimum desired Android Framework API le
vel. If the device does not meet the minimum requirement, this condition is sati
sfied. Must be greater than zero.", |
2141 "format": "int32", | 2219 "format": "int32", |
2142 "type": "integer" | 2220 "type": "integer" |
2143 } | 2221 } |
2144 }, | 2222 }, |
2145 "type": "object" | 2223 "type": "object" |
2146 }, | 2224 }, |
2147 "SystemUpdate": { | 2225 "SystemUpdate": { |
2148 "description": "Configuration for managing system updates", | 2226 "description": "Configuration for managing system updates", |
2149 "id": "SystemUpdate", | 2227 "id": "SystemUpdate", |
2150 "properties": { | 2228 "properties": { |
2151 "startMinutes": { | 2229 "startMinutes": { |
2152 "description": "If the type is `WINDOWED`, the start of the
maintenance window, measured as\nthe number of minutes after midnight in device
local time. This value must\nbe between 0 and 1439, inclusive.", | 2230 "description": "If the type is WINDOWED, the start of the ma
intenance window, measured as the number of minutes after midnight in device loc
al time. This value must be between 0 and 1439, inclusive.", |
2153 "format": "int32", | 2231 "format": "int32", |
2154 "type": "integer" | 2232 "type": "integer" |
2155 }, | 2233 }, |
2156 "type": { | 2234 "type": { |
2157 "description": "The type of system update to configure.", | 2235 "description": "The type of system update to configure.", |
2158 "enum": [ | 2236 "enum": [ |
2159 "SYSTEM_UPDATE_TYPE_UNSPECIFIED", | 2237 "SYSTEM_UPDATE_TYPE_UNSPECIFIED", |
2160 "AUTOMATIC", | 2238 "AUTOMATIC", |
2161 "WINDOWED", | 2239 "WINDOWED", |
2162 "POSTPONE" | 2240 "POSTPONE" |
2163 ], | 2241 ], |
2164 "enumDescriptions": [ | 2242 "enumDescriptions": [ |
2165 "Follow the default update behavior for the device, whic
h typically\nrequires the user to accept system updates.", | 2243 "Follow the default update behavior for the device, whic
h typically requires the user to accept system updates.", |
2166 "Install automatically as soon as an update is available
.", | 2244 "Install automatically as soon as an update is available
.", |
2167 "Install automatically within a daily maintenance window
. If the device\nhas a device account, this also configures Play apps to be upda
ted within\nthe window. This is strongly recommended for kiosk devices because t
his\nis the only way apps persistently pinned to the foreground can be updated\n
by Play.", | 2245 "Install automatically within a daily maintenance window
. If the device has a device account, this also configures Play apps to be updat
ed within the window. This is strongly recommended for kiosk devices because thi
s is the only way apps persistently pinned to the foreground can be updated by P
lay.", |
2168 "Postpone automatic install up to a maximum of 30 days." | 2246 "Postpone automatic install up to a maximum of 30 days." |
2169 ], | 2247 ], |
2170 "type": "string" | 2248 "type": "string" |
2171 }, | 2249 }, |
2172 "endMinutes": { | 2250 "endMinutes": { |
2173 "description": "If the type is `WINDOWED`, the end of the ma
intenance window, measured as\nthe number of minutes after midnight in device lo
cal time. This value must\nbe between 0 and 1439, inclusive. If this value is le
ss than\n`start_minutes`, then the maintenance window spans midnight. If the\nma
intenance window specified is smaller than 30 minutes, the actual window\nis ext
ended to 30 minutes beyond the start time.", | 2251 "description": "If the type is WINDOWED, the end of the main
tenance window, measured as the number of minutes after midnight in device local
time. This value must be between 0 and 1439, inclusive. If this value is less t
han start_minutes, then the maintenance window spans midnight. If the maintenanc
e window specified is smaller than 30 minutes, the actual window is extended to
30 minutes beyond the start time.", |
2174 "format": "int32", | 2252 "format": "int32", |
2175 "type": "integer" | 2253 "type": "integer" |
2176 } | 2254 } |
2177 }, | 2255 }, |
2178 "type": "object" | 2256 "type": "object" |
2179 }, | 2257 }, |
2180 "HardwareStatus": { | 2258 "HardwareStatus": { |
2181 "description": "Hardware status. Temperatures may be compared to the
temperature thresholds\navailable in `hardwareInfo` to determine hardware healt
h.", | 2259 "description": "Hardware status. Temperatures may be compared to the
temperature thresholds available in hardwareInfo to determine hardware health."
, |
2182 "id": "HardwareStatus", | 2260 "id": "HardwareStatus", |
2183 "properties": { | 2261 "properties": { |
2184 "fanSpeeds": { | 2262 "fanSpeeds": { |
2185 "description": "Fan speeds in RPM for each fan on the device
. Empty array means that there\nare no fans or fan speed is not supported on the
system.", | 2263 "description": "Fan speeds in RPM for each fan on the device
. Empty array means that there are no fans or fan speed is not supported on the
system.", |
2186 "items": { | 2264 "items": { |
2187 "format": "float", | 2265 "format": "float", |
2188 "type": "number" | 2266 "type": "number" |
2189 }, | 2267 }, |
2190 "type": "array" | 2268 "type": "array" |
2191 }, | 2269 }, |
2192 "skinTemperatures": { | 2270 "skinTemperatures": { |
2193 "description": "Current device skin temperatures in Celsius.
", | 2271 "description": "Current device skin temperatures in Celsius.
", |
2194 "items": { | 2272 "items": { |
2195 "format": "float", | 2273 "format": "float", |
(...skipping 24 matching lines...) Expand all Loading... |
2220 }, | 2298 }, |
2221 "gpuTemperatures": { | 2299 "gpuTemperatures": { |
2222 "description": "Current GPU temperatures in Celsius for each
GPU on the device.", | 2300 "description": "Current GPU temperatures in Celsius for each
GPU on the device.", |
2223 "items": { | 2301 "items": { |
2224 "format": "float", | 2302 "format": "float", |
2225 "type": "number" | 2303 "type": "number" |
2226 }, | 2304 }, |
2227 "type": "array" | 2305 "type": "array" |
2228 }, | 2306 }, |
2229 "cpuUsages": { | 2307 "cpuUsages": { |
2230 "description": "CPU usages in percentage for each core avail
able on the device.\nUsage is 0 for each unplugged core. Empty array implies tha
t CPU usage\nis not supported in the system.", | 2308 "description": "CPU usages in percentage for each core avail
able on the device. Usage is 0 for each unplugged core. Empty array implies that
CPU usage is not supported in the system.", |
2231 "items": { | 2309 "items": { |
2232 "format": "float", | 2310 "format": "float", |
2233 "type": "number" | 2311 "type": "number" |
2234 }, | 2312 }, |
2235 "type": "array" | 2313 "type": "array" |
2236 } | 2314 } |
2237 }, | 2315 }, |
2238 "type": "object" | 2316 "type": "object" |
2239 } | 2317 } |
2240 }, | 2318 }, |
2241 "servicePath": "", | 2319 "servicePath": "", |
2242 "title": "Android Management API", | 2320 "title": "Android Management API", |
2243 "version": "v1" | 2321 "version": "v1" |
2244 } | 2322 } |
OLD | NEW |