From 4bdce171afc1ce0891aaa05cce0b4637eeaf54c5 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Tue, 15 Jul 2025 13:20:57 -0700 Subject: [PATCH] Update GAL documentation --- wiki/Domain-SharedContacts.md | 9 --------- wiki/Global-Address-List.md | 17 +++++++++++++++++ wiki/_Sidebar.md | 1 + 3 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 wiki/Global-Address-List.md diff --git a/wiki/Domain-SharedContacts.md b/wiki/Domain-SharedContacts.md index 58d1c77f..af5d8942 100644 --- a/wiki/Domain-SharedContacts.md +++ b/wiki/Domain-SharedContacts.md @@ -308,12 +308,3 @@ the quote character itself, the column delimiter (comma by default) and new-line When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output. The `quotechar ` option allows you to choose an alternate quote character, single quote for instance, that makes for readable/processable output. `quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used. - -## Display global address list -As of mid-October 2024, Google deprecated the API that retrieved the Global Address List. - -These commands are a work-around. -``` -gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" redirect csv ./UserGAL.csv print users fields name,gal -gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" batch_size 25 redirect csv ./GroupGAL.csv print groups fields name,gal -``` diff --git a/wiki/Global-Address-List.md b/wiki/Global-Address-List.md new file mode 100644 index 00000000..a3875eca --- /dev/null +++ b/wiki/Global-Address-List.md @@ -0,0 +1,17 @@ +# Global Address List + +As of mid-October 2024, Google deprecated the API that retrieved the Global Address List. + +These commands are a work-around. + +Display users/groups in GAL. +``` +gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" redirect csv ./UserGAL.csv print users fields name,gal +gam config csv_output_row_filter "includeInGlobalAddressList:boolean:true" batch_size 25 redirect csv ./GroupGAL.csv print groups fields name,gal +``` + +Display users/groups not in GAL. +``` +gam config csv_output_row_filter "includeInGlobalAddressList:boolean:false" redirect csv ./UserNotGAL.csv print users fields name,gal +gam config csv_output_row_filter "includeInGlobalAddressList:boolean:false" batch_size 25 redirect csv ./GroupNotGAL.csv print groups fields name,gal +``` diff --git a/wiki/_Sidebar.md b/wiki/_Sidebar.md index 7115defb..5ba5be28 100644 --- a/wiki/_Sidebar.md +++ b/wiki/_Sidebar.md @@ -97,6 +97,7 @@ Client Access * [Domain Shared Contacts](Domain-SharedContacts) * [Email Audit Monitor](Email-Audit-Monitor) * [Find File Owner](Find-File-Owner) +* [Global Address List](Global-Address-List)) * [Google Data Transfers](Google-Data-Transfers) * [Groups](Groups) * [Groups - Membership](Groups-Membership)