From 60d6188769547b98b7f47016186c076947bcd743 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 30 Jun 2025 09:43:50 -0700 Subject: [PATCH] Added option `showwebviewlink` to `gam print|show shareddrives` --- wiki/GamUpdates.md | 5 +++++ wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Shared-Drives.md | 8 ++++++-- wiki/Users-Shared-Drives.md | 5 ++++- wiki/Version-and-Help.md | 12 ++++++------ 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index a61cbca4..d3e7e746 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,11 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation +### 7.10.09 + +Added option `showwebviewlink` to `gam [] print|show shareddrives` that +displays the web view link for the Shared Drive: `https://drive.google.com/drive/folders/`. + ### 7.10.08 Fixed bug in commands that modify messages where the `labelids ` option diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index d8bdb90b..d99e5a04 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAM 7.10.08 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.09 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -989,7 +989,7 @@ writes the credentials into the file oauth2.txt. C:\>del C:\GAMConfig\oauth2.txt C:\>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAM 7.10.08 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.10.09 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.13.5 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/wiki/Shared-Drives.md b/wiki/Shared-Drives.md index d5c2045d..9c538d96 100644 --- a/wiki/Shared-Drives.md +++ b/wiki/Shared-Drives.md @@ -372,7 +372,9 @@ By default, Gam displays the information as an indented list of keys and values. gam [] show shareddrives [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] - [fields ] [formatjson] + [fields ] + [showwebviewlink] + [formatjson] ``` By default, all Shared Drives are displayed; use the following options to select a subset of Shared Drives: * `teamdriveadminquery|query ` - Use a query to select Shared Drives @@ -385,7 +387,9 @@ By default, Gam displays the information as an indented list of keys and values. gam [] print shareddrives [todrive *] [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] - [fields ] [formatjson [quotechar ]] + [fields ] + [showwebviewlink] + [formatjson [quotechar ]] ``` By default, all Shared Drives are displayed; use the following options to select a subset of Shared Drives: * `teamdriveadminquery|query ` - Use a query to select Shared Drives diff --git a/wiki/Users-Shared-Drives.md b/wiki/Users-Shared-Drives.md index d9f518d9..646134d4 100644 --- a/wiki/Users-Shared-Drives.md +++ b/wiki/Users-Shared-Drives.md @@ -318,6 +318,7 @@ gam show shareddriveinfo gam show shareddrives [matchname ] (role|roles )* [fields ] + [showwebviewlink] [guiroles [] [formatjson] ``` By default, Gam displays all Teams Drives accessible by the user. @@ -329,7 +330,9 @@ By default, Gam displays the information as an indented list of keys and values. ``` gam print shareddrives [todrive *] [matchname ] (role|roles )* - [fields ] [formatjson [quotechar ]] + [fields ] + [showwebviewlink] + [guiroles []] [formatjson [quotechar ]] ``` By default, Gam displays all Teams Drives accessible by the user. * `matchname ` - Display Shared Drives with names that match a pattern. diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index be129936..d4a70df6 100644 --- a/wiki/Version-and-Help.md +++ b/wiki/Version-and-Help.md @@ -3,7 +3,7 @@ Print the current version of Gam with details ``` gam version -GAM 7.10.08 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.09 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -15,7 +15,7 @@ Time: 2023-06-02T21:10:00-07:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.10.08 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.09 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -27,7 +27,7 @@ Your system time differs from www.googleapis.com by less than 1 second Print the current version of Gam with extended details and SSL information ``` gam version extended -GAM 7.10.08 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.10.09 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.10.08 + Latest: 7.10.09 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -7.10.08 +7.10.09 ``` In Linux/MacOS you can do: ``` @@ -82,7 +82,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.10.08 - https://github.com/GAM-team/GAM +GAM 7.10.09 - https://github.com/GAM-team/GAM GAM Team Python 3.13.5 64-bit final MacOS Sequoia 15.5 x86_64