# 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.27.00 Added `debug_redaction` Boolean variable to `gam.cfg`. When True, the default, sensitive data like access/refresh tokens, client secret and authorization codes are redacted from debug output. This allows you to post debug output without compromising your account information. Even with debug redaction, anything shared publicly should be double-checked for sensitive content. ### 7.25.01 Fixed bug in `gam config timezone ` to handle timezone abbreviations correctly; they were incorrectly shifted to lowercase. ### 7.25.00 Removed a capabilty added in 7.24.00 that allowed reading command data from Google Docs and Sheets when a user's service account access to Drive and Sheets had been disabled. Jay was concerned that this change could be exploited to give access to all user's files. This capability has been replaced by issuing the following commands. The admin specified in `gam oauth create` can read command data from Docs and Sheets to which it has access. ``` gam config commanddata_clientaccess true save gam oauth create Enable the following and proceed to authorization. [*] 42) Drive API - commanddata_clientaccess [*] 54) Sheets API - commanddata_clientaccess ``` * See: https://github.com/GAM-team/GAM/wiki/Command-Data-From-Google-Docs-Sheets-Storage#limited-service-account-access Fixed in bug in `gam report` that caused a trap with either of the `thismonth` or `previousmonths` options were used. Upgraded to Python 3.14.0. ### 7.24.01 Updated GAM to handle the following error that occurs when GAM tries to authenticate as a user that has been disabled by Google. ``` ERROR: Authentication Token Error - invalid_account: Forbidden ``` ### 7.24.00 If you want to disable a user's service account access to Drive and Sheets but still allow reading command data from Google Docs and Sheets, issue the following command and make these settings: ``` gam user user@domain.com update serviceaccount [ ] 20) Drive API (supports readonly) [*] 21) Drive API - read command data [ ] 42) Sheets API (supports readonly) [*] 43) Sheets API - read command data ``` ### 7.23.07 Fixed bug in `gam print|show admins` where all admin assignments were not displayed when `types ` was not specified, i.e., all assignments should be displayed. ### 7.23.06 Added option `types ` to `gam print|show admins` that allows filtering of admin assignments by the type of the assignee; by default, all assignee types are displayed. ``` ::= group|user|serviceaccount|unknown ::= "(,)*" ``` ### 7.23.05 Added option `recursive` to `gam print|show admins` that will display assignments to the members of security groups assigned to roles; the security group membership is recursively expanded. ### 7.23.04 Added option `addcsvdata ` to `gam print events` and `gam calendars print events` that adds additional columns of data to the CSV file output. An example would be to get the calendar name in addition to the calendar ID when printing events. ``` gam redirect csv ./Resources.csv print resources fields email,name gam redirect csv ./ResourceEventCounts.csv multiprocess redirect stderr - multiprocess csv Resources.csv gam calendar "~resourceEmail" print events starttime -1y countsonly addcsvdata calendarName "~resourceName" ``` Upgraded to OpenSSL 3.6.0. ### 7.23.03 Upgraded to OpenSSL 3.5.4. ### 7.23.02 Added option `oneitemperrow` to 'gam print course-materials|course-work` to have each of a course's materials displayed on a separate row with all of the other course fields. This produces a CSV file that can be used in subsequent commands to process the materials without further script processing. ### 7.23.00 Added `chat_max_results` variable to `gam.cfg`. ``` chat_max_results When retrieving lists of Chat items from API, how many should be retrieved in each API call Default: 100 Range: 1 - 1000 ``` Previously, this vaule was always set to 1000 which could cause errors. ### 7.22.07 Added options `showdetails` and `returnidonly` to `gam create|copy vaultquery`. Added option `` to `gam create vaultexport|vaultquery and `gam print vaultcounts``. ### 7.22.06 Added commands to create, copy and delete Vault saved queries. ``` gam create vaultquery [name ] corpus calendar|drive|gemini|groups|hangouts_chat|mail|voice [scope all_data|held_data|unprocessed_data] (accounts ) | (orgunit|org|ou ) | everyone (documentids (|(select |))) | (shareddrives|teamdrives (|(select |))) | [(includeshareddrives )|(shareddrivesoption included|included_if_account_is_not_a_member|not_included)] (sitesurl (||(select |))) [driveversiondate |