Scroll to bottom of page for installation/downloads
Latest updates
6.27.06
Fixed bug in gam print addresses
where no output was generated.
Updated multiprocessing to fix issues on Mac OS where excuting commands from a CSV file would
hang if the number of threads was 20 or greater.
6.27.05
Updated gam create vaultexport
to handle the following error that occurs when the
region
option is specified but is not allowed by your licenses.
ERROR: 400: invalidArgument - Request contains an invalid argument.
6.27.04
Updated gam download vaultexport
to replace :
with -
in the download filename to avoid
issues on Windows.
6.27.03
Fixed update in 6.27.01 to allow empty resource calendar feature lists.
6.27.02
Added options labelinfo
and <DriveLabelInfoSubfieldName>
to <DriveFieldName>
and
option includelabels <DriveLabelIDList>
to gam <UserTypeEntity> show fileinfo
and
gam <UserTypeEntity> print filelist
to allow easier access to display drive file labels.
This options do not require an extra API call like the showlabels details|ids
option does.
gam user user@domain.com show fileinfo 1kM4T2K4l0CCdR8lmp0pdXcytghAzXZ2fe5ThQpDwxyz fields id,name,mimetype,labelinfo includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
gam user user@domain.com show fileinfo query "'labels/mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb' in labels" fields id,name,mimetype,labelinfo.fields includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
6.27.01
Updated <ResourceAttribute>
to allow features ""
for resources.
6.27.00
Updated code to use Python yield functionality when downloading long lists of items from Google APIs.
6.26.17
Fixed bug in gam <UserTypeEntity> print filelist ... showparent
where parent folder was not shown in all cases.
Following Jay's lead, updated gam info customer|domain
to provide better information when executed by a non super admin.
6.26.16
Updated gam <UserTypeEntity> collect orphans
to include orphaned folders that were previously
excluded due to multi-parenting issues.
6.26.15
Updated gam <UserTypeEntity> collect orphans
to use shortcuts by default rather than making parent changes.
This addresses the following issue:
testuser2
owns a fileX1234
located in a folder owned by usertestuser1
and shared with additional userstestuser1
removestestuser2's
access to that folder- File
X1234
now looks like an orphan totestuser2
gam user testuser2 collect orphans useshortcuts false
- This moves
X1234
to the foldertestuser2 orphaned files
; i.e., it has a new parent testuser1
and all other users no longer have access toX1234
as it is now in a folder for which they have no access
Updated gam <UserTypeEntity> add|delete|update|print|show datastudiopermissions
to display an appropriate
error message, The caller does not have permission
, when the user doesn't have permission to execute the command.
Previously, the following incorrect error message was displayed:
ERROR: Data Studio API not enabled. Please run "gam update project" and "gam user user@domain.com check serviceaccount"
6.26.14
Extended csv_input_row_filter
, csv_input_row_drop_filter
, csv_output_row_filter
and csv_output_row_drop_filter
to allow specification of filters based on field string length.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/CSV-Input-Filtering
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/CSV-Output-Filtering
6.26.13
Fixed bug in gam <UserTypeEntity> copy othercontacts
that caused it to move a contact rather than copy it.
6.26.12
Fixed bug in gam <UserTypeEntity> replacedomain contacts
that caused the error ERROR: Invalid argument
.
Fixed bug in gam <UserTypeEntity> print filetree
where some orphaned files were not displayed.
6.26.11
Updated gam info group <GroupEntity> ... formatjson
to omit "cloudIdentity": {},
from the output when no Cloud Identity fields are requested.
Updated gam info user <UserTypeEntity>
error message reporting to give this
message for non-existent users in the primary or sub domains.
User: user@domain.com, Does not exist
User: user@sub.domain.com, Does not exist
Previously, a non-existent user in a sub domain gave this error.
User: user@sub.domain.com, Service not applicable/Does not exist
6.26.10
Fixed bug in gam print deviceusers
where command would never terminate. This would also occur
in gam print devices
when nodeviceusers
was not specified.
Added option select <DeviceID>
to gam print deviceusers
that displays device users for a specific device.
6.26.09
With many thanks to Jay:
- Added more OpenSSL 3.0.5 support
- Added support for Linux Ubuntu 22.04 Jammy Jellyfish x86_64
6.26.08
- Upgraded to Python 3.10.7
- Updated google-api-python-client to version 2.60.0
- Dropped support for Linux Precise (glibc 2.15)
6.26.07
Fixed bug in gam <UserTypeEntity> update photo "https://drive.google.com/thumbnail?sz=w300&id=xxxxxxxxxxxxxxxxx"
that generated a Update Failed: Not Found: xxxxxxxxxxxxxxxxx
error.
6.25.06
Added endpointverificationspecificattributes
to <DeviceFieldName>
used by gam info device
and gam print devices
.
6.26.05
Fixed bug in gam <UserTypeEntity> update contacts ... removecontactgroup <ContactGroupItem>
that failed
to remove the contact group <ContactGroupItem>
when it was specified as the contact group formatted name
as opposed to the resource name; e.g., Work Contacts
as opposed to contactGroups/2ef39b48f4e361a
.
6.26.04
Updated gam print courses ... aliasesincolumns
to properly align Aliases
columns.
6.26.03
Updated the following commands to display a usage error (ERROR: Invalid file selection with adminaccess|asadmin
)
if <DriveFileEntity>
does not reference Shared Drives. Previously, execution errors (Shared drive not found: xxxx
) would be displayed.
gam [<UserTypeEntity>] create|add drivefileacl <DriveFileEntity> [adminaccess|asadmin]
gam [<UserTypeEntity>] update drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail> [adminaccess|asadmin]
gam [<UserTypeEntity>] delete drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail> [adminaccess|asadmin]
gam [<UserTypeEntity>] info drivefileacl <DriveFileEntity> <DriveFilePermissionIDorEmail> [adminaccess|asadmin]
gam [<UserTypeEntity>] print drivefileacls <DriveFileEntity> [todrive <ToDriveAttribute>*] [adminaccess|asadmin]
gam [<UserTypeEntity>] show drivefileacls <DriveFileEntity> [adminaccess|asadmin]
gam [<UserTypeEntity>] create|add permissions <DriveFileEntity> <DriveFilePermissionsEntity> [adminaccess|asadmin]
gam [<UserTypeEntity>] delete permissions <DriveFileEntity> <DriveFilePermissionIDEntity> [adminaccess|asadmin]
6.26.02
Added option 'includederivedmembership' to gam <UserTypeEntity> check groups
to allow
checking if a user is a member of a group or one of its sub-groups.
6.26.01
Added option nodetails
to gam print|show groups` that simply lists
the user's groups without making the addtional API call per group to get role, status and delivery settings.
Added command that allows checking if a user is a member of specific groups.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Group-Membership#check-users-group-membership
6.26.00
Build MacOS universal version.
- Upgraded to OpenSSL 3.0.5 where possible.
Updated code in gam create course <CourseAttribute>* copyfrom <CourseID>
to avoid a trap
caused by Google returning unexpected data in the DueTime
field for course work.
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