From 31e8ac11a24fcaf187ef466118d6aa382e854e2f Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 2 Nov 2024 12:41:22 -0700 Subject: [PATCH] Classification labels are now available for Gmail in addition to Drive. --- docs/Addresses.md | 2 +- docs/Administrators.md | 2 +- docs/Alert-Center.md | 2 +- docs/Authorization.md | 4 +- docs/BNF-Syntax.md | 2 +- docs/Basic-Items.md | 10 +- docs/Bulk-Processing.md | 2 +- docs/CSV-Special-Characters.md | 2 +- docs/Chat-Bot.md | 2 +- docs/Chrome-AUE-Counts.md | 2 +- docs/Chrome-Installed-Apps.md | 2 +- docs/Chrome-Needs-Attention-Counts.md | 2 +- docs/Chrome-Policies.md | 2 +- docs/Chrome-Printers.md | 2 +- docs/Chrome-Version-Counts.md | 2 +- docs/Chrome-Version-History.md | 2 +- docs/Cloud-Channel.md | 2 +- docs/Cloud-Identity-Devices.md | 2 +- docs/Cloud-Storage.md | 2 +- docs/Collections-of-ChromeOS-Devices.md | 2 +- docs/Collections-of-Items.md | 8 +- docs/Collections-of-Users.md | 2 +- ...nd-Data-From-Google-Docs-Sheets-Storage.md | 2 +- docs/Command-Line-Parsing.md | 2 +- docs/Command-Logging-Progress.md | 2 +- docs/Customer.md | 2 +- docs/Domains-Verification.md | 2 +- docs/Domains.md | 2 +- docs/Downloads-Installs.md | 2 +- docs/Drive-Items.md | 2 +- docs/Email-Audit-Monitor.md | 2 +- docs/Find-File-Owner.md | 2 +- docs/GAM-Return-Codes.md | 2 +- docs/GAM-with-minimal-GCP-rights.md | 2 +- docs/GAM7-on-Android-Devices.md | 2 +- docs/GAM7-on-Chrome-OS-Devices.md | 2 +- docs/GamUpdates.md | 18 +++ docs/Google-Data-Transfers.md | 2 +- docs/Google-Network-Addresses.md | 2 +- docs/HTTPS-Proxy.md | 2 +- docs/How-to-Install-GAM7.md | 2 +- docs/How-to-Uninstall-GAM7.md | 2 +- docs/How-to-Update-GAM7.md | 2 +- docs/How-to-Upgrade-Legacy-GAM-to-GAM7.md | 4 +- docs/Inbound-SSO.md | 2 +- docs/Licenses.md | 2 +- docs/List-Items.md | 10 +- docs/List.md | 2 +- docs/Meta-Commands-and-File-Redirection.md | 2 +- docs/Mobile-Devices.md | 2 +- docs/Organizational-Units.md | 2 +- docs/Other-Resources.md | 2 +- docs/Permission-Matches.md | 2 +- docs/Python-Regular-Expressions.md | 2 +- docs/Rclone.md | 2 +- docs/Reseller.md | 2 +- docs/SSL-Root-CA-Certificates.md | 2 +- docs/Scripts.md | 2 +- docs/Tag-Replace.md | 2 +- docs/Todrive.md | 2 +- docs/Unmanaged-Accounts.md | 2 +- docs/Upgrade-Benefits.md | 2 +- docs/Users-Analytics-Admin.md | 2 +- docs/Users-Application-Specific-Passwords.md | 2 +- docs/Users-Backup-Verification-Codes.md | 2 +- docs/Users-Calendars-Access.md | 2 +- docs/Users-Chat.md | 2 +- ...bels.md => Users-Classification-Labels.md} | 6 +- docs/Users-Classroom-Profile.md | 2 +- docs/Users-Contacts.md | 2 +- docs/Users-Deprovision.md | 2 +- docs/Users-Drive-Activity-Settings.md | 2 +- docs/Users-Drive-Cleanup.md | 2 +- docs/Users-Drive-Comments.md | 2 +- docs/Users-Drive-Files-Display.md | 14 +-- docs/Users-Drive-Files-Manage.md | 2 +- docs/Users-Drive-Orphans.md | 2 +- docs/Users-Drive-Ownership.md | 2 +- docs/Users-Drive-Query.md | 2 +- docs/Users-Drive-Revisions.md | 2 +- docs/Users-Drive-Shortcuts.md | 2 +- docs/Users-Drive-Transfer.md | 2 +- docs/Users-Forms.md | 2 +- docs/Users-Gmail-CSE.md | 2 +- docs/Users-Gmail-Profile.md | 2 +- docs/Users-Gmail-S-MIME.md | 2 +- docs/Users-Gmail-Settings.md | 2 +- docs/Users-Meet.md | 2 +- docs/Users-Photo.md | 2 +- docs/Users-Profile-Sharing.md | 2 +- docs/Users-Shared-Drives.md | 2 +- docs/Users-Signout-Turnoff2SV.md | 2 +- docs/Users-Spreadsheets.md | 2 +- docs/Users-Tasks.md | 2 +- docs/Users-Tokens.md | 2 +- docs/Users-YouTube.md | 2 +- ...-with-a-delegated-admin-service-account.md | 2 +- docs/Version-and-Help.md | 12 +- docs/_Sidebar.md | 2 +- src/GamCommands.txt | 118 ++++++++---------- src/GamUpdate.txt | 18 +++ src/gam/__init__.py | 102 ++++++++------- src/gam/gamlib/glapi.py | 8 +- src/gam/gamlib/glclargs.py | 14 ++- src/gam/gamlib/glentity.py | 24 ++-- 105 files changed, 290 insertions(+), 260 deletions(-) rename docs/{Users-Drive-Labels.md => Users-Classification-Labels.md} (98%) diff --git a/docs/Addresses.md b/docs/Addresses.md index a9badf46..aaf9dbe0 100644 --- a/docs/Addresses.md +++ b/docs/Addresses.md @@ -1,4 +1,4 @@ -!# Addresses +# Addresses - [API documentation](#api-documentation) - [Display addresses](#display-addresses) diff --git a/docs/Administrators.md b/docs/Administrators.md index 57ca302e..3b2d96d6 100644 --- a/docs/Administrators.md +++ b/docs/Administrators.md @@ -1,4 +1,4 @@ -!# Administrators +# Administrators - [Administrator roles documentation](#administrator-roles-documentation) - [API documentation](#api-documentation) - [Definitions](#definitions) diff --git a/docs/Alert-Center.md b/docs/Alert-Center.md index 06136968..1469dd68 100644 --- a/docs/Alert-Center.md +++ b/docs/Alert-Center.md @@ -1,4 +1,4 @@ -!# Alert Center +# Alert Center - [API documentation](#api-documentation) - [Definitions](#definitions) - [Introduction](#introduction) diff --git a/docs/Authorization.md b/docs/Authorization.md index ab1874c4..831c694d 100644 --- a/docs/Authorization.md +++ b/docs/Authorization.md @@ -973,8 +973,8 @@ gam user user@domain.com update serviceaccount [*] 18) Drive API (supports readonly) [*] 19) Drive API - todrive [*] 20) Drive Activity API v2 - must pair with Drive API -[*] 21) Drive Labels API v2beta - Admin (supports readonly) -[*] 22) Drive Labels API v2beta - User (supports readonly) +[*] 21) Drive Labels API - Admin (supports readonly) +[*] 22) Drive Labels API - User (supports readonly) [*] 23) Forms API [*] 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) diff --git a/docs/BNF-Syntax.md b/docs/BNF-Syntax.md index 8c2bcf9b..cfd47768 100644 --- a/docs/BNF-Syntax.md +++ b/docs/BNF-Syntax.md @@ -1,4 +1,4 @@ -!# Syntax +# Syntax ## BNF Syntax This Wiki describes the GAM7 command line syntax in modified BNF. diff --git a/docs/Basic-Items.md b/docs/Basic-Items.md index ceccc91f..60c847e0 100644 --- a/docs/Basic-Items.md +++ b/docs/Basic-Items.md @@ -283,6 +283,11 @@ ::= ||groups/ ::= customer|group|other|serviceaccount|user ::= policies/|settings/| + ::= + ::= + ::= + ::= labels/[@latest|@published|@] + ::= labels/[@latest|@published|@]/permissions/(audiences|groups|people)/ ::= ::= ::= @@ -352,11 +357,6 @@ ::= anyone|anyonewithlink|id: ::= | ::= - ::= - ::= - ::= - ::= labels/[@latest|@published|@] - ::= labels/[@latest|@published|@]/permissions/(audiences|groups|people)/ ::= @ ::= || ::= diff --git a/docs/Bulk-Processing.md b/docs/Bulk-Processing.md index c8ca553a..edadd4c5 100644 --- a/docs/Bulk-Processing.md +++ b/docs/Bulk-Processing.md @@ -1,4 +1,4 @@ -!# Bulk Processing +# Bulk Processing - [Introduction](#introduction) - [Python Regular Expressions](Python-Regular-Expressions) - [GAM Configuration](gam.cfg) diff --git a/docs/CSV-Special-Characters.md b/docs/CSV-Special-Characters.md index e46a225e..72dc9c08 100644 --- a/docs/CSV-Special-Characters.md +++ b/docs/CSV-Special-Characters.md @@ -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 variables that control CSV file reading/writing: diff --git a/docs/Chat-Bot.md b/docs/Chat-Bot.md index a5ec1baa..e6fbb94e 100644 --- a/docs/Chat-Bot.md +++ b/docs/Chat-Bot.md @@ -1,4 +1,4 @@ -!# Chat Bot +# Chat Bot - [Notes](#notes) - [API documentation](#api-documentation) diff --git a/docs/Chrome-AUE-Counts.md b/docs/Chrome-AUE-Counts.md index d11e96cb..216b3375 100644 --- a/docs/Chrome-AUE-Counts.md +++ b/docs/Chrome-AUE-Counts.md @@ -1,4 +1,4 @@ -!# Chrome Auto Update Expiration Counts +# Chrome Auto Update Expiration Counts - [Chrome Auto Update Expiration Counts](#chrome-auto-update-expiration-counts) - [API documentation](#api-documentation) diff --git a/docs/Chrome-Installed-Apps.md b/docs/Chrome-Installed-Apps.md index f991ffb1..dfd9f1a8 100644 --- a/docs/Chrome-Installed-Apps.md +++ b/docs/Chrome-Installed-Apps.md @@ -1,4 +1,4 @@ -!# Chrome Installed Apps Counts +# Chrome Installed Apps Counts - [API documentation](#api-documentation) - [Definitions](#definitions) diff --git a/docs/Chrome-Needs-Attention-Counts.md b/docs/Chrome-Needs-Attention-Counts.md index 9a70fa1b..86eb76d7 100644 --- a/docs/Chrome-Needs-Attention-Counts.md +++ b/docs/Chrome-Needs-Attention-Counts.md @@ -1,4 +1,4 @@ -!# Chrome Device Needs Attention Counts +# Chrome Device Needs Attention Counts - [Chrome Device Needs Attention Counts](#chrome-device-needs-attention-counts) - [API documentation](#api-documentation) diff --git a/docs/Chrome-Policies.md b/docs/Chrome-Policies.md index 8dcca755..b62511c7 100644 --- a/docs/Chrome-Policies.md +++ b/docs/Chrome-Policies.md @@ -1,4 +1,4 @@ -!# Chrome Policies +# Chrome Policies - [Chrome Policies](#chrome-policies) - [Chrome Version History](Chrome-Version-History) diff --git a/docs/Chrome-Printers.md b/docs/Chrome-Printers.md index ae650c4d..16da2eba 100644 --- a/docs/Chrome-Printers.md +++ b/docs/Chrome-Printers.md @@ -1,4 +1,4 @@ -!# Chrome Printers +# Chrome Printers - [API documentation](#api-documentation) - [Notes](#notes) - [Definitions](#definitions) diff --git a/docs/Chrome-Version-Counts.md b/docs/Chrome-Version-Counts.md index 4cbaac93..3564ef9a 100644 --- a/docs/Chrome-Version-Counts.md +++ b/docs/Chrome-Version-Counts.md @@ -1,4 +1,4 @@ -!# Chrome Version Counts +# Chrome Version Counts - [Chrome Version Counts](#chrome-version-counts) - [API documentation](#api-documentation) diff --git a/docs/Chrome-Version-History.md b/docs/Chrome-Version-History.md index 6865bdc2..1afe4509 100644 --- a/docs/Chrome-Version-History.md +++ b/docs/Chrome-Version-History.md @@ -1,4 +1,4 @@ -!# Chrome Version History +# Chrome Version History - [Chrome Version History](#chrome-version-history) - [API documentation](#api-documentation) diff --git a/docs/Cloud-Channel.md b/docs/Cloud-Channel.md index 73b10e44..3988fb0c 100644 --- a/docs/Cloud-Channel.md +++ b/docs/Cloud-Channel.md @@ -1,4 +1,4 @@ -!# Cloud Channel +# Cloud Channel - [API documentation](#api-documentation) - [Notes](#notes) - [Definitions](#definitions) diff --git a/docs/Cloud-Identity-Devices.md b/docs/Cloud-Identity-Devices.md index fc312f08..e68da9ed 100644 --- a/docs/Cloud-Identity-Devices.md +++ b/docs/Cloud-Identity-Devices.md @@ -1,4 +1,4 @@ -!# Cloud Identity Devices +# Cloud Identity Devices - [API documentation](#api-documentation) - [Query documentation](#query-documentation) - [Definitions](#definitions) diff --git a/docs/Cloud-Storage.md b/docs/Cloud-Storage.md index 84172b44..57cc5a3e 100644 --- a/docs/Cloud-Storage.md +++ b/docs/Cloud-Storage.md @@ -1,4 +1,4 @@ -!# Cloud Storage +# Cloud Storage - [API documentation](#api-documentation) - [Notes](#notes) - [Definitions](#definitions) diff --git a/docs/Collections-of-ChromeOS-Devices.md b/docs/Collections-of-ChromeOS-Devices.md index 48aeb87a..7cfad1b4 100644 --- a/docs/Collections-of-ChromeOS-Devices.md +++ b/docs/Collections-of-ChromeOS-Devices.md @@ -1,4 +1,4 @@ -!# Collections of ChromeOS Devices +# Collections of ChromeOS Devices - [Python Regular Expressions](Python-Regular-Expressions) Match function - [Definitions](#definitions) - [Organization Unit Quoting](#organization-unit-quoting) diff --git a/docs/Collections-of-Items.md b/docs/Collections-of-Items.md index f35562fd..c2669a26 100644 --- a/docs/Collections-of-Items.md +++ b/docs/Collections-of-Items.md @@ -146,6 +146,10 @@ Data fields identified in a `csvkmd` argument. | | | | ::= | | + ::= + | | | + ::= + | | | ::= | | | | ::= @@ -267,10 +271,6 @@ Data fields identified in a `csvkmd` argument. (first|last|allexceptfirst|allexceptlast )| (before|after