Skip to content

Commit 511583f

Browse files
authored
Merge pull request #4 from Tools4ever-NIM/devices
Add ChromeDevices and MobileDevices
2 parents 83031d6 + d6eb5fc commit 511583f

File tree

1 file changed

+209
-1
lines changed

1 file changed

+209
-1
lines changed

Google.json

Lines changed: 209 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,131 @@
11
{
22
"schema": {
33
"crud_objects": {
4+
"chromeosdevices": {
5+
"operations": {
6+
"chromeosdevices_get": {
7+
"method": "get",
8+
"call": {
9+
"mode": "normal",
10+
"path": "/admin/directory/v1/customer/my_customer/devices/chromeos"
11+
},
12+
"query_parameters": {
13+
"projection": "FULL"
14+
},
15+
"processing_options": {
16+
"output_field": "chromeosdevices"
17+
}
18+
},
19+
"chromeosdevice_update": {
20+
"method": "put",
21+
"call": {
22+
"mode": "normal",
23+
"path": "/admin/directory/v1/customer/my_customer/devices/chromeos/{deviceId}"
24+
},
25+
"semantics": "update",
26+
"resource_allowance_default": "optional",
27+
"resource_prohibited": [
28+
"kind",
29+
"etag"
30+
],
31+
"resource_mandatory": [
32+
"deviceId"
33+
]
34+
}
35+
},
36+
"key": "deviceId",
37+
"resources": {
38+
"deviceId": "string*",
39+
"serialNumber": "string*",
40+
"status": "string*",
41+
"lastSync": "string*",
42+
"supportEndDate": "string*",
43+
"annotatedUser": "string*",
44+
"annotatedLocation": "string*",
45+
"notes": "string*",
46+
"model": "string*",
47+
"meid": "string*",
48+
"orderNumber": "string*",
49+
"willAutoRenew": "boolean*",
50+
"osVersion": "string*",
51+
"platformVersion": "string*",
52+
"firmwareVersion": "string*",
53+
"macAddress": "string*",
54+
"bootMode": "string*",
55+
"lastEnrollmentTime": "string*",
56+
"kind": "string*",
57+
"recentUsers": [
58+
{
59+
"type": "string*",
60+
"email": "string*"
61+
}
62+
],
63+
"activeTimeRanges": [
64+
{
65+
"activeTime": "string*",
66+
"date": "string*"
67+
}
68+
],
69+
"ethernetMacAddress": "string*",
70+
"annotatedAssetId": "string*",
71+
"etag": "string*",
72+
"systemRamTotal": "string*",
73+
"cpuInfo": [
74+
{
75+
"model": "string*",
76+
"architecture": "string*",
77+
"maxClockSpeedKhz": "string*",
78+
"logicalCpus": "string*"
79+
}
80+
],
81+
"deviceFiles": [
82+
{
83+
"name": "string*",
84+
"type": "string*",
85+
"downloadUrl": "string*",
86+
"createTime": "string*"
87+
}
88+
],
89+
"systemRamFreeReports": [
90+
{
91+
"reportTime": "string*",
92+
"systemRamFreeInfo": ["string*"]
93+
}
94+
],
95+
"lastKnownNetwork": [
96+
{
97+
"ipAddress": "string*",
98+
"wanIpAddress": "string*"
99+
}
100+
],
101+
"autoUpdateExpiration": "string*",
102+
"ethernetMacAddress0": "string*",
103+
"dockMacAddress": "string*",
104+
"manufactureDate": "string*",
105+
"orgUnitPath": "string*",
106+
"tpmVersionInfo": {
107+
"family": "string*",
108+
"specLevel": "string*",
109+
"manufacturer": "string*",
110+
"tpmModel": "string*",
111+
"firmwareVersion": "string*",
112+
"vendorSpecific": "string*"
113+
},
114+
"screenshotFiles": [
115+
{
116+
"name": "string*",
117+
"type": "string*",
118+
"downloadUrl": "string*",
119+
"createTime": "string*"
120+
}
121+
],
122+
"orgUnitId": "string*",
123+
"osUpdateStatus": "string*",
124+
"firstEnrollmentTime": "string*",
125+
"lastDeprovisionTimestamp": "string*",
126+
"deprovisionReason": "string*"
127+
}
128+
},
4129
"groups": {
5130
"operations": {
6131
"groups_get": {
@@ -373,6 +498,87 @@
373498
"delivery_settings": "string*"
374499
}
375500
},
501+
"mobiledevices": {
502+
"operations": {
503+
"mobiledevices_get": {
504+
"method": "get",
505+
"call": {
506+
"mode": "normal",
507+
"path": "/admin/directory/v1/customer/my_customer/devices/mobile"
508+
},
509+
"maxPageCount": 100,
510+
"query_parameters": {
511+
"projection": "FULL"
512+
},
513+
"processing_options": {
514+
"output_field": "mobiledevices"
515+
}
516+
},
517+
"mobiledevice_delete": {
518+
"method": "delete",
519+
"call": {
520+
"mode": "normal",
521+
"path": "/admin/directory/v1/customer/my_customer/devices/mobile/{resourceId}"
522+
},
523+
"semantics": "delete",
524+
"resource_allowance_default": "prohibited",
525+
"resource_mandatory": [
526+
"resourceId"
527+
]
528+
}
529+
},
530+
"key": "resourceId",
531+
"resources": {
532+
"kind": "string*",
533+
"etag": "string*",
534+
"resourceId": "string*",
535+
"deviceId": "string*",
536+
"name": ["string*"],
537+
"email": ["string*"],
538+
"model": "string*",
539+
"os": "string*",
540+
"type": "string*",
541+
"status": "string*",
542+
"hardwareId": "string*",
543+
"firstSync": "string*",
544+
"lastSync": "string*",
545+
"userAgent": "string*",
546+
"serialNumber": "string*",
547+
"imei": "string*",
548+
"meid": "string*",
549+
"wifiMacAddress": "string*",
550+
"networkOperator": "string*",
551+
"defaultLanguage": "string*",
552+
"managedAccountIsOnOwnerProfile": "boolean*",
553+
"deviceCompromisedStatus": "string*",
554+
"buildNumber": "string*",
555+
"kernelVersion": "string*",
556+
"basebandVersion": "string*",
557+
"unknownSourcesStatus": "boolean*",
558+
"developerOptionsStatus": "boolean*",
559+
"otherAccountsInfo": ["string*"],
560+
"adbStatus": "boolean*",
561+
"supportsWorkProfile": "boolean*",
562+
"manufacturer": "string*",
563+
"releaseVersion": "string*",
564+
"securityPatchLevel": "string*",
565+
"brand": "string*",
566+
"bootloaderVersion": "string*",
567+
"hardware": "string*",
568+
"encryptionStatus": "string*",
569+
"devicePasswordStatus": "string*",
570+
"privilege": "string*",
571+
"applications": [
572+
{
573+
"packageName": "string*",
574+
"displayName": "string*",
575+
"versionName": "string*",
576+
"versionCode": "string*",
577+
"permission": ["string*"]
578+
}
579+
]
580+
}
581+
},
376582
"orgunits": {
377583
"operations": {
378584
"org_units_get": {
@@ -963,7 +1169,9 @@
9631169
"https://www.googleapis.com/auth/admin.directory.group",
9641170
"https://www.googleapis.com/auth/admin.directory.orgunit",
9651171
"https://www.googleapis.com/auth/admin.directory.rolemanagement",
966-
"https://www.googleapis.com/auth/apps.groups.settings"
1172+
"https://www.googleapis.com/auth/apps.groups.settings",
1173+
"https://www.googleapis.com/auth/admin.directory.device.chromeos",
1174+
"https://www.googleapis.com/auth/admin.directory.device.mobile"
9671175
],
9681176
"type": "signed-jwt",
9691177
"authUrl": "https://www.googleapis.com/oauth2/v4/token",

0 commit comments

Comments
 (0)