OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/admin.directory.customer": { | 5 "https://www.googleapis.com/auth/admin.directory.customer": { |
6 "description": "View and manage customer related information
" | 6 "description": "View and manage customer related information
" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/admin.directory.customer.readon
ly": { | 8 "https://www.googleapis.com/auth/admin.directory.customer.readon
ly": { |
9 "description": "View customer related information" | 9 "description": "View customer related information" |
10 }, | 10 }, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 } | 86 } |
87 } | 87 } |
88 }, | 88 }, |
89 "basePath": "/admin/directory/v1/", | 89 "basePath": "/admin/directory/v1/", |
90 "baseUrl": "https://www.googleapis.com/admin/directory/v1/", | 90 "baseUrl": "https://www.googleapis.com/admin/directory/v1/", |
91 "batchPath": "batch", | 91 "batchPath": "batch", |
92 "canonicalName": "directory", | 92 "canonicalName": "directory", |
93 "description": "The Admin SDK Directory API lets you view and manage enterpr
ise resources such as users and groups, administrative notifications, security f
eatures, and more.", | 93 "description": "The Admin SDK Directory API lets you view and manage enterpr
ise resources such as users and groups, administrative notifications, security f
eatures, and more.", |
94 "discoveryVersion": "v1", | 94 "discoveryVersion": "v1", |
95 "documentationLink": "https://developers.google.com/admin-sdk/directory/", | 95 "documentationLink": "https://developers.google.com/admin-sdk/directory/", |
96 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tVkq2fforoBT9yvJW6dzQX6ja6Q\"", | 96 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/iUklLG6kJseJVFl-uZaHVaj7V_o\"", |
97 "icons": { | 97 "icons": { |
98 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 98 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
99 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 99 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
100 }, | 100 }, |
101 "id": "admin:directory_v1", | 101 "id": "admin:directory_v1", |
102 "kind": "discovery#restDescription", | 102 "kind": "discovery#restDescription", |
103 "name": "admin", | 103 "name": "admin", |
104 "ownerDomain": "google.com", | 104 "ownerDomain": "google.com", |
105 "ownerName": "Google", | 105 "ownerName": "Google", |
106 "packagePath": "admin", | 106 "packagePath": "admin", |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 "https://www.googleapis.com/auth/admin.directory.user", | 252 "https://www.googleapis.com/auth/admin.directory.user", |
253 "https://www.googleapis.com/auth/admin.directory.user.al
ias", | 253 "https://www.googleapis.com/auth/admin.directory.user.al
ias", |
254 "https://www.googleapis.com/auth/admin.directory.user.al
ias.readonly", | 254 "https://www.googleapis.com/auth/admin.directory.user.al
ias.readonly", |
255 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" | 255 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" |
256 ] | 256 ] |
257 } | 257 } |
258 } | 258 } |
259 }, | 259 }, |
260 "chromeosdevices": { | 260 "chromeosdevices": { |
261 "methods": { | 261 "methods": { |
| 262 "action": { |
| 263 "description": "Take action on Chrome OS Device", |
| 264 "httpMethod": "POST", |
| 265 "id": "directory.chromeosdevices.action", |
| 266 "parameterOrder": [ |
| 267 "customerId", |
| 268 "resourceId" |
| 269 ], |
| 270 "parameters": { |
| 271 "customerId": { |
| 272 "description": "Immutable id of the Google Apps acco
unt", |
| 273 "location": "path", |
| 274 "required": true, |
| 275 "type": "string" |
| 276 }, |
| 277 "resourceId": { |
| 278 "description": "Immutable id of Chrome OS Device", |
| 279 "location": "path", |
| 280 "required": true, |
| 281 "type": "string" |
| 282 } |
| 283 }, |
| 284 "path": "customer/{customerId}/devices/chromeos/{resourceId}
/action", |
| 285 "request": { |
| 286 "$ref": "ChromeOsDeviceAction" |
| 287 }, |
| 288 "scopes": [ |
| 289 "https://www.googleapis.com/auth/admin.directory.device.
chromeos" |
| 290 ] |
| 291 }, |
262 "get": { | 292 "get": { |
263 "description": "Retrieve Chrome OS Device", | 293 "description": "Retrieve Chrome OS Device", |
264 "httpMethod": "GET", | 294 "httpMethod": "GET", |
265 "id": "directory.chromeosdevices.get", | 295 "id": "directory.chromeosdevices.get", |
266 "parameterOrder": [ | 296 "parameterOrder": [ |
267 "customerId", | 297 "customerId", |
268 "deviceId" | 298 "deviceId" |
269 ], | 299 ], |
270 "parameters": { | 300 "parameters": { |
271 "customerId": { | 301 "customerId": { |
(...skipping 3114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3386 "response": { | 3416 "response": { |
3387 "$ref": "VerificationCodes" | 3417 "$ref": "VerificationCodes" |
3388 }, | 3418 }, |
3389 "scopes": [ | 3419 "scopes": [ |
3390 "https://www.googleapis.com/auth/admin.directory.user.se
curity" | 3420 "https://www.googleapis.com/auth/admin.directory.user.se
curity" |
3391 ] | 3421 ] |
3392 } | 3422 } |
3393 } | 3423 } |
3394 } | 3424 } |
3395 }, | 3425 }, |
3396 "revision": "20160824", | 3426 "revision": "20161020", |
3397 "rootUrl": "https://www.googleapis.com/", | 3427 "rootUrl": "https://www.googleapis.com/", |
3398 "schemas": { | 3428 "schemas": { |
3399 "Alias": { | 3429 "Alias": { |
3400 "description": "JSON template for Alias object in Directory API.", | 3430 "description": "JSON template for Alias object in Directory API.", |
3401 "id": "Alias", | 3431 "id": "Alias", |
3402 "properties": { | 3432 "properties": { |
3403 "alias": { | 3433 "alias": { |
3404 "description": "A alias email", | 3434 "description": "A alias email", |
3405 "type": "string" | 3435 "type": "string" |
3406 }, | 3436 }, |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3766 "format": "date-time", | 3796 "format": "date-time", |
3767 "type": "string" | 3797 "type": "string" |
3768 }, | 3798 }, |
3769 "willAutoRenew": { | 3799 "willAutoRenew": { |
3770 "description": "Will Chromebook auto renew after support end
date (Read-only)", | 3800 "description": "Will Chromebook auto renew after support end
date (Read-only)", |
3771 "type": "boolean" | 3801 "type": "boolean" |
3772 } | 3802 } |
3773 }, | 3803 }, |
3774 "type": "object" | 3804 "type": "object" |
3775 }, | 3805 }, |
| 3806 "ChromeOsDeviceAction": { |
| 3807 "description": "JSON request template for firing actions on ChromeOs
Device in Directory Devices API.", |
| 3808 "id": "ChromeOsDeviceAction", |
| 3809 "properties": { |
| 3810 "action": { |
| 3811 "annotations": { |
| 3812 "required": [ |
| 3813 "directory.chromeosdevices.action" |
| 3814 ] |
| 3815 }, |
| 3816 "description": "Action to be taken on the ChromeOs Device", |
| 3817 "type": "string" |
| 3818 }, |
| 3819 "deprovisionReason": { |
| 3820 "type": "string" |
| 3821 } |
| 3822 }, |
| 3823 "type": "object" |
| 3824 }, |
3776 "ChromeOsDevices": { | 3825 "ChromeOsDevices": { |
3777 "description": "JSON response template for List Chrome OS Devices op
eration in Directory API.", | 3826 "description": "JSON response template for List Chrome OS Devices op
eration in Directory API.", |
3778 "id": "ChromeOsDevices", | 3827 "id": "ChromeOsDevices", |
3779 "properties": { | 3828 "properties": { |
3780 "chromeosdevices": { | 3829 "chromeosdevices": { |
3781 "description": "List of Chrome OS Device objects.", | 3830 "description": "List of Chrome OS Device objects.", |
3782 "items": { | 3831 "items": { |
3783 "$ref": "ChromeOsDevice" | 3832 "$ref": "ChromeOsDevice" |
3784 }, | 3833 }, |
3785 "type": "array" | 3834 "type": "array" |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4205 } | 4254 } |
4206 }, | 4255 }, |
4207 "type": "object" | 4256 "type": "object" |
4208 }, | 4257 }, |
4209 "type": "array" | 4258 "type": "array" |
4210 }, | 4259 }, |
4211 "basebandVersion": { | 4260 "basebandVersion": { |
4212 "description": "Mobile Device Baseband version (Read-only)", | 4261 "description": "Mobile Device Baseband version (Read-only)", |
4213 "type": "string" | 4262 "type": "string" |
4214 }, | 4263 }, |
| 4264 "bootloaderVersion": { |
| 4265 "description": "Mobile Device Bootloader version (Read-only)
", |
| 4266 "type": "string" |
| 4267 }, |
| 4268 "brand": { |
| 4269 "description": "Mobile Device Brand (Read-only)", |
| 4270 "type": "string" |
| 4271 }, |
4215 "buildNumber": { | 4272 "buildNumber": { |
4216 "description": "Mobile Device Build number (Read-only)", | 4273 "description": "Mobile Device Build number (Read-only)", |
4217 "type": "string" | 4274 "type": "string" |
4218 }, | 4275 }, |
4219 "defaultLanguage": { | 4276 "defaultLanguage": { |
4220 "description": "The default locale used on the Mobile Device
(Read-only)", | 4277 "description": "The default locale used on the Mobile Device
(Read-only)", |
4221 "type": "string" | 4278 "type": "string" |
4222 }, | 4279 }, |
4223 "developerOptionsStatus": { | 4280 "developerOptionsStatus": { |
4224 "description": "Developer options enabled or disabled on dev
ice (Read-only)", | 4281 "description": "Developer options enabled or disabled on dev
ice (Read-only)", |
4225 "type": "boolean" | 4282 "type": "boolean" |
4226 }, | 4283 }, |
4227 "deviceCompromisedStatus": { | 4284 "deviceCompromisedStatus": { |
4228 "description": "Mobile Device compromised status (Read-only)
", | 4285 "description": "Mobile Device compromised status (Read-only)
", |
4229 "type": "string" | 4286 "type": "string" |
4230 }, | 4287 }, |
4231 "deviceId": { | 4288 "deviceId": { |
4232 "description": "Mobile Device serial number (Read-only)", | 4289 "description": "Mobile Device serial number (Read-only)", |
4233 "type": "string" | 4290 "type": "string" |
4234 }, | 4291 }, |
| 4292 "devicePasswordStatus": { |
| 4293 "description": "DevicePasswordStatus (Read-only)", |
| 4294 "type": "string" |
| 4295 }, |
4235 "email": { | 4296 "email": { |
4236 "description": "List of owner user's email addresses (Read-o
nly)", | 4297 "description": "List of owner user's email addresses (Read-o
nly)", |
4237 "items": { | 4298 "items": { |
4238 "type": "string" | 4299 "type": "string" |
4239 }, | 4300 }, |
4240 "type": "array" | 4301 "type": "array" |
4241 }, | 4302 }, |
| 4303 "encryptionStatus": { |
| 4304 "description": "Mobile Device Encryption Status (Read-only)"
, |
| 4305 "type": "string" |
| 4306 }, |
4242 "etag": { | 4307 "etag": { |
4243 "description": "ETag of the resource.", | 4308 "description": "ETag of the resource.", |
4244 "type": "string" | 4309 "type": "string" |
4245 }, | 4310 }, |
4246 "firstSync": { | 4311 "firstSync": { |
4247 "description": "Date and time the device was first synchroni
zed with the policy settings in the Google Apps administrator control panel (Rea
d-only)", | 4312 "description": "Date and time the device was first synchroni
zed with the policy settings in the Google Apps administrator control panel (Rea
d-only)", |
4248 "format": "date-time", | 4313 "format": "date-time", |
4249 "type": "string" | 4314 "type": "string" |
4250 }, | 4315 }, |
| 4316 "hardware": { |
| 4317 "description": "Mobile Device Hardware (Read-only)", |
| 4318 "type": "string" |
| 4319 }, |
4251 "hardwareId": { | 4320 "hardwareId": { |
4252 "description": "Mobile Device Hardware Id (Read-only)", | 4321 "description": "Mobile Device Hardware Id (Read-only)", |
4253 "type": "string" | 4322 "type": "string" |
4254 }, | 4323 }, |
4255 "imei": { | 4324 "imei": { |
4256 "description": "Mobile Device IMEI number (Read-only)", | 4325 "description": "Mobile Device IMEI number (Read-only)", |
4257 "type": "string" | 4326 "type": "string" |
4258 }, | 4327 }, |
4259 "kernelVersion": { | 4328 "kernelVersion": { |
4260 "description": "Mobile Device Kernel version (Read-only)", | 4329 "description": "Mobile Device Kernel version (Read-only)", |
4261 "type": "string" | 4330 "type": "string" |
4262 }, | 4331 }, |
4263 "kind": { | 4332 "kind": { |
4264 "default": "admin#directory#mobiledevice", | 4333 "default": "admin#directory#mobiledevice", |
4265 "description": "Kind of resource this is.", | 4334 "description": "Kind of resource this is.", |
4266 "type": "string" | 4335 "type": "string" |
4267 }, | 4336 }, |
4268 "lastSync": { | 4337 "lastSync": { |
4269 "description": "Date and time the device was last synchroniz
ed with the policy settings in the Google Apps administrator control panel (Read
-only)", | 4338 "description": "Date and time the device was last synchroniz
ed with the policy settings in the Google Apps administrator control panel (Read
-only)", |
4270 "format": "date-time", | 4339 "format": "date-time", |
4271 "type": "string" | 4340 "type": "string" |
4272 }, | 4341 }, |
4273 "managedAccountIsOnOwnerProfile": { | 4342 "managedAccountIsOnOwnerProfile": { |
4274 "description": "Boolean indicating if this account is on own
er/primary profile or not (Read-only)", | 4343 "description": "Boolean indicating if this account is on own
er/primary profile or not (Read-only)", |
4275 "type": "boolean" | 4344 "type": "boolean" |
4276 }, | 4345 }, |
| 4346 "manufacturer": { |
| 4347 "description": "Mobile Device manufacturer (Read-only)", |
| 4348 "type": "string" |
| 4349 }, |
4277 "meid": { | 4350 "meid": { |
4278 "description": "Mobile Device MEID number (Read-only)", | 4351 "description": "Mobile Device MEID number (Read-only)", |
4279 "type": "string" | 4352 "type": "string" |
4280 }, | 4353 }, |
4281 "model": { | 4354 "model": { |
4282 "description": "Name of the model of the device", | 4355 "description": "Name of the model of the device", |
4283 "type": "string" | 4356 "type": "string" |
4284 }, | 4357 }, |
4285 "name": { | 4358 "name": { |
4286 "description": "List of owner user's names (Read-only)", | 4359 "description": "List of owner user's names (Read-only)", |
(...skipping 10 matching lines...) Expand all Loading... |
4297 "description": "Name of the mobile operating system", | 4370 "description": "Name of the mobile operating system", |
4298 "type": "string" | 4371 "type": "string" |
4299 }, | 4372 }, |
4300 "otherAccountsInfo": { | 4373 "otherAccountsInfo": { |
4301 "description": "List of accounts added on device (Read-only)
", | 4374 "description": "List of accounts added on device (Read-only)
", |
4302 "items": { | 4375 "items": { |
4303 "type": "string" | 4376 "type": "string" |
4304 }, | 4377 }, |
4305 "type": "array" | 4378 "type": "array" |
4306 }, | 4379 }, |
| 4380 "privilege": { |
| 4381 "description": "DMAgentPermission (Read-only)", |
| 4382 "type": "string" |
| 4383 }, |
| 4384 "releaseVersion": { |
| 4385 "description": "Mobile Device release version version (Read-
only)", |
| 4386 "type": "string" |
| 4387 }, |
4307 "resourceId": { | 4388 "resourceId": { |
4308 "description": "Unique identifier of Mobile Device (Read-onl
y)", | 4389 "description": "Unique identifier of Mobile Device (Read-onl
y)", |
4309 "type": "string" | 4390 "type": "string" |
4310 }, | 4391 }, |
| 4392 "securityPatchLevel": { |
| 4393 "description": "Mobile Device Security patch level (Read-onl
y)", |
| 4394 "format": "int64", |
| 4395 "type": "string" |
| 4396 }, |
4311 "serialNumber": { | 4397 "serialNumber": { |
4312 "description": "Mobile Device SSN or Serial Number (Read-onl
y)", | 4398 "description": "Mobile Device SSN or Serial Number (Read-onl
y)", |
4313 "type": "string" | 4399 "type": "string" |
4314 }, | 4400 }, |
4315 "status": { | 4401 "status": { |
4316 "description": "Status of the device (Read-only)", | 4402 "description": "Status of the device (Read-only)", |
4317 "type": "string" | 4403 "type": "string" |
4318 }, | 4404 }, |
4319 "supportsWorkProfile": { | 4405 "supportsWorkProfile": { |
4320 "description": "Work profile supported on device (Read-only)
", | 4406 "description": "Work profile supported on device (Read-only)
", |
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5580 "type": "string" | 5666 "type": "string" |
5581 } | 5667 } |
5582 }, | 5668 }, |
5583 "type": "object" | 5669 "type": "object" |
5584 } | 5670 } |
5585 }, | 5671 }, |
5586 "servicePath": "admin/directory/v1/", | 5672 "servicePath": "admin/directory/v1/", |
5587 "title": "Admin Directory API", | 5673 "title": "Admin Directory API", |
5588 "version": "directory_v1" | 5674 "version": "directory_v1" |
5589 } | 5675 } |
OLD | NEW |