Latest updates
6.25.12
Added option selectmaincontacts
to <PeoplePrintShowUserContactSelection>
to allow more flexibility in selecting contacts to display
with gam <UserTypeEntity> print|show contacts
.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-People-Contacts-Profiles#select-user-contacts
6.25.11
Updated error handling for gam create|delete admin
.
6.25.10
Added option norecursion [<Boolean>]
to gam <UserTypeEntity> transfer ownership
to allow
ownership transfer of a folder but not its contents.
6.25.09
Fixed bug in gam oauth info
that deleted the scopes in oauth2.txt if it had expired.
6.25.08
Added error checking to gam create datatransfer
to avoid a trap.
6.25.07
Fixed bug introduced in 6.25.06 where only one row of a CSV file/Google Sheet was read by default.
6.25.06
Updated option maxrows <Integer>
for gam csv|loop
to be applied after input row filtering;
this allows limiting the number of filtered rows processed as opposed to the number of rows read.
maxrows 0
- All rows are processed, this is the defaultmaxrows N
- N filtered rows are processed
6.25.05
Added option maxrows <Integer>
to gam csv|loop
that allows you to limit the number of rows
read from the CSV file/Google Sheet. This can be used during testing in order to verify the functioning
of the command on a few rows before committing to all of the rows.
gam csv|loop <FileName>|-|(gsheet <UserGoogleSheet>) [charset <Charset>] [warnifnodata]
[columndelimiter <Character>] [quotechar <Character>] [fields <FieldNameList>]
(matchfield|skipfield <FieldName> <RegularExpression>)* [showcmds [<Boolean>]]
[maxrows <Integer>]
gam <GAMArgumentList>
maxrows -1
- All rows are read, this is the defaultmaxrows 0
- No rows are readmaxrows N
- N rows are read
6.25.04
Updated gam create|update course ... copyfrom <CourseID> ... copytopics true
to preserve the topics order.
6.25.03
Updated gam print users
to properly display the languages
attribute based on the output format:
default
-languages
column has the valueen+
formatjson
-JSON
column contains"languages": [{"languageCode": "en", "preference": "preferred"}]
6.25.02
Added option missingtextvalue <String>
to gam <UserTypeEntity> create note json ...
that causes GAM
to supply a value for JSON list
and text
items that are missing text fields. This option must appear
before the json
option. If not specified and a text field is missing, you'll get the following error:
Request contains an invalid argument.
6.25.01
Updated license commands to retry the following error:
ERROR: 503: serviceNotAvailable - The service is currently unavailable.
Updated https://apps.google.com/user/hub
to https://workspace.google.com/dashboard
in the new user email message; thanks to @jay-eleven
.
6.25.00
Added initial support for the Drive Labels API. GAM can display drive labels and it can apply them to files
and display drive labels on files. Please test/experiment and report any issues.
To use these commands you must add the 'Drive Labels API' to your project and update your service account authorization.
gam update project
gam user user@domain.com check serviceaccount
Supported editions for this feature: Business Standard and Business Plus; Enterprise; Education Standard and Education Plus; G Suite Business; Essentials.
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Labels
- See: https://github.com/taers232c/GAMADV-XTD3/wiki/Users-Drive-Files-Display
6.24.27
Following Jay's lead, updated Cloud Identity API from v1beta1 to v1 for userinvitations
commands.
6.24.26
Updated handling of shortcuts in gam <UserTypeEntity> claim|transfer ownership
.
6.24.25
Corrected progress messages for gam print groups showownedby
.
6.24.24
Added gradebooksettings
to <CourseFieldName>
.
6.24.23
Increase wait time in gam create project
as Google is taking much longer to create projects.
6.24.22
Added option license <SKUID> [product|productid <ProductID>]
to gam create user
that assigns a
license to a user at the time of creation.
6.24.21
Fixed bug in gam <UserTypeEntity> move drivefile ... createshortcutsfornonmovablefiles
that caused the following error:
ERROR: 403: shortcutTargetInvalid - The specified file is not an allowed shortcut target type.
6.24.20
Fixed bug in gam <UserTypeEntity> claim ownership
that caused a trap.
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