* Add GAM_CSV_ROW_DROP_FILTER
Allow regex column names in GAM_CSV_ROW_FILTER and GAM_CSV_ROW_DROP_FILTER.
```
# Get users with managers
$ export GAM_CSV_ROW_FILTER="relations.*.type:regex:manager"
$ gam print users query "orgUnitPath='/Test'" relations
Getting all Users in G Suite account that match query (orgUnitPath='/Test') (may take some time on a large account)...
Got 17 Users: dick@domain.com - tom@domain.com
primaryEmail,relations,relations.0.value,relations.0.type,relations.1.value,relations.1.type
testuser1@domain.com,,admin@rdschool.net,manager,,
testuser2@domain.com,,testuser1@domain.com,manager,,
# Get users without managers
$ export GAM_CSV_ROW_DROP_FILTER="relations.*.type:regex:manager"
$ gam print users query "orgUnitPath='/Test'" relations
Getting all Users in G Suite account that match query (orgUnitPath='/Test') (may take some time on a large account)...
Got 17 Users: dick@domain.com - tom@domain.com
primaryEmail,relations,relations.0.value,relations.0.type,relations.1.value,relations.1.type
dick@domain.com,,,,,
harry@domain.com,,,,,
testadmin@domain.com,,,,,
...
* Update var.py to 5.31
* 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
* 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
* 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
* userKey and customer is an invalid combination; userkey and domain is allowed
* DASA suggestions
I would not use OAUTHFILE to distinguish between normal/DASA, it seems to me that this might lead to oauth2service.json getting deleted by accident.
By using enabledasa.txt you can flip between the two modes easily.
* Update __init__.py
Is this what yuou meant?
Automatic fixes produced by yapf formatting using `--style=google`, as
well as common pre-commit checks such as trailing whitespace removal,
double quote fixer, and newlines at the end of a file.
* Refactor into a python module format
-Updates import statements to be absolute vs implicitly relative
-Uses import syntax that minimizes the need to update references in code
and/or reformat affected lines (e.g. `import gapi.directory` becomes `from gam.gapi import directory as
gapi_directory`)
-Adds a `__main__.py` such that the module can be executed on its own
using standard `python3 -m gam` syntax
-Replaces __main__ import hack with module import
-Updates the GAM path to be the module's parent dir
* Add gam.py to /src for backwards compatibility
A stub that calls gam.__main__.main() to be used by users who are not
with the syntax of calling a module implementation. It should also
provide immediate backwards-compatibility with existing scripts with
references to this file.
* Move build tools back to the main dir and out of the package
* Fix pylint errors
* Update build spec to use new package format
Incorporates @jay0lee's patch from
https://github.com/jay0lee/GAM/pull/1165#issuecomment-618430828