* Add verifytarget to update alias to address Issue #1479
* Make default behavior in update alias to be verify; provide opt-out
* Update __init__.py
* Remove verifynotinvitable check on update alias
* pre-commit run trailing-whitespace -a
* pre-commit run end-of-file-fixer -a
* pre-commit run double-quote-string-fixer -a
* pre-commit run requirements-txt-fixer -a
* add pyupgrade hook
* remove pre-commit default_language_version 3.7 (since no upwards incompatible hooks)
* Three changes
Document:
gam <UserTypeEntity> show vaultholds|holds
hidden <Boolean> for update teamsrive
Fix showHoldsForUsers
* Standardize update teamdrive input of orgUnitId
* One too many =
* Make print crostelemetry consistent print cros
Strip newline from cpuStatusReport.cpuTemperature.label
Replace list of label/temperatureCelsius pairs with
cpuStatusReport.cpuTemperature.label = temperaureCelsius
* Document print crostelemetry
* Update GamCommands.txt
* More work on print crostelemetry
* Fix show filelist query issue
If the user says: query "A or B" this becomes "'me' in owners and A or B" which is the same as "('me' in owners and A) or B" which gives incorrect results. The fix makes "'me' in owners and (A or B)"
* Add driveId to list of drive file fields
* languages update
The API doesn't return languages unless you specifically mention in in fields list
* languages cleanup in print users
* Add fields to gam info user
* No up for languages
* Use v1 for Cloud Identity groups; fix bug in print cigroups member
* It's an error to set preference on custom language
* Document member restrictions
* Fix gam print users allfields custom all to include primaryEmail
If you really want everything say: gam print users full
* agreedToTerms is now read-only
* Fix sync devices
* assetTag if specified is part of sync device key
* Handle missing assetTags
* Leave agreedtoterms as an undocumented option
* More assetTag processing, the field is not returned from the API if it's empty
* Fix DriveFileAttribute formatting
* memberKey has been replaced by preferredMemberKey
* Correct license name
* If notdemail.txt is present, write_csv_file will not send an email
* Initialize pageToken for each namespace
* Update group sync to do removes before adds
This gets around problem when a group contains a primary address and a sync is performed with an alias. With adds first you get a duplicate error; with removes first the primary address in the group is replaced with the alias.
* Add defaultsender to group settings
When page_args_in_body is true you have to add body to kwargs to ensure a place for pageToken
Allow setting a list of namespaces that override the defaults for printerid (not likely) and appid.
* Cloud Identity v1 only uses preferredMemberKey
* Document print labels
* Cleanup/bug fix info user grouptree; fix todrive for print labels
* Standardize write_csv_file call in print labels
* Use cloudidentity_beta for calls that process memberKey
* Code cleanup
This allows commands/programs to output data to stdout which can then be uploaded to a Google Drive file.
```
generatedata | gam user user@domain.com create drivefile drivefilename test.csv localfile - mimetype gsheet
```
* Update policies and user invitations
Show chrome policy schemas in sorted order
Change create userintervention to send userintervention to be consistent with API
Add state and orderby option to print userinvitations
* Sort polices in show chromepolicies
* Add info printer command
* ChromePolicy cleanup
Make update chromepolicy orgunit default to / like delete and print
Add `filter <String>` to print chromeschema
Make update_policy code to set additionalTargetKeys consistent with delete_policy
I left verb at print for chromepolicy/chromeschema
* When printing schemasa, use ":" instead of " - "
* Fix print policy indentation
* Chrome policy cleanup
orgunit must be specified
Use verb show, add verb print later
* Recognize all ou forms to exit from schema mode
* Don't assign multiple variables on same line
* Clean up printer commands/documentation
driverless has to take value so it can be changed from true to false
Drop separate deleteprinters command, merge into delete printers
* Printer delete update
Allow a list of printer IDs
Drop cros from crosfile and croscsvfile to avoid confusion; add cros back when calling getUsersToModify