From bed610405b4dbaab627df9a3e21b30348b30a419 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 27 Sep 2025 14:40:12 -0700 Subject: [PATCH] Added a variant of `gam create vaultexport` --- wiki/GamUpdates.md | 17 ++++++++++- wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 2 +- wiki/Users-Drive-Permissions.md | 1 + wiki/Vault-Takeout.md | 36 ++++++++++++++++------- wiki/Version-and-Help.md | 6 ++-- 5 files changed, 46 insertions(+), 16 deletions(-) diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index cb136018..139688eb 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -10,7 +10,22 @@ 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.22.04 +### 7.22.05 + +Added a variant of `gam create vaultexport` that gets its query parameters from a saved Vault query. + +``` +gam create vaultexport|export matter [name ] + vaultquery + [driveclientsideencryption any|encrypted|unencrypted] + [includeaccessinfo ] + [excludedrafts ] [mailclientsideencryption any|encrypted|unencrypted] + [showconfidentialmodecontent ] [usenewexport ] [exportlinkeddrivefiles ] + [format ics|mbox|pst|xml] + [region any|europe|us] [showdetails|returnidonly] +``` + +### 7.22.04 Added a variant of `gam create vaulthold` that gets its parameters from a saved Vault query. ``` diff --git a/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md b/wiki/How-to-Upgrade-Legacy-GAM-to-GAM7.md index 9c8d729f..2dab04ba 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.22.04 - https://github.com/GAM-team/GAM - pyinstaller +GAM 7.22.05 - https://github.com/GAM-team/GAM - pyinstaller GAM Team Python 3.13.7 64-bit final MacOS Sequoia 15.6.1 x86_64 diff --git a/wiki/Users-Drive-Permissions.md b/wiki/Users-Drive-Permissions.md index 2bba6dd9..2fc55fad 100644 --- a/wiki/Users-Drive-Permissions.md +++ b/wiki/Users-Drive-Permissions.md @@ -29,6 +29,7 @@ ``` ::= (.)+ ::= @ + ::= (json [charset ] ) | (json file [charset ]) | ::= id: ::= || diff --git a/wiki/Vault-Takeout.md b/wiki/Vault-Takeout.md index 74324ee1..534ea46c 100644 --- a/wiki/Vault-Takeout.md +++ b/wiki/Vault-Takeout.md @@ -243,7 +243,19 @@ gam print vaultcounts [todrive *] ## Vault Exports ## Create Vault Exports -Create a Google Vault export request. +### Create a Google Vault export request using a saved Vault query. +``` +gam create vaultexport|export matter [name ] + vaultquery + [driveclientsideencryption any|encrypted|unencrypted] + [includeaccessinfo ] + [excludedrafts ] [mailclientsideencryption any|encrypted|unencrypted] + [showconfidentialmodecontent ] [usenewexport ] [exportlinkeddrivefiles ] + [format ics|mbox|pst|xml] + [region any|europe|us] [showdetails|returnidonly] +``` + +Create a Google Vault export request by specifying the query parameters. ``` gam create vaultexport|export matter [name ] corpus calendar|drive|gemini|groups|hangouts_chat|mail|voice (accounts ) | (orgunit|org|ou ) | everyone @@ -255,12 +267,13 @@ gam create vaultexport|export matter [name ] corpus calenda [locationquery ] [peoplequery ] [minuswords ] [responsestatuses (,)*] [calendarversiondate |