From 9e32054d859526a711727553ff42db327e7778f9 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 14 Jan 2026 16:24:55 -0800 Subject: [PATCH] (contentrestrictions readonly true [reason ])| --- wiki/Calendars-Events.md | 9 +++++++-- wiki/GamUpdates.md | 6 ++++++ wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 ++-- wiki/Users-Calendars-Events.md | 9 +++++++-- wiki/Users-Drive-Copy-Move.md | 4 ++++ wiki/Version-and-Help.md | 12 ++++++------ 6 files changed, 32 insertions(+), 12 deletions(-) diff --git a/wiki/Calendars-Events.md b/wiki/Calendars-Events.md index 06cf0bed..d54c3fa0 100644 --- a/wiki/Calendars-Events.md +++ b/wiki/Calendars-Events.md @@ -516,11 +516,16 @@ Use `jsonattendees file ./attendees.json` in `create/update event`. ## Delete selected calendar events ``` -gam calendar delete events [] [doit] [] -gam calendar purge events [] [doit] [] +gam calendar delete events [] + [batchsize ] [doit] [] +gam calendar purge events [] + [batchsize ] [doit] [] ``` If `` is not specified, all events in `` are selected. This is not typically used. +By default, each event is deleted in a separate API call, use `batchsize` with an integer between 1 and 1000 +to delete the events in batches. + No events are deleted unless you specify the `doit` option; omit `doit` to verify that you properly selected the events to delete. When events are deleted from a calendar, they are moved to the calendar's trash and are only permanently deleted (purged) after 30 days. diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index 71e8a285..31b11c21 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,6 +10,12 @@ 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.31.06 + +Added option `batchsize ` to `gam calendar delete|purge events` and +`gam delete|purge events ` that causes GAM to delete events +with batch API calls rather than with individual API calls. + ### 7.31.05 Added option `variables ` to `gam select section verify` and `gam config verify` diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index c545c4c1..cbb30594 100644 --- a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md +++ b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md @@ -252,7 +252,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.31.05 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.31.06 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -990,7 +990,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.31.05 - https://github.com/GAM-team/GAM - pythonsource +GAM 7.31.06 - https://github.com/GAM-team/GAM - pythonsource GAM Team Python 3.14.2 64-bit final Windows 11 10.0.26200 AMD64 diff --git a/wiki/Users-Calendars-Events.md b/wiki/Users-Calendars-Events.md index 488d3907..11d39e07 100644 --- a/wiki/Users-Calendars-Events.md +++ b/wiki/Users-Calendars-Events.md @@ -596,11 +596,16 @@ Use `jsonattendees file ./attendees.json` in `create/update event`. ## Delete selected calendar events ``` -gam delete events [] [doit] [] -gam purge events [] [doit] [] +gam delete events [] + [batchsize ] [doit] [] +gam purge events [] + [batchsize ] [doit] [] ``` If `` is not specified, all events in `` are selected. This is not typically used. +By default, each event is deleted in a separate API call, use `batchsize` with an integer between 1 and 1000 +to delete the events in batches. + No events are deleted unless you specify the `doit` option; omit `doit` to verify that you properly selected the events to delete. When events are deleted from a calendar, they are moved to the calendar's trash and are only permanently deleted (purged) after 30 days. diff --git a/wiki/Users-Drive-Copy-Move.md b/wiki/Users-Drive-Copy-Move.md index 82df8ad0..d61ac434 100644 --- a/wiki/Users-Drive-Copy-Move.md +++ b/wiki/Users-Drive-Copy-Move.md @@ -41,6 +41,10 @@ ::= ::= > + ::= application|audio|font|image|message|model|multipart|text|video + ::= / + ::= "(,)*" + ::= allteamdrives|domain|onlyteamdrives|user ::= (.)+ ::= "(,)*" diff --git a/wiki/Version-and-Help.md b/wiki/Version-and-Help.md index f9f13075..e80d9c78 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.31.05 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.31.06 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -15,7 +15,7 @@ Time: 2025-12-23T13:57:00-08:00 Print the current version of Gam with details and time offset information ``` gam version timeoffset -GAM 7.31.05 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.31.06 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 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.31.05 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.31.06 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64 @@ -68,7 +68,7 @@ MacOS High Sierra 10.13.6 x86_64 Path: /Users/Admin/bin/gam7 Version Check: Current: 5.35.08 - Latest: 7.31.05 + Latest: 7.31.06 echo $? 1 ``` @@ -76,7 +76,7 @@ echo $? Print the current version number without details ``` gam version simple -7.31.05 +7.31.06 ``` In Linux/MacOS you can do: ``` @@ -86,7 +86,7 @@ echo $VER Print the current version of Gam and address of this Wiki ``` gam help -GAM 7.31.05 - https://github.com/GAM-team/GAM +GAM 7.31.06 - https://github.com/GAM-team/GAM GAM Team Python 3.14.2 64-bit final macOS Tahoe 26.2 x86_64