Latest updates
6.16.15
Updated to allow new 10 million cell limit in Google Sheets.
6.16.14
Added command to replace domain names in contact email addresses; this can be useful
when merging/renaming domains.
gam <UserTypeEntity> replacedomain contacts
[<PeopleResourceNameEntity>|<PeopleUserContactSelection>]
[matchType [<Boolean>]]
(domain <OldDomainName> <NewDomainName>)+
Fixed sorting of permissions in gam <UserTypeEntity> print drivefileacls
.
6.16.13
Fixed the fix in 6.16.12.
6.16.12
Updated code to eliminate fix for a Python 3.10.0 bug that caused gam <UserTypeEntity> print notes ... formatjson
to display quotes in note text incorrectly.
6.16.11
Fixed bug in gam <UserTypeEntity> show notes
that caused a trap when a note has no text
or a check box has no text.
6.16.10
Fixed bug in gam <UserTypeEntity> print notes ... formatjson
where carriage returns and line feeds
were not properly displayed.
Fixed bug in gam <UserTypeEntity> create note ... json
where carriage returns and line feeds
were not properly input.
6.16.09
Added option role|roles <DriveFileACLRoleList>
to gam <UserTypeEntity> print|show drivefileacls
to simplify limiting displayed ACLs by role.
6.16.08
Added command to upload image files for use in Chrome policies.
<ChromePolicyImageSchemaName> ::=
chrome.devices.managedguest.avatar |
chrome.devices.managedguest.wallpaper |
chrome.devices.signinwallpaperimage |
chrome.users.avatar |
chrome.users.wallpaper
gam create chromepolicyimage <ChromePolicyImageSchemaName> <FileName>
6.16.07
Extended option stripcrsfromname
option in the following commands to strip nulls and linefeeds
from displayed file names in addition to carriage returns.
gam <UserTypeEntity> info drivefile <DriveFileEntity>
gam <UserTypeEntity> print|show filerevisions <DriveFileEntity>
gam <UserTypeEntity> show fileinfo <DriveFileEntity>
gam <UserTypeEntity> print|show filetree
gam <UserTypeEntity> print filelist
6.16.06
Updated code to remove Python 3.9 dependency introduced in 6.16.05.
6.16.05
Added option domain <DomainName>
to gam print aliases
to simplify printing aliases from a secondary domain.
6.16.04
Fixed bug in gam <UserTypeEntity> get drivefile
that caused a trap when the target file couldn't be written.
6.16.03
Fixed bug that broke vault
commands.
Updated gam oauth create
to use client access authentication flow as in Standard GAM, config no_browser true
is no longer necessary.
6.16.02
Following Jay's lead, added option removeresetlock
to gam wipe device <DeviceEntity>
that will remove the account lock
on the Android or iOS device. This lock is enabled by default and requires the existing device user to log in after the wipe in order to unlock the device.
Following Jay's lead, added option usenewexport <Boolean>
to gam create vaultexport ... corpus mail
.
6.16.01
Updated gam oauth create
to allow retries when no_browser
is true and the user
enters an invalid authentication code.
6.16.00
With many thanks to Jay, updated gam oauth create
to use a new client access authentication flow
as required by Google for headless computers/cloud shells; this is required as of February 28, 2022.
- See: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html
- OAuth out-of-band (oob) flow will be deprecated
6.15.24
Cleaned up gam report
commands again to improve verification that valid data has been received.
Fixed bug in gam <UserTypeEntity> dedup contacts
where <PeopleResourceNameEntity>|<PeopleUserContactSelection>
was not optional as documented.
6.15.23
Added option replacefilename <RegularExpression> <String>
to gam <UserTypeEntity> copy|create|update drivefile
that allows using regular expressions to modify the copied/updated file name.
gam user user@domain.com update drivefile query "name contains '2020-2021'" replacefilename "2020-2021" "2021-2022"
gam user user@domain.com copy drivefile name Template parentid root recursive replacefilename Template NewCustomer
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Files-Manage#update-files
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Copy-Move#copy-files-and-folders
6.15.22
Cleaned up gam report
commands to improve verification that valid data has been received.
6.15.21
Added email audit monitor commands that were deleted in 5.34.00.
gam audit monitor create <EmailAddress> <DestEmailAddress> [begin <DateTime>] [end <DateTime>]
[incoming_headers] [outgoing_headers] [nochats] [nodrafts] [chat_headers] [draft_headers]
gam audit monitor delete <EmailAddress> <DestEmailAddress>
gam audit monitor list <EmailAddress>
To use these commands, you should do:
gam update project
gam oauth create
Installation
If you are a first time Gam user:
If you are upgrading from standard Gam
If you are upgrading from GAMADV-X or GAMADV-XTD