diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index d0d8bea7d..edda13bff 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -10,6 +10,10 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads-Installs-GAM7](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads-Installs) for Windows or other options, including manual installation +### 7.00.11 + +Updated to Python 3.12.7 where possible. + ### 7.00.10 Handled the following error that occurs when `gam create user` is immediateley followed by `gam update user`. diff --git a/docs/How-to-Upgrade-from-Legacy-GAM.md b/docs/How-to-Upgrade-from-Legacy-GAM.md index bd36b9f07..eb66bce2e 100644 --- a/docs/How-to-Upgrade-from-Legacy-GAM.md +++ b/docs/How-to-Upgrade-from-Legacy-GAM.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.00.10 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.12.6 64-bit final MacOS Sonoma 14.5 x86_64 @@ -923,7 +923,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 -GAM7 7.00.10 - https://github.com/taers232c/GAM7 - pythonsource +GAM7 7.00.11 - https://github.com/taers232c/GAM7 - pythonsource GAM Team Python 3.12.6 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Version-and-Help.md b/docs/Version-and-Help.md index 389b1f00b..b087aee32 100644 --- a/docs/Version-and-Help.md +++ b/docs/Version-and-Help.md @@ -3,9 +3,9 @@ Print the current version of Gam with details ``` gam version -GAM 7.00.10 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller GAM Team -Python 3.12.5 64-bit final +Python 3.12.7 64-bit final MacOS Sonoma 14.5 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com @@ -15,9 +15,9 @@ 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.00.10 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller GAM Team -Python 3.12.5 64-bit final +Python 3.12.7 64-bit final MacOS Sonoma 14.5 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com @@ -27,9 +27,9 @@ 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.00.10 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.00.11 - https://github.com/GAM-team/GAM - pyinstaller GAM Team -Python 3.12.5 64-bit final +Python 3.12.7 64-bit final MacOS Sonoma 14.5 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com @@ -37,7 +37,7 @@ Time: 2023-06-02T21:10:00-07:00 Your system time differs from admin.googleapis.com by less than 1 second OpenSSL 3.1.1 30 May 2023 cryptography 41.0.1 -filelock 3.12.5 +filelock 3.12.7 google-api-python-client 2.88.0 google-auth-httplib2 0.1.0 google-auth-oauthlib 1.0.0 @@ -64,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Version Check: Current: 5.35.08 - Latest: 7.00.10 + Latest: 7.00.11 echo $? 1 ``` @@ -72,7 +72,7 @@ echo $? Print the current version number without details ``` gam version simple -7.00.10 +7.00.11 ``` In Linux/MacOS you can do: ``` @@ -82,9 +82,9 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.00.10 - https://github.com/taers232c/GAMADV-XTD3 +GAM 7.00.11 - https://github.com/taers232c/GAMADV-XTD3 GAM Team -Python 3.12.5 64-bit final +Python 3.12.7 64-bit final MacOS Sonoma 14.5 x86_64 Path: /Users/Admin/bin/gamadv-xtd3 Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index aa01d7a2b..281001572 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,7 @@ +7.00.11 + +Updated to Python 3.12.7 where possible. + 7.00.10 Handled the following error that occurs when `gam create user` is immediateley followed by `gam update user`. diff --git a/src/drive-v3beta.json b/src/drive-v3beta.json index f92aad42a..0b2b4ac3b 100644 --- a/src/drive-v3beta.json +++ b/src/drive-v3beta.json @@ -776,6 +776,14 @@ "deprecated": true, "type": "boolean" }, + "canDisableInheritedPermissions": { + "description": "Output only. Whether a user can disable inherited permissions.", + "type": "boolean" + }, + "canEnableInheritedPermissions": { + "description": "Output only. Whether a user can re-enable inherited permissions.", + "type": "boolean" + }, "canMoveChildrenOutOfDrive": { "description": "Output only. Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.", "type": "boolean" @@ -1297,6 +1305,10 @@ "description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.", "type": "boolean" }, + "inheritedPermissionsDisabled": { + "description": "Output only. When true, only organizers, owners and users with permissions added directly on the item can access it.", + "type": "boolean" + }, "view": { "description": "Indicates the view for this permission. Only populated for permissions that belong to a view. 'published' is the only supported value.", "type": "string" diff --git a/src/gam/__init__.py b/src/gam/__init__.py index d96ef14ea..6aba6fe74 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ """ __author__ = 'GAM Team ' -__version__ = '7.00.10' +__version__ = '7.00.11' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position diff --git a/src/gam/drive-v3beta.json b/src/gam/drive-v3beta.json index f92aad42a..0b2b4ac3b 100644 --- a/src/gam/drive-v3beta.json +++ b/src/gam/drive-v3beta.json @@ -776,6 +776,14 @@ "deprecated": true, "type": "boolean" }, + "canDisableInheritedPermissions": { + "description": "Output only. Whether a user can disable inherited permissions.", + "type": "boolean" + }, + "canEnableInheritedPermissions": { + "description": "Output only. Whether a user can re-enable inherited permissions.", + "type": "boolean" + }, "canMoveChildrenOutOfDrive": { "description": "Output only. Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.", "type": "boolean" @@ -1297,6 +1305,10 @@ "description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.", "type": "boolean" }, + "inheritedPermissionsDisabled": { + "description": "Output only. When true, only organizers, owners and users with permissions added directly on the item can access it.", + "type": "boolean" + }, "view": { "description": "Indicates the view for this permission. Only populated for permissions that belong to a view. 'published' is the only supported value.", "type": "string"