@@ -66,16 +66,66 @@ message Membership {
6666 // assigned this role (other enum values might be used in the future).
6767 MEMBERSHIP_ROLE_UNSPECIFIED = 0 ;
6868
69- // A member of the space. The user has basic permissions, like sending
70- // messages to the space. In 1:1 and unnamed group conversations, everyone
69+ // A member of the space. In the Chat UI, this role is called Member.
70+ //
71+ // The user has basic permissions, like sending
72+ // messages to the space.
73+ // Managers and owners can grant members additional permissions in a space,
74+ // including:
75+ //
76+ // - Add or remove members.
77+ // - Modify space details.
78+ // - Turn history on or off.
79+ // - Mention everyone in the space with `@all`.
80+ // - Manage Chat apps and webhooks installed in the space.
81+ //
82+ // In direct messages and unnamed group conversations, everyone
7183 // has this role.
7284 ROLE_MEMBER = 1 ;
7385
74- // A space manager. The user has all basic permissions plus administrative
75- // permissions that let them manage the space, like adding or removing
76- // members. Only supported in
77- // [SpaceType.SPACE][google.chat.v1.Space.SpaceType].
86+ // A space owner. In the Chat UI, this role is called Owner.
87+ //
88+ // The user has the complete set of space permissions to manage the space,
89+ // including:
90+ //
91+ // - Change the role of other members in the space to member, manager, or
92+ // owner.
93+ // - Delete the space.
94+ //
95+ // Only supported in
96+ // [SpaceType.SPACE][google.chat.v1.Space.SpaceType] (named spaces).
97+ //
98+ // To learn more, see
99+ // [Learn more about your role as a space
100+ // owner or manager](https://support.google.com/chat/answer/11833441).
78101 ROLE_MANAGER = 2 ;
102+
103+ // A space manager. In the Chat UI, this role is called Manager.
104+ //
105+ // The user has all basic permissions of `ROLE_MEMBER`,
106+ // and can be granted a subset of administrative permissions by an owner.
107+ // By default, managers have all the permissions of an owner except for the
108+ // ability to:
109+ //
110+ // - Delete the space.
111+ // - Make another space member an owner.
112+ // - Change an owner's role.
113+ //
114+ // By default, managers permissions include but aren't limited to:
115+ //
116+ // - Make another member a manager.
117+ // - Delete messages in the space.
118+ // - Manage space permissions.
119+ // - Receive notifications for requests to join the space if the manager
120+ // has the "manage members" permission in the space settings.
121+ // - Make a space discoverable.
122+ //
123+ // Only supported in
124+ // [SpaceType.SPACE][google.chat.v1.Space.SpaceType] (named spaces).
125+ //
126+ // To learn more, see
127+ // [Manage space settings](https://support.google.com/chat/answer/13340792).
128+ ROLE_ASSISTANT_MANAGER = 4 ;
79129 }
80130
81131 // Identifier. Resource name of the membership, assigned by the server.
0 commit comments