From 4b9694b76044f93dfb46e5e4f502086a1995506b Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 17 Jan 2026 20:54:19 -0800 Subject: [PATCH] Multiple updates --- src/gam/gamlib/glapi.py | 5 +++-- src/gam/gamlib/glentity.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gam/gamlib/glapi.py b/src/gam/gamlib/glapi.py index 654180f5..e953ca6b 100644 --- a/src/gam/gamlib/glapi.py +++ b/src/gam/gamlib/glapi.py @@ -230,7 +230,7 @@ _INFO = { CHAT_MEMBERSHIPS: {'name': 'Chat API - Memberships', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, CHAT_MEMBERSHIPS_ADMIN: {'name': 'Chat API - Memberships Admin', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, CHAT_MESSAGES: {'name': 'Chat API - Messages', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, - CHAT_SECTIONS: {'name': 'Chat API - Users Sections', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, + CHAT_SECTIONS: {'name': 'Chat API - User Sections', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, CHAT_SPACES: {'name': 'Chat API - Spaces', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, CHAT_SPACES_ADMIN: {'name': 'Chat API - Spaces Admin', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, CHAT_SPACES_DELETE: {'name': 'Chat API - Spaces Delete', 'version': 'v1', 'v2discovery': True, 'mappedAPI': CHAT}, @@ -596,8 +596,9 @@ _SVCACCT_SCOPES = [ 'api': CHAT_MESSAGES, 'subscopes': READONLY, 'scope': 'https://www.googleapis.com/auth/chat.messages'}, - {'name': 'Chat API - Users Sections', + {'name': 'Chat API - User Sections', 'api': CHAT_SECTIONS, + 'offByDefault': True, 'subscopes': READONLY, 'scope': 'https://www.googleapis.com/auth/chat.users.sections'}, {'name': 'Chat API - Spaces', diff --git a/src/gam/gamlib/glentity.py b/src/gam/gamlib/glentity.py index 80ca6034..ffaaae73 100644 --- a/src/gam/gamlib/glentity.py +++ b/src/gam/gamlib/glentity.py @@ -467,8 +467,8 @@ class GamEntity(): CHAT_MEMBER_GROUP: ['Chat Group Members', 'Chat Group Member'], CHAT_MEMBER_USER: ['Chat User Members', 'Chat User Member'], CHAT_OWNER_USER: ['Chat User Owners', 'Chat User Owner'], - CHAT_SECTION: ['Chat Sections', 'Chat Section'], - CHAT_SECTION_ITEM: ['Chat Section Items', 'Chat Section Item'], + CHAT_SECTION: ['Chat User Sections', 'Chat User Section'], + CHAT_SECTION_ITEM: ['Chat User Section Items', 'Chat User Section Item'], CHAT_SPACE: ['Chat Spaces', 'Chat Space'], CHAT_THREAD: ['Chat Threads', 'Chat Thread'], CHILD_ORGANIZATIONAL_UNIT: ['Child Organizational Units', 'Child Organizational Unit'],