Ross Scroggs
8f69c4c820
Make contact delegation consistent with email delegation ( #1296 )
...
Add auth to discovery document
uid allowed in create/delete as input is converted to primaryemail
2020-12-15 15:22:23 -05:00
Jay Lee
caad9e999c
also check on contact delegation delete
2020-12-14 14:49:34 +00:00
Jay Lee
2e3195c5ee
prevent bad contact delegations
2020-12-14 14:26:22 +00:00
Ross Scroggs
1767a0889d
Handle updating individual annotated fields ( #1294 )
...
* Handle updating inv=dividual annotated fields
* Update cbcm.py
2020-12-11 10:07:37 -05:00
Ross Scroggs
3036366de5
Fix browser error messages, item name map in update browser ( #1293 )
...
* Update cbcm.py
Fix error message
$ gam update browser a27590cb-61fc-4ca3-8ef7-34bf736c4973 asset FileMakerServer
ERROR: asset is not a valid argument for "gam print browsers"
Fix item name map
$ gam update browser a27590cb-61fc-4ca3-8ef7-34bf736c4973 assetid FileMakerServer location Location notes Notes user User
ERROR: 400: Invalid JSON payload received. Unknown name "annotatedAssetid" at 'browser': Cannot find field. - invalid
* Fix more error messages
2020-12-11 09:20:03 -05:00
Jay Lee
39b9622cdb
Support for Contact Delegation API
2020-12-09 11:34:05 -05:00
Ross Scroggs
e9c18d0c01
Add info deviceuserstate ( #1290 )
...
* Fix typos in update deviceuserstate documentation
* Add info deviceuserstate
* Update info/update deviceusertstate documentation
* Update devices.py
2020-12-07 09:38:05 -05:00
Ross Scroggs
84f52668b7
update deviceuserstate cleanup/documentation ( #1289 )
...
* update deviceuserstate cleanup
* Update GamCommands.txt
2020-12-06 22:24:48 -05:00
Ross Scroggs
cc60095344
Map / to %2F in group email address for Group Settings API ( #1288 )
...
* Map / to %2F in group email address for Group Settings API
* Make update deviceuserstate consistent with other deviceuser commands
gam update deviceuserstate [id] <DeviceUserID> ...
2020-12-06 20:56:49 -05:00
Jay Lee
5a1f237b30
make vaultcount a print command
2020-12-06 16:17:00 -05:00
Jay Lee
934a671344
"gam show vaultcount" - fixes #1271
2020-12-06 16:08:25 -05:00
Jay Lee
b81ea8e8c7
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-12-06 10:58:29 -05:00
Jay Lee
817920940e
Fix crash on no device users
2020-12-06 10:58:01 -05:00
Ross Scroggs
8ce18960fe
Multiple updates ( #1273 )
...
* Multiple updates
Add member to print cigroups|cigroup-members to select groups to display
Drop Google-Coordinate product ID
Update print|show driveactivity to Drive Activity API v2
Check for more parents than 1 in create|update drivefile
Update documentation
Allow times_to_check_status with gam getcommand cros
Display deviceId and commandId when issuing/getting commands
* Fix orgunit references in vault
* Rename member to enterprisemember in print cigroups|cigroup-members
Give error message indication the Enterprise license is required
* Add lastKnownNetwork to CrOS fields
* Soft fail when deleting user photo
* Fix bug in PR #1273
2020-12-05 21:54:26 -05:00
Jay Lee
9c22114aa5
remove invalid scope
2020-12-05 20:40:03 -05:00
Jay Lee
64b6cfea93
forgot the delete
2020-12-05 20:27:29 -05:00
Jay Lee
c8e76d5727
CBCM API, Device API update Client State, v5.30
2020-12-05 19:44:48 -05:00
Jay Lee
fcc3d674c2
command payload value is a JSON string, not a dict
2020-10-15 17:40:26 -04:00
Jay Lee
aaf6448563
Support for Chrome OS remote device commands
2020-10-15 07:05:45 -04:00
Ross Scroggs
4a696635f5
Fix display of contentRestrictions in print filelist ( #1268 )
...
Update documentation
2020-10-09 17:55:30 -04:00
Jay Lee
beb14befca
merge
2020-10-09 14:39:02 -04:00
Jay Lee
c91703364d
Workspace SKU updates
2020-10-09 14:31:30 -04:00
Ross Scroggs
597cea17cd
Add gshortcut to MIME type choices to be consistent ( #1266 )
...
Add third party MIME type shortcut
2020-10-09 12:39:06 -04:00
Ross Scroggs
9585f6c598
reason not valid woth readonly false; add contentrestrions to file field list ( #1263 )
2020-10-09 11:28:27 -04:00
Ross Scroggs
55e5b86ec4
Make labels display useful ( #1260 )
...
With the existing code you get these columns:
labels.cloudidentity.googleapis.com/groups.discussion_forum,labels.cloudidentity.googleapis.com/groups.security
but there is no data in the columns so you can't tell whcih groups have which values; by translating '' to True you can.
2020-10-09 10:33:03 -04:00
Max Mathieu
bf29a56aeb
Updated branding ( #1261 )
...
* Update branding
* Update branding
* Update branding
* Update branding
* Update branding
* Update var.py
2020-10-09 10:32:37 -04:00
Jay Lee
07c57d4197
add support for Drive shortcut creation
2020-10-09 10:31:21 -04:00
Jay Lee
14239fcd47
Support Drive content restrictions
2020-10-09 09:11:14 -04:00
Jay Lee
eb155a5690
Merge branch 'master' of https://github.com/jay0lee/GAM
2020-10-05 09:46:39 -04:00
Jay Lee
b78575aa8f
Initial support for group membership expiration
2020-10-05 09:46:24 -04:00
Ross Scroggs
91a5cd5c69
Fix bug in sync devices ( #1259 )
2020-10-03 19:52:22 -04:00
Jay Lee
d6a65861e0
GAM 5.22
2020-10-01 09:08:46 -04:00
Jay Lee
326cccd525
Stop using batch for licensing
...
Licensing API seems to throw lots of errors on large batch and we weren't retrying temp errors. For now just stick with serial methods.
2020-10-01 07:36:23 -04:00
Ross Scroggs
b41ca0f0be
More bug/pylint cleanup ( #1258 )
...
* More bug/pylint cleanup
* pylint cleanup groups.py
* Update GamCommands.txt
2020-09-30 16:56:42 -04:00
Jay Lee
02fa092775
fix reporting orgunit scoping
2020-09-30 16:44:48 -04:00
Ross Scroggs
57860dc5a6
Fix issue #1256 ( #1257 )
2020-09-30 09:43:42 -04:00
Ross Scroggs
5e38137916
Add view all|company|personal to print devices ( #1254 )
...
* Add view all|company|personal to print devices
Update documentation
* sync devices cleanup
* Update sync devices documentation
* Cleanup;
The advantage here is that they will be no filter errors unless you specify a particular view and a filter that doesn't match
* Simplify selection of devices to print
Default - all
Positve choices
Negative choices - backwards compatible
2020-09-29 14:47:06 -04:00
Ross Scroggs
dc90fb9c94
Update to new DwD page ( #1253 )
2020-09-26 10:16:08 -04:00
Ross Scroggs
2732abbc93
Make sync license consistent with other license commands ( #1252 )
2020-09-25 08:23:07 -04:00
Jay Lee
18bab4044e
'gam sync licenses' command, move licensing to separate file
2020-09-24 09:49:49 -04:00
Ross Scroggs
adb1e58937
GAM_ADMIN_EMAIL overrides oauth2.txt value ( #1249 )
...
pylint cleanup unused imports
2020-09-22 12:43:53 -04:00
Ross Scroggs
a59c893652
Device updates ( #1247 )
...
* Device updates
Make info device consistent with action device: id keyword is optional
Add nodeviceusers to print devices
pylint cleanup
* Fix documentation
* Sdd orderby to print devices
* Device assetTag cleanup
* Fix typo, appease pylint
* Strip C from customer ID
2020-09-21 10:14:34 -04:00
Ross Scroggs
93bcd5f43b
Fix bug, handle missing required argument ( #1246 )
2020-09-19 12:37:40 -04:00
Ross Scroggs
d7453a7841
filter is a builtin Python function ( #1244 )
...
devices.py:118:4: W0622: Redefining built-in 'filter' (redefined-builtin)
2020-09-18 15:28:42 -04:00
Ross Scroggs
4fe3dc052a
Delete duplicate code ( #1243 )
2020-09-18 15:00:25 -04:00
Jay Lee
c88c755785
MacOS 10.15.6, fix groups+DASA+user info
2020-09-18 10:23:55 -04:00
Ross Scroggs
597256d048
Ensure that customer_id, domain and an admin email address are present for DASA ( #1242 )
...
* Ensure that customer_id, domain and an admin email address are present for DASA
* Fix typos
2020-09-18 07:38:38 -04:00
Jay Lee
cda626b01c
minor fixes to devices, more travis testing
2020-09-17 07:55:07 -04:00
Jay Lee
7d84da1520
GAM 5.20
2020-09-16 16:54:33 -04:00
Jay Lee
c2f53577ab
Cloud Identity Devices API, 5.20
2020-09-16 15:33:55 -04:00