# Update GAM7 to latest version Automatic update to the latest version on Linux/Mac OS/Google Cloud Shell/Raspberry Pi/ChromeOS: - Do not create project or authorizations, default path `$HOME/bin` - `bash <(curl -s -S -L https://git.io/gam-install) -l` - Do not create project or authorizations, specify a path - `bash <(curl -s -S -L https://git.io/gam-install) -l -d ` By default, a folder, `gam7`, is created in the default or specified path and the files are downloaded into that folder. Add the `-s` option to the end of the above commands to suppress creating the `gam7` folder; the files are downloaded directly into the default or specified path. See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation ### 7.16.01 The Drive API now supports setting download restrictions on individual files. Added `downloadrestictions` and `` to ``. ``` ::= downloadrestrictions.itemdownloadrestriction| downloadrestrictions.effectivedownloadrestrictionwithcontext ``` Added `itemdownloadrestriction (restrictedforreaders []) (restrictedforwriters [])` to ``. From the Drive API documentation: ``` itemDownloadRestriction - The download restriction of the file applied directly by the owner or organizer. This does not take into account shared drive settings or DLP rules. effectiveDownloadRestrictionWithContext - Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules. restrictedForReaders - Whether download and copy is restricted for readers. restrictedForWriters - Whether download and copy is restricted for writers. If true, download is also restricted for readers. ``` ### 7.16.00 Removed `drive_v3_native_names` from `gam.cfg`; GAM now only uses Drive API v3 fields names on output. If you had `drive_v3_native_names = False` in `gam.cfg` or are updating from Legacy GAM: * See: https://github.com/GAM-team/GAM/wiki/Drive-REST-API-v3 ### 7.15.01 Added `downloadrestrictions.restrictedforreaders` and `downloadrestrictions.restrictedforwriters` to ``; previously, only the abbreviations `downloadrestrictedforreaders` and `downloadrestrictedforwriters` were supported (they are still supported). Updated `gam copy drivefile` to handle unexpected data returned by Google that caused a trap. ### 7.15.00 Updated `gam print shareddriveorganizers` to make `shownoorganizerdrives` default to `True` as documented; it was defaulting to `False`. Cleaned up code for processing Python dictionary structures; this should have no noticable effect. ### 7.14.04 Fixed bug in `gam print|show cigroups cimember ` that generated the following error: ``` ERROR: Cloud Identity Group: groups/-, Print Failed: Error(4013): Insufficient permissions to retrieve memberships. ``` Updated `gam update user suspended off` and `gam unsuspend users` to handle the following error that occurs when trying to unsuspend a user that has been suspended for abuse. ``` ERROR: 412: adminCannotUnsuspend - Cannot restore a user suspended for abuse. ``` * See: https://support.google.com/a/answer/1110339 ### 7.14.03 Fixed bug in `gam print cigroup-members includederivedmembership` that caused a trap. ### 7.14.02 Fixed bug in `gam print|show cigroups|cigroups-members cimember ` that generated the following error: ``` Cloud Identity Group Print Failed: Request contains an invalid argument. ``` ### 7.14.01 Don't install yubikey library via pip by default. To install with yubikey support use pip install gam7[yubikey] ### 7.14.00 Added commands to display Google Tag Manager accounts, containers, workspaces, tags and user permissions. * See: https://github.com/GAM-team/GAM/wiki/Users-Tag-Manager ### 7.13.03 Added option `csv [todrive *] [formatjson [quotechar ]]]` to `gam create chromeprofilecommand` so that command details are displayed in CSV format. Added option `commands ||` to `` so that `gam print|show chromeprofilecommands` can directly display the commands generated by `gam create chromeprofilecommand` with the `csv` option. ### 7.13.02 Fixed bug in `gam create chromeprofilecommand` where `select|filter` were not recognized. Updated `gam create datatransfer datastudio ` that generated the following error due to an unhandled API change. ``` ERROR: Invalid choice (google data studio): Expected ``` ### 7.13.01 Enhanced `gam create|print|show chromeprofilecommand` to allow specification of multiple Chrome browser profiles rather than just one. ``` ::= ::= customers//profiles/ | ::= "(,)*" ::= ::= | (select |) | (filter (filtertime