Group Access Type

380 views
Skip to first unread message

Luke

unread,
Feb 10, 2023, 8:24:34 AM2/10/23
to GAM for Google Workspace
Hey,

Is there a syntax to change a group access type to Restricted?

Most groups in our Org have custom settings and it's a bit of a mess so we want to make them all have the restricted access type.

Screenshot 2023-02-10 at 13.05.27.png
Thanks

Ross Scroggs

unread,
Feb 10, 2023, 12:05:04 PM2/10/23
to google-ap...@googlegroups.com
Luke,

Here are the mappings between access types and group settings:

Public

  whoCanJoin: ALL_IN_DOMAIN_CAN_JOIN

  whoCanPostMessage: ALL_IN_DOMAIN_CAN_POST

  whoCanViewGroup: ALL_IN_DOMAIN_CAN_VIEW

  whoCanViewMembership: ALL_IN_DOMAIN_CAN_VIEW


Team

  whoCanJoin: CAN_REQUEST_TO_JOIN

  whoCanPostMessage: ALL_IN_DOMAIN_CAN_POST

  whoCanViewGroup: ALL_IN_DOMAIN_CAN_VIEW

  whoCanViewMembership: ALL_IN_DOMAIN_CAN_VIEW


Announcement Only

  whoCanJoin: ALL_IN_DOMAIN_CAN_JOIN

  whoCanPostMessage: ALL_MANAGERS_CAN_POST

  whoCanViewGroup: ALL_IN_DOMAIN_CAN_VIEW

  whoCanViewMembership: ALL_MANAGERS_CAN_VIEW


Restricted

  whoCanJoin: CAN_REQUEST_TO_JOIN

  whoCanPostMessage: ALL_MEMBERS_CAN_POST

  whoCanViewGroup: ALL_MEMBERS_CAN_VIEW

  whoCanViewMembership: ALL_MEMBERS_CAN_VIEW


Ross


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/cb69ddbe-fbd0-4e8d-8edb-a076121c4f79n%40googlegroups.com.


--

Luke

unread,
Feb 13, 2023, 5:16:44 AM2/13/23
to GAM for Google Workspace
Thanks Ross

Would this command work to update groups?

gam csv groupsupdate.csv gam update group “~Email” whoCanJoin: CAN_REQUEST_TO_JOIN whoCanPostMessage: ALL_MEMBERS_CAN_POST whoCanViewGroup: ALL_MEMBERS_CAN_VIEW whoCanViewMembership: ALL_MEMBERS_CAN_VIEW


Ross Scroggs

unread,
Feb 13, 2023, 9:36:02 AM2/13/23
to google-ap...@googlegroups.com
Luke,

Omit the colons (:) and you're good to go.

Ross
----
Ross Scroggs



Reply all
Reply to author
Forward
0 new messages