# Update GAMADV-XTD3 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://raw.githubusercontent.com/taers232c/GAMADV-XTD3/master/src/gam-install.sh) -l` - Do not create project or authorizations, specify a path - `bash <(curl -s -S -L https://raw.githubusercontent.com/taers232c/GAMADV-XTD3/master/src/gam-install.sh) -l -d ` By default, a folder, `gamadv-xtd3`, 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 `gamadv-xtd3` folder; the files are downloaded directly into the default or specified path. See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation ### 6.77.03 Thanks to jay, added the following Colab License SKUs: ``` 1010500001 - Colab Pro 1010500002 - Colab Pro+ ``` Thanks to Jay, updated `gam print|show admins` to properly display addresses of service accounts with admin role assignments. ### 6.77.02 Cleaned up problems with some of the new Chat API asadmin commands. Some remaining problems may require a Google fix. ### 6.77.01 Thanks to Jay, added column `verificationCodesCount` to `gam print backupcodes` that displays the number of available backup codes in addtion to the codes. Added option `countsonly` that displays only the number of available backup codes but not the codes themselves. Thanks to Jay, added option `nokey` to `gam create project` that creates a project with no service account key, `oauth2service.json`. ### 6.77.00 Added option `individualstudentassignments copy|delete|maptoall` to `gam create|update course ... copyfrom` that controls how individual student assignments in the `copyfrom` course are processed. * `individualstudentassignments copy` - Copy individual student assignments; this is the default. You will get an error if the student is not a member of the course. * `individualstudentassignments delete` - Delete individual student assignments * `individualstudentassignments maptoall` - Map individual student assignments to all student assignments Upgraded to Python 3.12.4 where possible. Added option `asadmin` to the following Chat commands that allows admin access. These commands are in Developer Preview, your project must have Developer Preview enabled for the Chat API in order to use these commands. ``` gam delete chatspace asadmin gam update chatspace asadmin gam info chatspace asadmin gam print|show chatspaces asadmin gam create chatmember asadmin gam delete|remove chatmember asadmin gam update|modify chatmember asadmin gam sync chatmembers asadmin gam info chatmember asadmin gam print|show chatmembers|asadmin ``` * See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Chat#developer-preview-admin-access Added `use_chat_admin_access` Boolean variable to `gam.cfg`. ``` * When False, GAM uses user access when making all Chat API calls. For calls that support admin access, this can be overridden with the asadmin command line option. * When True, GAM uses admin access for Chat API calls that support admin access; other calls will use user access. * Default: False ``` ### 6.76.15 Fixed bug in `gam print|show filesharecounts summary only summaryuser ` that printed an erroneous row if `` specified a single user and `` matched the user's email address. ### 6.76.14 Added the following Gemini License SKUs: ``` 1010470004 - Gemini Education 1010470005 - Gemini Education Premium ``` ### 6.76.13 Updated `gam show fileinfo ... showlabels` and `gam print filelist ... showlabels` to retry these errors that occur when trying to get the drive labels for a file/folder. ``` ERROR: 500: unknownError - Unknown Error. ERROR: 503: serviceNotAvailable - The service is currently unavailable. ``` Upgraded to OpenSSL 3.3.1 where possible. ### 6.76.12 Fixed bug in `gam print|show chatspaces` that caused the following error: ``` ERROR: Got an unexpected keyword argument orderBy ``` ### 6.76.11 Thanks to Jay, added `gam report vault`. Thanks to Jay, added the following Gemini SKUs: ``` 1010470006 - AI Security 1010470007 - AI Meetings and Messaging ``` Updated `gam print filelist ... showshareddrivepermissions` to display progress messages to stderr as a separate API call must be made for every file/folder on the Shared Drive to get its permissions. As this can take a long time, the progress messages indicate that progress is being made. ### 6.76.10 Added `fromgmail` to `` that can be used in `gam calendars print|show events ... eventtype fromgmail`. * See: https://workspaceupdates.googleblog.com/2024/05/google-calendar-api-event-type-fromgmail.html ### 6.76.09 Updated `gam update|delete|info adminrole` to handle the following error: ``` ERROR: 400: failedPrecondition - Precondition check failed. ``` ### 6.76.08 Updated `` to `"|(,|)*"` that allows `schemas ` in `gam info user` and `gam print users` to display all fields or selected fields of the specified custom schemas. ### 6.76.07 Fixed bug where control-C was not recognized when GAM had processed all rows in a CSV file and was `Waiting for N running processes to finish before terminating`. ### 6.76.06 Fixed bug in `gam print messages ... positivecountsonly` where message counts with value 0 were deiplayed. Added option `addcsvdata ` to `gam print|messages` that adds additional columns of data to the CSV file output. Added option `showusagebytes` to `gam print|show drivesettings` that displays the following fields in bytes ```usageBytes,usageInDriveBytes,usageInDriveTrashBytes``` in addition to the fields in their formatted form with units: ```usage,usageInDrive,usageInDriveTrash```. This will be most useful with `print` as the rows can be sorted based on the `usagexxxBytes` columns. ### 6.76.05 Added options `deletefromoldowner`, `addtonewowner *` and `nolistmessages` to `gam transfer calendars ` that allow manipulation of the source and target user's calendar lists. * See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Calendars-Access#transfer-calendar-ownership ### 6.76.04 Added the following fields to ``: ``` autoupdatethrough extendedsupporteligible extendedsupportstart extendedsupportenabled ``` ### 6.76.03 Added option `folderpathonly []` to the following commands that causes GAM to display only the folder names when displaying the path to a file. This folder only path an be used in `gam create drivefolderpath` to recreate the folder hierarchy. ``` gam info drivefile ... filepath|fullpath gam show fileinfo ... filepath|fullpath gam print|show filepath gam print filelist ... filepath|fullpath ``` ### 6.76.02 Updated `gam update group` to handle the following error: ``` ERROR: 400: invalidArgument - Failed request validation in update settings: WHO_CAN_VIEW_MEMBERSHIP_CANNOT_BE_BROADER_THAN_WHO_CAN_SEE_GROUP ``` ### 6.76.01 Fixed bug in `gam create vaulthold matter ... corpus calendar` that caused a trap. ### 6.76.00 Updated versions of `gam create|use project` that use keyword options to also accept the following options to define non-default Service Account key characteristics. ``` (algorithm KEY_ALG_RSA_1024|KEY_ALG_RSA_2048)| (localkeysize 1024|2048|4096 [validityhours ])| (yubikey yubikey_pin yubikey_slot AUTHENTICATION yubikey_serialnumber ) ``` ### 6.75.05 Added option `csv [todrive *]` to `gam archive|delete|modify|spam|trash|untrash messages|threads` that causes GAM to display the command results in CSV form. ### 6.75.04 Added a command to print user counts by OrgUnit. By default, all users in the workspace are counted; you can specify a domain to only count users in that domain. ``` gam print usercountsbyorgunit [todrive *] [domain ] ``` Added option `uploadattachments []` to `gam show messages|threads` that causes GAM to upload all message attachments to the user's `My Drive`, the default, or to a specific folder. The existing option `attachmentnamepattern ` can be used to select attachments to upload. ### 6.75.03 Fixed bug in `gam batch|tbatch` where the line `sleep ` in the batch file caused the error: ``` ERROR: Invalid argument: Expected ``` ### 6.75.02 Updated `gam report ` to retry/handle the following error: ``` ERROR: 503: serviceNotAvailable - The service is currently unavailable. ``` ### 6.75.01 Added option `admin ` to `gam upload sakey`. ### 6.75.00 Updated `gam create project` to simplify handling the situation where your workspace is configured to disable service account private key uploads. Added command `gam upload sakey` to aid in this process. * See: https://github.com/taers232c/GAMADV-XTD3/wiki/Authorization#upload-a-service-account-key-to-a-service-account-with-no-keys ### 6.74.02 Fixed bug in `gam print shareddrives ... formatjson` that caused a trap. ### 6.74.01 Updated `gam create|update drivefileacl ... expiration