Latest updates
6.18.00
Added initial support for the Cloud Channel API; this is used by resellers.
6.17.02
Added a command to update basic form settings.
gam <UserTypeEntity> update form <DriveFileEntity>
[title <String>] [description <String>] [isquiz [Boolean>]
6.17.01
Fixed bug in gam <UserTypeEntity> print forms
that caused a trap when a form has no title.
6.17.00
Added initial support for the Forms API.
Fixed bug in gam <UserTypeEntity> print|show filecounts ... showmimetype [not] <MimeTypeList>
that
removed 'me' in owners
from the query.
- Upgraded to Python 3.10.3
- Upgraded to OpenSSL 1.1.1n
6.16.19
Fixed bug in gam print vaultcounts matter <MatterItem> corpus mail accounts <EmailAddressEntity>
where
extraneous lines emails,0,
appeared in the output.
6.16.18
Fixed bug in gam update contactphotos
and gam <UserTypeEntity> update contactphotos
where
option drivedir|(sourcefolder <FilePath>)
was not properly processed. Unfortunately, the
Domain Shared Contacts API seems to be broken when trying to manage contact photos.
6.16.17
Updated gam <UserTypeEntity> replacedomain contacts emailmatchpattern <RegularExpression> domain <OldDomainName> <NewDomainName>
to only replace <OldDomainName>
with <NewDomainName>
in the email addresses within the contact that match <RegularExpression>
.
Previously, emailmatchpattern <RegularExpression>
selected a contact and all email addresses within the contact had
their domain names updated if applicable.
6.16.16
Added option aggregateusersby clientid|appname
to gam <UserTypeEntity> print|show tokens
that
aggregates the users by clientid|appname
and displays a count of the number of users rather
than the individual users for each clientid|appname
.
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>]
(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
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