Compare commits

...

21 Commits

Author SHA1 Message Date
Ross Scroggs
31e8ac11a2 Classification labels are now available for Gmail in addition to Drive. 2024-11-02 12:41:22 -07:00
Ross Scroggs
a9c4c006b2 Fixed bug introduced in 7.00.33 in gam print group-members that caused a trap.
Some checks failed
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-apis (push) Has been cancelled
Build and test GAM / merge (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
2024-10-31 11:27:56 -07:00
Ross Scroggs
378c763aa3 Fixed bug in gam print group-members ... cachememberinfo that caused a trap.
Some checks are pending
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Waiting to run
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Waiting to run
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Waiting to run
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Waiting to run
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Waiting to run
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Waiting to run
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Waiting to run
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Waiting to run
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Waiting to run
Build and test GAM / merge (push) Blocked by required conditions
Build and test GAM / publish (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Check for Google Root CA Updates / check-apis (push) Waiting to run
2024-10-30 16:11:24 -07:00
Jay Lee
e46c837416 actions: not dasa
Some checks failed
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-apis (push) Has been cancelled
Build and test GAM / merge (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
2024-10-28 14:48:36 +00:00
Jay Lee
a478d45258 actions: call policies API 2024-10-28 14:40:42 +00:00
Jay Lee
5476c4d14f actions: remove extra matter delete 2024-10-28 10:19:38 -04:00
Jay Lee
2759d59cbf actions: vault matter close improvements 2024-10-28 10:14:43 -04:00
Jay Lee
d2213709f0 actions: no error on empty vault matter results
Some checks are pending
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Waiting to run
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Waiting to run
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Waiting to run
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Waiting to run
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Waiting to run
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Waiting to run
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Waiting to run
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Waiting to run
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Waiting to run
Build and test GAM / merge (push) Blocked by required conditions
Build and test GAM / publish (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Check for Google Root CA Updates / check-apis (push) Waiting to run
2024-10-28 09:52:37 -04:00
Jay Lee
d2840b95d5 not gam 2024-10-28 09:42:28 -04:00
Jay Lee
49cdad014b close and delete matters 2024-10-28 09:35:18 -04:00
Jay Lee
532271130c actions: try refreshing creds again 2024-10-28 09:17:30 -04:00
Jay Lee
628ef4aeff actions: update creds 2024-10-28 08:59:58 -04:00
Ross Scroggs
34b344baf9 Update GamUpdates.md
Some checks failed
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Waiting to run
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Waiting to run
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Waiting to run
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Waiting to run
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Waiting to run
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Waiting to run
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Waiting to run
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Waiting to run
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Waiting to run
Build and test GAM / merge (push) Blocked by required conditions
Build and test GAM / publish (push) Blocked by required conditions
Check for Google Root CA Updates / check-apis (push) Waiting to run
CodeQL / Analyze (python) (push) Has been cancelled
2024-10-27 19:07:27 -07:00
Jay Lee
b2daeffa36 actions: fi!
Some checks are pending
Build and test GAM / build (Win64, build, 8, VC-WIN64A, windows-2022) (push) Waiting to run
Build and test GAM / build (aarch64, build, 3, linux-aarch64, [self-hosted linux arm64]) (push) Waiting to run
Build and test GAM / build (aarch64, build, 5, linux-aarch64, [self-hosted linux arm64], yes) (push) Waiting to run
Build and test GAM / build (aarch64, build, 7, darwin64-arm64, macos-14) (push) Waiting to run
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 2, linux-x86_64, ubuntu-24.04) (push) Waiting to run
Build and test GAM / build (x86_64, build, 4, linux-x86_64, ubuntu-22.04, yes) (push) Waiting to run
Build and test GAM / build (x86_64, build, 6, darwin64-x86_64, macos-13) (push) Waiting to run
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Waiting to run
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Waiting to run
Build and test GAM / build (x86_64, test, 12, ubuntu-24.04, 3.12) (push) Waiting to run
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Waiting to run
Build and test GAM / merge (push) Blocked by required conditions
Build and test GAM / publish (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Check for Google Root CA Updates / check-apis (push) Waiting to run
2024-10-27 16:27:33 -04:00
Jay Lee
3440fa7415 actions: quotes 2024-10-27 16:23:08 -04:00
Jay Lee
77bf001195 actions: gtar on MacOS 2024-10-27 16:20:41 -04:00
Jay Lee
5d0003ce93 actions: try, try again. 2024-10-27 16:10:55 -04:00
Jay Lee
a0c4be1d5c actions: tell tar the file is a tar.xz 2024-10-27 15:56:21 -04:00
Jay Lee
95be4e2d53 actions: try to update creds again. ugh. 2024-10-27 15:52:11 -04:00
Jay Lee
5f8705fc09 actions: update creds to add policy scope 2024-10-27 15:44:06 -04:00
Jay Lee
975833bf87 actions: add policy scope for testing 2024-10-27 15:39:07 -04:00
110 changed files with 346 additions and 302 deletions

Binary file not shown.

18
.github/actions/decrypt.sh vendored Normal file → Executable file
View File

@@ -23,10 +23,16 @@ fi
gpg --batch \ gpg --batch \
--yes \ --yes \
--decrypt \ --decrypt \
--passphrase="${PASSCODE}" \ --passphrase="$PASSCODE" \
--output "${credsfile}" \ --output "$credsfile" \
"${gpgfile}" "$gpgfile"
tar xvvf "${credsfile}" --directory "${credspath}" if [[ "$RUNNER_OS" == "macOS" ]]; then
rm -rvf "${gpgfile}" tar="gtar"
rm -rvf "${credsfile}" else
tar="tar"
fi
"$tar" xlvvf "$credsfile" --directory "$credspath"
rm -rvf "$gpgfile"
rm -rvf "$credsfile"

View File

@@ -805,6 +805,8 @@ jobs:
# cleanup old runs # cleanup old runs
$gam config enable_dasa false save $gam config enable_dasa false save
$gam config csv_output_row_filter "name:regex:gha_test_${JID}_" print vaultholds || if [ $? != 55 ]; then exit $?; fi | $gam csv - gam delete vaulthold "id:~~holdId~~" matter "id:~~matterId~~" $gam config csv_output_row_filter "name:regex:gha_test_${JID}_" print vaultholds || if [ $? != 55 ]; then exit $?; fi | $gam csv - gam delete vaulthold "id:~~holdId~~" matter "id:~~matterId~~"
$gam config csv_output_row_filter "name:regex:gha_test_${HID}_" print vaultmatters matterstate OPEN | $gam csv - gam update vaultmatter "id:~~matterId~~" action close
$gam config csv_output_row_filter "name:regex:gha_test_${HID}_" print vaultmatters matterstate CLOSED | $gam csv - gam update vaultmatter "id:~~matterId~~" action delete
$gam config enable_dasa true save $gam config enable_dasa true save
$gam config csv_output_row_filter "name:regex:gha_test_${JID}_" print features | $gam csv - gam delete feature ~name $gam config csv_output_row_filter "name:regex:gha_test_${JID}_" print features | $gam csv - gam delete feature ~name
$gam config csv_output_row_filter "name:regex:^gha_test_${JID}_" user $gam_user print shareddrives asadmin | $gam csv - gam user $gam_user delete shareddrive ~id nukefromorbit $gam config csv_output_row_filter "name:regex:^gha_test_${JID}_" user $gam_user print shareddrives asadmin | $gam csv - gam user $gam_user delete shareddrive ~id nukefromorbit
@@ -824,8 +826,7 @@ jobs:
done done
driveid=$($gam user $gam_user add shareddrive "${newbase}" returnidonly) driveid=$($gam user $gam_user add shareddrive "${newbase}" returnidonly)
echo "Created shared drive ${driveid}" echo "Created shared drive ${driveid}"
# 9/17/24 - temp create in root due to Google API issues creating users in new OUs $gam create user $newuser firstname GHA lastname $JID displayname "Github Actions ${JID}" password random recoveryphone 12125121110 recoveryemail jay0lee@gmail.com gha.jid $JID languages en+,en-GB- ou "${newou}"
$gam create user $newuser firstname GHA lastname $JID displayname "Github Actions ${JID}" password random recoveryphone 12125121110 recoveryemail jay0lee@gmail.com gha.jid $JID languages en+,en-GB- # ou "${newou}"
$gam user $newuser add license workspaceenterpriseplus $gam user $newuser add license workspaceenterpriseplus
$gam user $newuser update photo https://dummyimage.com/400x600/000/fff $gam user $newuser update photo https://dummyimage.com/400x600/000/fff
$gam user $newuser get photo $gam user $newuser get photo
@@ -834,7 +835,9 @@ jobs:
$gam create group $newgroup name "GHA $JID group" description "This is a description" isarchived true $gam create group $newgroup name "GHA $JID group" description "This is a description" isarchived true
$gam user $gam_user sendemail recipient dev-null@pdl.jaylee.us subject "test message $newbase" message "GHA test message" $gam user $gam_user sendemail recipient dev-null@pdl.jaylee.us subject "test message $newbase" message "GHA test message"
$gam config enable_dasa false save $gam config enable_dasa false save
#$gam create contact firstname GHA lastname "$JID" email work "${newbase}@example.com" primary # don't expose policy output
$gam show policies > policies.csv
$gam create contact firstname GHA lastname "$JID" email work "${newbase}@example.com" primary
$gam print contacts $gam print contacts
$gam print privileges $gam print privileges
$gam config enable_dasa true save $gam config enable_dasa true save

View File

@@ -1,4 +1,4 @@
!# Addresses # Addresses
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Display addresses](#display-addresses) - [Display addresses](#display-addresses)

View File

@@ -1,4 +1,4 @@
!# Administrators # Administrators
- [Administrator roles documentation](#administrator-roles-documentation) - [Administrator roles documentation](#administrator-roles-documentation)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Alert Center # Alert Center
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Introduction](#introduction) - [Introduction](#introduction)

View File

@@ -973,8 +973,8 @@ gam user user@domain.com update serviceaccount
[*] 18) Drive API (supports readonly) [*] 18) Drive API (supports readonly)
[*] 19) Drive API - todrive [*] 19) Drive API - todrive
[*] 20) Drive Activity API v2 - must pair with Drive API [*] 20) Drive Activity API v2 - must pair with Drive API
[*] 21) Drive Labels API v2beta - Admin (supports readonly) [*] 21) Drive Labels API - Admin (supports readonly)
[*] 22) Drive Labels API v2beta - User (supports readonly) [*] 22) Drive Labels API - User (supports readonly)
[*] 23) Forms API [*] 23) Forms API
[*] 24) Gmail API - Basic Settings (Filters,IMAP, Language, POP, Vacation) - read/write, Sharing Settings (Delegates, Forwarding, SendAs) - read [*] 24) Gmail API - Basic Settings (Filters,IMAP, Language, POP, Vacation) - read/write, Sharing Settings (Delegates, Forwarding, SendAs) - read
[*] 25) Gmail API - Full Access (Labels, Messages) [*] 25) Gmail API - Full Access (Labels, Messages)

View File

@@ -1,4 +1,4 @@
!# Syntax # Syntax
## BNF Syntax ## BNF Syntax
This Wiki describes the GAM7 command line syntax in modified BNF. This Wiki describes the GAM7 command line syntax in modified BNF.

View File

@@ -283,6 +283,11 @@
<GIGroupItem> ::= <EmailAddress>|<UniqueID>|groups/<String> <GIGroupItem> ::= <EmailAddress>|<UniqueID>|groups/<String>
<CIGroupType> ::= customer|group|other|serviceaccount|user <CIGroupType> ::= customer|group|other|serviceaccount|user
<CIPolicyName> ::= policies/<String>|settings/<String>|<String> <CIPolicyName> ::= policies/<String>|settings/<String>|<String>
<ClassificationLabelID> ::= <String>
<ClassificationLabelFieldID> ::= <String>
<ClassificationLabelSelectionID> ::= <String>
<ClassificationLabelName> ::= labels/<ClassificationLabelID>[@latest|@published|@<Number>]
<ClassificationLabelPermissionName> ::= labels/<ClassificationLabelID>[@latest|@published|@<Number>]/permissions/(audiences|groups|people)/<String>
<ClassroomInvitationID> ::= <String> <ClassroomInvitationID> ::= <String>
<ClientID> ::= <String> <ClientID> ::= <String>
<CommandID> ::= <String> <CommandID> ::= <String>
@@ -352,11 +357,6 @@
<DriveFilePermissionID> ::= anyone|anyonewithlink|id:<String> <DriveFilePermissionID> ::= anyone|anyonewithlink|id:<String>
<DriveFilePermissionIDorEmail> ::= <DriveFilePermissionID>|<EmailAddress> <DriveFilePermissionIDorEmail> ::= <DriveFilePermissionID>|<EmailAddress>
<DriveFileRevisionID> ::= <String> <DriveFileRevisionID> ::= <String>
<DriveLabelID> ::= <String>
<DriveLabelFieldID> ::= <String>
<DriveLabelSelectionID> ::= <String>
<DriveLabelName> ::= labels/<DriveLabelID>[@latest|@published|@<Number>]
<DriveLabelPermissionName> ::= labels/<DriveLabelID>[@latest|@published|@<Number>]/permissions/(audiences|groups|people)/<String>
<EmailAddress> ::= <String>@<DomainName> <EmailAddress> ::= <String>@<DomainName>
<EmailItem> ::= <EmailAddress>|<UniqueID>|<String> <EmailItem> ::= <EmailAddress>|<UniqueID>|<String>
<EmailReplacement> ::= <String> <EmailReplacement> ::= <String>

View File

@@ -1,4 +1,4 @@
!# Bulk Processing # Bulk Processing
- [Introduction](#introduction) - [Introduction](#introduction)
- [Python Regular Expressions](Python-Regular-Expressions) - [Python Regular Expressions](Python-Regular-Expressions)
- [GAM Configuration](gam.cfg) - [GAM Configuration](gam.cfg)

View File

@@ -1,4 +1,4 @@
!# CSV Special Characters # CSV Special Characters
- [Python CSV documentation](https://docs.python.org/3/library/csv.html#dialects-and-formatting-parameters) - [Python CSV documentation](https://docs.python.org/3/library/csv.html#dialects-and-formatting-parameters)
## Python variables that control CSV file reading/writing: ## Python variables that control CSV file reading/writing:

View File

@@ -1,4 +1,4 @@
!# Chat Bot # Chat Bot
- [Notes](#notes) - [Notes](#notes)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)

View File

@@ -1,4 +1,4 @@
!# Chrome Auto Update Expiration Counts # Chrome Auto Update Expiration Counts
- [Chrome Auto Update Expiration Counts](#chrome-auto-update-expiration-counts) - [Chrome Auto Update Expiration Counts](#chrome-auto-update-expiration-counts)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)

View File

@@ -1,4 +1,4 @@
!# Chrome Installed Apps Counts # Chrome Installed Apps Counts
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Chrome Device Needs Attention Counts # Chrome Device Needs Attention Counts
- [Chrome Device Needs Attention Counts](#chrome-device-needs-attention-counts) - [Chrome Device Needs Attention Counts](#chrome-device-needs-attention-counts)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)

View File

@@ -1,4 +1,4 @@
!# Chrome Policies # Chrome Policies
- [Chrome Policies](#chrome-policies) - [Chrome Policies](#chrome-policies)
- [Chrome Version History](Chrome-Version-History) - [Chrome Version History](Chrome-Version-History)

View File

@@ -1,4 +1,4 @@
!# Chrome Printers # Chrome Printers
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Chrome Version Counts # Chrome Version Counts
- [Chrome Version Counts](#chrome-version-counts) - [Chrome Version Counts](#chrome-version-counts)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)

View File

@@ -1,4 +1,4 @@
!# Chrome Version History # Chrome Version History
- [Chrome Version History](#chrome-version-history) - [Chrome Version History](#chrome-version-history)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)

View File

@@ -1,4 +1,4 @@
!# Cloud Channel # Cloud Channel
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Cloud Identity Devices # Cloud Identity Devices
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -11,7 +11,10 @@
## Notes ## Notes
To use these commands you must update your client access authentication. To use these commands you must update your client access authentication.
You'll enter 19R to turn on the Cloud Identity Policy scope; then continue
with authentication.
``` ```
gam oauth delete
gam oauth create gam oauth create
... ...
[R] 19) Cloud Identity - Policy [R] 19) Cloud Identity - Policy

View File

@@ -1,4 +1,4 @@
!# Cloud Storage # Cloud Storage
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Collections of ChromeOS Devices # Collections of ChromeOS Devices
- [Python Regular Expressions](Python-Regular-Expressions) Match function - [Python Regular Expressions](Python-Regular-Expressions) Match function
- [Definitions](#definitions) - [Definitions](#definitions)
- [Organization Unit Quoting](#organization-unit-quoting) - [Organization Unit Quoting](#organization-unit-quoting)

View File

@@ -146,6 +146,10 @@ Data fields identified in a `csvkmd` argument.
<CalendarList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector> <CalendarList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector>
<CIPolicyNameEntity> ::= <CIPolicyNameEntity> ::=
<CIPolicyNameList> | <FileSelector> | <CSVFileSelector> <CIPolicyNameList> | <FileSelector> | <CSVFileSelector>
<ClassificationLabelNameEntity> ::=
<ClassificationLabelNameList> | <FileSelector> | <CSVFileSelector> | <CSVDataSelector>
<ClassificationLabelPermissionNameEntity> ::=
<ClassificationLabelPermissionNameList> | <FileSelector> | <CSVFileSelector> | <CSVDataSelector>
<ClassroomInvitationIDEntity> ::= <ClassroomInvitationIDEntity> ::=
<ClassroomInvitationIDList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector> <ClassroomInvitationIDList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector>
<ContactEntity> ::= <ContactEntity> ::=
@@ -267,10 +271,6 @@ Data fields identified in a `csvkmd` argument.
(first|last|allexceptfirst|allexceptlast <Number>)| (first|last|allexceptfirst|allexceptlast <Number>)|
(before|after <Time>) | (range <Time> <Time>)| (before|after <Time>) | (range <Time> <Time>)|
<FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector> <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector>
<DriveLabelNameEntity> ::=
<DriveLabelNameList> | <FileSelector> | <CSVFileSelector> | <CSVDataSelector>
<DriveLabelPermissionNameEntity> ::=
<DriveLabelPermissionNameList> | <FileSelector> | <CSVFileSelector> | <CSVDataSelector>
<EmailAddressEntity> ::= <EmailAddressEntity> ::=
<EmailAddressList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector> <EmailAddressList> | <FileSelector> | <CSVFileSelector> | <CSVkmdSelector> | <CSVDataSelector>
<FilterIDEntity> ::= <FilterIDEntity> ::=

View File

@@ -1,4 +1,4 @@
!# Collections of Users # Collections of Users
- [Python Regular Expressions](Python-Regular-Expressions) Match function - [Python Regular Expressions](Python-Regular-Expressions) Match function
- [Definitions](#definitions) - [Definitions](#definitions)
- [List quoting rules](#list-quoting-rules) - [List quoting rules](#list-quoting-rules)

View File

@@ -1,4 +1,4 @@
!# Command data from Google Docs, Sheets and Cloud Storage # Command data from Google Docs, Sheets and Cloud Storage
- [Introduction](#introduction) - [Introduction](#introduction)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Read data from a Google Doc or Drive File](#read-data-from-a-google-doc-or-drive-file) - [Read data from a Google Doc or Drive File](#read-data-from-a-google-doc-or-drive-file)

View File

@@ -1,4 +1,4 @@
!# Command Line Parsing # Command Line Parsing
- [Linux and MacOS](#linux-and-macos) - [Linux and MacOS](#linux-and-macos)
- [Windows Command Prompt](#windows-command-prompt) - [Windows Command Prompt](#windows-command-prompt)
- [Windows PowerShell](#windows-powershell) - [Windows PowerShell](#windows-powershell)

View File

@@ -1,4 +1,4 @@
!# Command Logging and Progress # Command Logging and Progress
- [Introduction](#introduction) - [Introduction](#introduction)
- [GAM Configuration](gam.cfg) - [GAM Configuration](gam.cfg)
- [Command Logging](#command-logging) - [Command Logging](#command-logging)

View File

@@ -1,4 +1,4 @@
!# Customer # Customer
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Update customer](#update-customer) - [Update customer](#update-customer)

View File

@@ -306,26 +306,10 @@ The `quotechar <Character>` option allows you to choose an alternate quote chara
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used. `quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
## Display global address list ## Display global address list
``` As of mid-October 2024, Google deprecated the API that retrieved the Global Address List.
gam info gal <ContactEntity>
[basic|full]
[fields <ContactFieldNameList>] [formatjson]
gam show gal <ContactSelection>
[basic|full] [orderby <ContactOrderByFieldName> [ascending|descending]]
[fields <ContactFieldNameList>] [formatjson]
```
By default, Gam displays the information as an indented list of keys and values.
* `formatjson` - Display the fields in JSON format.
```
gam print gal [todrive <ToDriveAttribute>*] <ContactSelection>
[basic|full] [orderby <ContactOrderByFieldName> [ascending|descending]]
[fields <ContactFieldNameList>] [formatjson [quotechar <Character>]]
```
By default, Gam displays the information as columns of fields.
* `formatjson` - Display the fields in JSON format.
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain These commands are a work-around.
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled. ```
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output. gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" redirect csv ./UserGAL.csv print users fields name,gal
The `quotechar <Character>` option allows you to choose an alternate quote character, single quote for instance, that makes for readable/processable output. gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" batch_size 25 redirect csv ./GroupGAL.csv print groups fields name,gal
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used. ```

View File

@@ -1,4 +1,4 @@
!# Domains - Verification # Domains - Verification
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Introduction](#introduction) - [Introduction](#introduction)

View File

@@ -1,4 +1,4 @@
!# Domains # Domains
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Create a domain](#create-a-domain) - [Create a domain](#create-a-domain)

View File

@@ -1,4 +1,4 @@
!# Downloads-Installs-GAM7 # Downloads-Installs-GAM7
You can download and install the current GAM7 release from the [GitHub Releases](https://github.com/GAM-team/GAM/releases/latest) page. You can download and install the current GAM7 release from the [GitHub Releases](https://github.com/GAM-team/GAM/releases/latest) page.
Choose one of the following: Choose one of the following:

View File

@@ -1,4 +1,4 @@
!# Drive Items # Drive Items
- [Basic Items](Basic-Items) - [Basic Items](Basic-Items)
- [List Items](List-Items) - [List Items](List-Items)
``` ```

View File

@@ -1,4 +1,4 @@
!# Email Audit Monitor # Email Audit Monitor
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Find File Owner # Find File Owner
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Display File Ownership](#display-file-ownership) - [Display File Ownership](#display-file-ownership)

View File

@@ -1,4 +1,4 @@
!# GAM Return Codes # GAM Return Codes
These are the return codes used by GAM7. These are the return codes used by GAM7.

View File

@@ -1,4 +1,4 @@
!# GAM setup with minimal GCP permissions. # GAM setup with minimal GCP permissions.
- GCP Admin can create a project for the Workspace / GAM admin. - GCP Admin can create a project for the Workspace / GAM admin.

View File

@@ -1,4 +1,4 @@
!# GAM7 on Android Devices # GAM7 on Android Devices
GAM7 now runs on 64-bit Android devices such as Google's Pixel phones. The installation requires an app that adds the Linux environment to Android such as [UserLAnd](https://play.google.com/store/apps/details?id=tech.ula&hl=en_US). GAM7 now runs on 64-bit Android devices such as Google's Pixel phones. The installation requires an app that adds the Linux environment to Android such as [UserLAnd](https://play.google.com/store/apps/details?id=tech.ula&hl=en_US).
_Note: Chromebooks / Chrome OS devices should install GAM7 using [these instructions](GAM7-on-Chrome-OS-Devices)._ _Note: Chromebooks / Chrome OS devices should install GAM7 using [these instructions](GAM7-on-Chrome-OS-Devices)._

View File

@@ -1,4 +1,4 @@
!# GAM7 on Chrome OS Devices # GAM7 on Chrome OS Devices
Chrome OS devices that [support Linux apps](https://support.google.com/chromebook/answer/9145439?hl=en) can run GAM7. This includes Intel/AMD x86_64 Chromebooks as well as ARM-based Chromebooks with Mediatek or Rockchip 64-bit CPUs. Chrome OS devices that [support Linux apps](https://support.google.com/chromebook/answer/9145439?hl=en) can run GAM7. This includes Intel/AMD x86_64 Chromebooks as well as ARM-based Chromebooks with Mediatek or Rockchip 64-bit CPUs.
1. [Set up Linux on your Chromebook](https://support.google.com/chromebook/answer/9145439?hl=en). 1. [Set up Linux on your Chromebook](https://support.google.com/chromebook/answer/9145439?hl=en).

View File

@@ -10,12 +10,38 @@ 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 See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
### 7.00.35
Classification labels are now available for Gmail in addition to Drive.
* See: https://workspaceupdates.googleblog.com/2024/11/open-beta-data-classification-labels-gmail.html
The following command synonyms are available, there is no change in functionality:
```
gam [<UserTypeEntity>] info classificationlabels|drivelabels
gam [<UserTypeEntity>] print classificationlabels|drivelabels
gam [<UserTypeEntity>] show classificationlabels|drivelabels
gam [<UserTypeEntity>] create classificationlabelpermission|drivelabelpermission
gam [<UserTypeEntity>] delete classificationlabelpermission|drivelabelpermission
gam [<UserTypeEntity>] remove classificationlabelpermission|drivelabelpermission
gam [<UserTypeEntity>] print classificationlabelpermissions|drivelabelpermission
gam [<UserTypeEntity>] show classificationlabelpermissions|drivelabelpermission
```
### 7.00.34
Fixed bug introduced in 7.00.33 in `gam print group-members` that caused a trap.
### 7.00.33
Fixed bug in `gam print group-members ... cachememberinfo` that caused a trap.
### 7.00.32 ### 7.00.32
Updated `gam info policies` to accept different policy specifications: Updated `gam info policies` to accept different policy specifications:
* `polices/<String>` - A policy name, `policies/ahv4hg7qc24kvaghb7zihwf4riid4` * `polices/<String>` - A policy name, `policies/ahv4hg7qc24kvaghb7zihwf4riid4`
* `settings/<String>` - A policy setting type, `settings/workspace_marketplace.apps_allowlist' * `settings/<String>` - A policy setting type, `settings/workspace_marketplace.apps_allowlist`
* `<String>` - A policy setting type, `workspace_marketplace.apps_allowlist' * `<String>` - A policy setting type, `workspace_marketplace.apps_allowlist`
### 7.00.31 ### 7.00.31

View File

@@ -1,4 +1,4 @@
!# Google Data Transfers # Google Data Transfers
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Display transfer apps](#display-transfer-apps) - [Display transfer apps](#display-transfer-apps)

View File

@@ -1,4 +1,4 @@
!# Google Network Addresses # Google Network Addresses
All GAM calls are made on port 443 (HTTPS) to the following addresses: All GAM calls are made on port 443 (HTTPS) to the following addresses:
``` ```

View File

@@ -1,4 +1,4 @@
!# HTTPS Proxy # HTTPS Proxy
GAM should be run on a server with direct access to talk to Google servers via the Internet. GAM should be run on a server with direct access to talk to Google servers via the Internet.
However, if you must push GAM traffic through an HTTPS proxy this can be done by setting the HTTPS_PROXY environment variable. However, if you must push GAM traffic through an HTTPS proxy this can be done by setting the HTTPS_PROXY environment variable.

View File

@@ -1,4 +1,4 @@
!# Installing GAM7 # Installing GAM7
Use these steps if you have never used any version of GAM in your domain. They will create your GAM project Use these steps if you have never used any version of GAM in your domain. They will create your GAM project
and all necessary authentications. and all necessary authentications.

View File

@@ -1,4 +1,4 @@
!# Uninstalling GAM7 # Uninstalling GAM7
- [Get Project Info](#get-project-info) - [Get Project Info](#get-project-info)
- [Remove Client API access](#remove-client-api-access) - [Remove Client API access](#remove-client-api-access)

View File

@@ -1,4 +1,4 @@
!# Updating GAM7 # Updating GAM7
Use these steps to update your version of GAM7. Use these steps to update your version of GAM7.
- [Downloads-Installs](Downloads-Installs) - [Downloads-Installs](Downloads-Installs)

View File

@@ -1,4 +1,4 @@
!# Installation - Upgrading from Legacy GAM # Installation - Upgrading from Legacy GAM
Use these steps if you have used any version of GAM in your domain. They will update your GAM project Use these steps if you have used any version of GAM in your domain. They will update your GAM project
and all necessary authentications. and all necessary authentications.
@@ -251,7 +251,7 @@ writes the credentials into the file oauth2.txt.
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
admin@server:/Users/admin$ gam version 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 WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
GAM 7.00.32 - https://github.com/GAM-team/GAM - pyinstaller GAM 7.00.35 - https://github.com/GAM-team/GAM - pyinstaller
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.13.0 64-bit final Python 3.13.0 64-bit final
MacOS Sonoma 14.5 x86_64 MacOS Sonoma 14.5 x86_64
@@ -923,7 +923,7 @@ writes the credentials into the file oauth2.txt.
C:\>del C:\GAMConfig\oauth2.txt C:\>del C:\GAMConfig\oauth2.txt
C:\>gam version C:\>gam version
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
GAM7 7.00.32 - https://github.com/GAM-team/GAM - pythonsource GAM7 7.00.35 - https://github.com/GAM-team/GAM - pythonsource
GAM Team <google-apps-manager@googlegroups.com> GAM Team <google-apps-manager@googlegroups.com>
Python 3.13.0 64-bit final Python 3.13.0 64-bit final
Windows-10-10.0.17134 AMD64 Windows-10-10.0.17134 AMD64

View File

@@ -1,4 +1,4 @@
!# Inbound SSO # Inbound SSO
- [Admin Console](#admin-console) - [Admin Console](#admin-console)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Licenses # Licenses
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [License Products and SKUs](#license-products-and-skus) - [License Products and SKUs](#license-products-and-skus)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -14,6 +14,11 @@
<CIGroupAliasList> ::= "<CIGroupAlias>(,<CIGroupAlias>)*" <CIGroupAliasList> ::= "<CIGroupAlias>(,<CIGroupAlias>)*"
<CIGroupTypeList> ::= "<CIGroupType>(,<CIGroupType>)*" <CIGroupTypeList> ::= "<CIGroupType>(,<CIGroupType>)*"
<CIPolicyNameList> ::= "<CIPolicyName>(,<CIPolicyName>)*" <CIPolicyNameList> ::= "<CIPolicyName>(,<CIPolicyName>)*"
<ClassificationLabelIDList> ::= "<ClassificationLabelID>(,<ClassificationLabelID>)*"
<ClassificationLabelNameList> ::= "<ClassificationLabelName>(,<ClassificationLabelName>)*"
<ClassificationLabelPermissionNameList> ::= "<ClassificationLabelPermissionName>(,<ClassificationLabelPermissionName>)*"
<ClassificationLabelFieldIDList> ::= "<ClassificationLabelFieldID>(,<ClassificationLabelFieldID>)*"
<ClassificationLabelSelectionIDList> ::= "<ClassificationLabelSelectionID>(,<ClassificationLabelSelectionID>)*"
<ClassroomInvitationIDList> ::= "<ClassroomInvitationID>(,<ClassroomInvitationID>)*" <ClassroomInvitationIDList> ::= "<ClassroomInvitationID>(,<ClassroomInvitationID>)*"
<ContactGroupList> ::= "<ContactGroupItem>(,<ContactGroupItem>)*" <ContactGroupList> ::= "<ContactGroupItem>(,<ContactGroupItem>)*"
<ContactIDList> ::= "<ContactID>(,<ContactID>)*" <ContactIDList> ::= "<ContactID>(,<ContactID>)*"
@@ -42,11 +47,6 @@
<DriveFileRevisionIDList> ::= "<DriveFileRevisionID>(,<DriveFileRevisionID>)*" <DriveFileRevisionIDList> ::= "<DriveFileRevisionID>(,<DriveFileRevisionID>)*"
<DriveFolderIDList> ::= "<DriveFolderID>(,<DriveFolderID>)*" <DriveFolderIDList> ::= "<DriveFolderID>(,<DriveFolderID>)*"
<DriveFolderNameList> ::= "<DriveFolderName>(,<DriveFolderName>)*" <DriveFolderNameList> ::= "<DriveFolderName>(,<DriveFolderName>)*"
<DriveLabelIDList> ::= "<DriveLabelID>(,<DriveLabelID>)*"
<DriveLabelNameList> ::= "<DriveLabelName>(,<DriveLabelName>)*"
<DriveLabelPermissionNameList> ::= "<DriveLabelPermissionName>(,<DriveLabelPermissionName>)*"
<DriveLabelFieldIDList> ::= "<DriveLabelFieldID>(,<DriveLabelFieldID>)*"
<DriveLabelSelectionIDList> ::= "<DriveLabelSelectionID>(,<DriveLabelSelectionID>)*"
<EmailAddressList> ::= "<EmailAddress>(,<EmailAddress>)*" <EmailAddressList> ::= "<EmailAddress>(,<EmailAddress>)*"
<EmailItemList> ::= "<EmailItem>(,<EmailItem>)*" <EmailItemList> ::= "<EmailItem>(,<EmailItem>)*"
<EventIDList> ::= "<EventID>(,<EventID>)*" <EventIDList> ::= "<EventID>(,<EventID>)*"

View File

@@ -1,4 +1,4 @@
!# List # List
The list command is used to verify collections of objects. The list command is used to verify collections of objects.

View File

@@ -1,4 +1,4 @@
!# Meta Commands and File Redirection # Meta Commands and File Redirection
- [GAM Configuration](gam.cfg) - [GAM Configuration](gam.cfg)
- [Todrive](Todrive) - [Todrive](Todrive)

View File

@@ -1,4 +1,4 @@
!# Mobile Devices # Mobile Devices
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Organizational Units # Organizational Units
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Special quoting](#special-quoting) - [Special quoting](#special-quoting)

View File

@@ -1,4 +1,4 @@
!# Other Resources # Other Resources
The following are links to contributions of others in support of GAM7. The following are links to contributions of others in support of GAM7.

View File

@@ -1,4 +1,4 @@
!# Permission Matches # Permission Matches
- [Python Regular Expressions](Python-Regular-Expressions) Match function - [Python Regular Expressions](Python-Regular-Expressions) Match function
- [Definitions](#definitions) - [Definitions](#definitions)
- [File Selection](#file-selection) - [File Selection](#file-selection)

View File

@@ -1,4 +1,4 @@
!# Python Regular Expressions # Python Regular Expressions
- [Documentation](#documentation) - [Documentation](#documentation)
- [Match function](#match-function) - [Match function](#match-function)
- [Sub function](#sub-function) - [Sub function](#sub-function)

View File

@@ -1,4 +1,4 @@
!# Rclone # Rclone
GAM7 has the capability to upload and download single files between your local computer and Google Drive; GAM7 has the capability to upload and download single files between your local computer and Google Drive;
it has no capability for uploading and dowloading folders. For this you can use Rclone: https://rclone.org/ it has no capability for uploading and dowloading folders. For this you can use Rclone: https://rclone.org/

View File

@@ -1,4 +1,4 @@
!# Reseller # Reseller
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Manage Multiple Domains](#manage-multiple-domains) - [Manage Multiple Domains](#manage-multiple-domains)

View File

@@ -1,4 +1,4 @@
!# SSL Root CA Certificates # SSL Root CA Certificates
For an overall discussion of SSL, see: https://sites.google.com/site/x509certificateusage/ For an overall discussion of SSL, see: https://sites.google.com/site/x509certificateusage/

View File

@@ -1,4 +1,4 @@
!# Scripts # Scripts
These scripts can be used to enhance GAM's capabilities; all are supported with Advanced GAM, These scripts can be used to enhance GAM's capabilities; all are supported with Advanced GAM,
many are supported with Legacy GAM. They require that Python 3 be installed on you computer. many are supported with Legacy GAM. They require that Python 3 be installed on you computer.

View File

@@ -1,4 +1,4 @@
!# Tag Replace # Tag Replace
- [Python Regular Expressions](Python-Regular-Expressions) Sub function - [Python Regular Expressions](Python-Regular-Expressions) Sub function
- [Definitions](#definitions) - [Definitions](#definitions)
- [Introduction](#introduction) - [Introduction](#introduction)

View File

@@ -1,4 +1,4 @@
!# Todrive # Todrive
- [Introduction](#introduction) - [Introduction](#introduction)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Config file options](#config-file-options) - [Config file options](#config-file-options)

View File

@@ -1,4 +1,4 @@
!# Unmanaged Accounts # Unmanaged Accounts
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Collections of Users](Collections-of-Users) - [Collections of Users](Collections-of-Users)

View File

@@ -1,4 +1,4 @@
!# Upgrade Benefits # Upgrade Benefits
- [Configuration](#Configuration) - [Configuration](#Configuration)
- [Syntax Checking](#syntax-checking) - [Syntax Checking](#syntax-checking)
- [API error checking](#api-error-checking) - [API error checking](#api-error-checking)

View File

@@ -1,4 +1,4 @@
!# Users - Analytics Admin # Users - Analytics Admin
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Application Specific Passwords # Users - Application Specific Passwords
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Manage application specific passwords](#manage-application-specific-passwords) - [Manage application specific passwords](#manage-application-specific-passwords)

View File

@@ -1,4 +1,4 @@
!# Users - Backup Verification Codes # Users - Backup Verification Codes
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Manage backup verification codes](#manage-backup-verification-codes) - [Manage backup verification codes](#manage-backup-verification-codes)

View File

@@ -1,4 +1,4 @@
!# Users - Calendars - Access # Users - Calendars - Access
- [Notes](#Notes) - [Notes](#Notes)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Chat # Users - Chat
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Introduction](#introduction) - [Introduction](#introduction)
- [Set up a Chat Bot](#set-up-a-chat-bot) - [Set up a Chat Bot](#set-up-a-chat-bot)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Labels # Users - Classification Labels
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Notes](#notes) - [Notes](#notes)
@@ -13,8 +13,8 @@
* https://support.google.com/a/answer/9292382 * https://support.google.com/a/answer/9292382
* https://developers.google.com/drive/labels/guides/overview * https://developers.google.com/drive/labels/guides/overview
* https://developers.google.com/drive/labels/guides/authorize * https://developers.google.com/drive/labels/guides/authorize
* https://developers.google.com/drive/labels/reference/rest/v2beta/labels * https://developers.google.com/drive/labels/reference/rest/v2/labels
* https://developers.google.com/drive/labels/reference/rest/v2beta/labels.permissions * https://developers.google.com/drive/labels/reference/rest/v2/labels.permissions
* https://developers.google.com/drive/api/guides/about-labels * https://developers.google.com/drive/api/guides/about-labels
* https://developers.google.com/drive/api/v3/reference/files * https://developers.google.com/drive/api/v3/reference/files

View File

@@ -1,4 +1,4 @@
!# Users - Classroom - Profile # Users - Classroom - Profile
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Display Classroom profile](#display-classroom-profile) - [Display Classroom profile](#display-classroom-profile)

View File

@@ -1,4 +1,4 @@
!# User Contacts # User Contacts
- [Notes](#notes) - [Notes](#notes)
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)

View File

@@ -1,4 +1,4 @@
!# Users - Deprovision # Users - Deprovision
- [Introduction](#introduction) - [Introduction](#introduction)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Deprovision a user](#deprovision-a-user) - [Deprovision a user](#deprovision-a-user)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Activity/Settings # Users - Drive - Activity/Settings
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Cleanup # Users - Drive - Cleanup
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Display empty folders](#display-empty-folders) - [Display empty folders](#display-empty-folders)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Comments # Users - Drive - Comments
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -416,7 +416,7 @@ gam <UserTypeEntity> show fileinfo <DriveFileEntity>
[allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)] [allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])* (orderby <DriveFileOrderByFieldName> [ascending|descending])*
[showdrivename] [showshareddrivepermissions] [showdrivename] [showshareddrivepermissions]
[(showlabels details|ids)|(includelabels <DriveLabelIDList>)] [(showlabels details|ids)|(includelabels <ClassificationLabelIDList>)]
[showparentsidsaslist] [followshortcuts [<Boolean>]] [showparentsidsaslist] [followshortcuts [<Boolean>]]
[stripcrsfromname] [stripcrsfromname]
[formatjson] [formatjson]
@@ -426,7 +426,7 @@ gam <UserTypeEntity> info drivefile <DriveFileEntity>
[allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)] [allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])* (orderby <DriveFileOrderByFieldName> [ascending|descending])*
[showdrivename] [showshareddrivepermissions] [showdrivename] [showshareddrivepermissions]
[(showlabels details|ids)|(includelabels <DriveLabelIDList>)] [(showlabels details|ids)|(includelabels <ClassificationLabelIDList>)]
[showparentsidsaslist] [followshortcuts [<Boolean>]] [showparentsidsaslist] [followshortcuts [<Boolean>]]
[stripcrsfromname] [stripcrsfromname]
[formatjson] [formatjson]
@@ -471,18 +471,18 @@ an API call per file is required to get the information.
* `showlabels details` * `showlabels details`
``` ```
labels: labels:
id: <DriveLabelID> id: <ClassificationLabelID>
revisionId: <Number> revisionId: <Number>
id: <DriveLabelID> id: <ClassificationLabelID>
revisionId: <Number> revisionId: <Number>
``` ```
* `showlabels ids` * `showlabels ids`
``` ```
labelsIds: <DriveLabelID> <DriveLabelID> ... labelsIds: <ClassificationLabelID> <ClassificationLabelID> ...
``` ```
Starting in version 6.27.02, you can get Drive label information without an extra API call Starting in version 6.27.02, you can get Drive label information without an extra API call
if you know the `<DriveLabelID>`s. Add `labelinfo` to your `fields` list and use `includelabels <DriveLabelIDList>` if you know the `<ClassificationLabelID>`s. Add `labelinfo` to your `fields` list and use `includelabels <ClassificationLabelIDList>`
to specify the Drive labels. to specify the Drive labels.
``` ```
gam user user@domain.com show fileinfo <DriveFileEntity> fields id,name,mimetype,labelinfo includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb" gam user user@domain.com show fileinfo <DriveFileEntity> fields id,name,mimetype,labelinfo includelabels "mRoha85IbwCRl490E00xGLvBsSbkwIiuZ6PRNNEbbFcb"
@@ -1079,7 +1079,7 @@ gam <UserTypeEntity> print|show filelist [todrive <ToDriveAttribute>*]
[filepath|fullpath [folderpathonly [<Boolean>]] [pathdelimiter <Character>] [addpathstojson] [showdepth]] [buildtree] [filepath|fullpath [folderpathonly [<Boolean>]] [pathdelimiter <Character>] [addpathstojson] [showdepth]] [buildtree]
[allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)] [allfields|<DriveFieldName>*|(fields <DriveFieldNameList>)]
[showdrivename] [showshareddrivepermissions] [showdrivename] [showshareddrivepermissions]
[(showlabels details|ids)|(includelabels <DriveLabelIDList>)] [(showlabels details|ids)|(includelabels <ClassificationLabelIDList>)]
[showparentsidsaslist] [showpermissionslast] [showparentsidsaslist] [showpermissionslast]
(orderby <DriveFileOrderByFieldName> [ascending|descending])* [delimiter <Character>] (orderby <DriveFileOrderByFieldName> [ascending|descending])* [delimiter <Character>]
[stripcrsfromname] [stripcrsfromname]

View File

@@ -18,7 +18,7 @@
- [Purge files](#purge-files) - [Purge files](#purge-files)
- [Copy/Move Files](Users-Drive-Copy-Move) - [Copy/Move Files](Users-Drive-Copy-Move)
- [Shortcuts](Users-Drive-Shortcuts) - [Shortcuts](Users-Drive-Shortcuts)
- [Drive Labels](Users-Drive-Labels) - [Classification Labels](Users-Classification-Labels)
- [Download Google Documents as JSON](#download-google-documents-as-json) - [Download Google Documents as JSON](#download-google-documents-as-json)
- [Upload changes to Google Documents](#upload-changes-to-google-documents) - [Upload changes to Google Documents](#upload-changes-to-google-documents)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Orphans # Users - Drive - Orphans
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Collect orphaned files](#collect-orphaned-files) - [Collect orphaned files](#collect-orphaned-files)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Ownership # Users - Drive - Ownership
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Query # Users - Drive - Query
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Revisions # Users - Drive - Revisions
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Drive Shortcuts # Users - Drive Shortcuts
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Python Regular Expressions](Python-Regular-Expressions) Sub function - [Python Regular Expressions](Python-Regular-Expressions) Sub function

View File

@@ -1,4 +1,4 @@
!# Users - Drive - Transfer # Users - Drive - Transfer
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](Users-Drive-Query) - [Query documentation](Users-Drive-Query)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Forms # Users - Forms
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Create a Form](#create-a-form) - [Create a Form](#create-a-form)

View File

@@ -1,4 +1,4 @@
!# Users - Gmail - Client Side Encryption # Users - Gmail - Client Side Encryption
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Gmail - Profile # Users - Gmail - Profile
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Display Gmail profile](#display-gmail-profile) - [Display Gmail profile](#display-gmail-profile)

View File

@@ -1,4 +1,4 @@
!# Users - Gmail - S/MIME # Users - Gmail - S/MIME
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Create Gmail S/MIME configuration](#create-gmail-smime-configuration) - [Create Gmail S/MIME configuration](#create-gmail-smime-configuration)

View File

@@ -1,4 +1,4 @@
!# Users - Gmail - Settings # Users - Gmail - Settings
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Manage IMAP/POP](#manage-imappop) - [Manage IMAP/POP](#manage-imappop)

View File

@@ -1,4 +1,4 @@
!# Users - Meet # Users - Meet
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)
- [Introduction](#introduction) - [Introduction](#introduction)

View File

@@ -1,4 +1,4 @@
!# Users - Photo # Users - Photo
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Upload a user's photo from a default file](#upload-a-users-photo-from-a-default-file) - [Upload a user's photo from a default file](#upload-a-users-photo-from-a-default-file)

View File

@@ -1,4 +1,4 @@
!# Users - Profile Sharing # Users - Profile Sharing
- [Definitions](#definitions) - [Definitions](#definitions)
- [Manage user's profile sharing](#manage-users-profile-sharing) - [Manage user's profile sharing](#manage-users-profile-sharing)
- [Display user's profile sharing](#display-users-profile-sharing) - [Display user's profile sharing](#display-users-profile-sharing)

View File

@@ -1,4 +1,4 @@
!# Users - Shared Drives # Users - Shared Drives
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Signout and Turn off 2-Step Verification # Users - Signout and Turn off 2-Step Verification
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Signout Users](#signout-users) - [Signout Users](#signout-users)

View File

@@ -1,4 +1,4 @@
!# Users - Spreadsheets # Users - Spreadsheets
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Query documentation](#query-documentation) - [Query documentation](#query-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Tasks # Users - Tasks
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Notes](#notes) - [Notes](#notes)
- [Definitions](#definitions) - [Definitions](#definitions)

View File

@@ -1,4 +1,4 @@
!# Users - Tokens # Users - Tokens
- [API documentation](#api-documentation) - [API documentation](#api-documentation)
- [Definitions](#definitions) - [Definitions](#definitions)
- [Delete a user's token](#delete-a-users-token) - [Delete a user's token](#delete-a-users-token)

Some files were not shown because too many files have changed in this diff Show More