1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="groupssettings_v1.html">Groups Settings API</a> . <a href="groupssettings_v1.groups.html">groups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#get">get(groupUniqueId)</a></code></p>
82<p class="firstline">Gets one resource by id.</p>
83<p class="toc_element">
84  <code><a href="#patch">patch(groupUniqueId, body=None)</a></code></p>
85<p class="firstline">Updates an existing resource. This method supports patch semantics.</p>
86<p class="toc_element">
87  <code><a href="#update">update(groupUniqueId, body=None)</a></code></p>
88<p class="firstline">Updates an existing resource.</p>
89<h3>Method Details</h3>
90<div class="method">
91    <code class="details" id="close">close()</code>
92  <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
96    <code class="details" id="get">get(groupUniqueId)</code>
97  <pre>Gets one resource by id.
98
99Args:
100  groupUniqueId: string, The group&#x27;s email address. (required)
101
102Returns:
103  An object of the form:
104
105    { # JSON template for Group resource
106  &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
107      # - true: G Suite users external to your organization can become members of this group.
108      # - false: Users not belonging to the organization are not allowed to become members of this group.
109  &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
110      # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
111      # - false: Google can not contact managers of this group.
112  &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
113      # - true: Allows any member to post to the group forum.
114      # - false: Members only use Gmail to communicate with the group.
115  &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
116      # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
117      # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
118      # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
119      # - false: The group is active and can receive messages.
120      # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
121  &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
122  &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
123      # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
124      # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
125  &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
126      # - true
127      # - false
128  &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
129  &quot;default_sender&quot;: &quot;A String&quot;, # Default sender for members who can post messages as the group. Possible values are: - `DEFAULT_SELF`: By default messages will be sent from the user - `GROUP`: By default messages will be sent from the group
130  &quot;description&quot;: &quot;A String&quot;, # Description of the group. This property value may be an empty string if no group description has been entered. If entered, the maximum group description is no more than 300 characters.
131  &quot;email&quot;: &quot;A String&quot;, # The group&#x27;s email address. This property can be updated using the Directory API. Note: Only a group owner can change a group&#x27;s email address. A group manager can&#x27;t do this.
132      # When you change your group&#x27;s address using the Directory API or the control panel, you are changing the address your subscribers use to send email and the web address people use to access your group. People can&#x27;t reach your group by visiting the old address.
133  &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
134      # - true
135      # - false
136  &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
137      # - true: Favorite replies will be displayed above other replies.
138      # - false: Favorite replies will not be displayed above other replies.
139  &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
140      # - true
141      # - false
142  &quot;includeInGlobalAddressList&quot;: &quot;A String&quot;, # Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
143      # - true: Group is included in the Global Address List.
144      # - false: Group is not included in the Global Address List.
145  &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
146      # - true: Archive messages sent to the group.
147      # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
148  &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
149  &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
150  &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
151      # - true: Group member can post messages using the group&#x27;s email address instead of their own email address. Message appear to originate from the group itself. Note: When true, any message moderation settings on individual users or new members do not apply to posts made on behalf of the group.
152      # - false: Members can not post in behalf of the group&#x27;s email address.
153  &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
154  &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
155      # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
156      # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
157      # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
158      # - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
159      # When memberCanPostAsTheGroup is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
160  &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
161  &quot;primaryLanguage&quot;: &quot;A String&quot;, # The primary language for group. For a group&#x27;s primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
162  &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
163      # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
164      # When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds the custom email address used when replying to a message. If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
165      #
166      # - REPLY_TO_SENDER: The reply sent to author of message.
167      # - REPLY_TO_LIST: This reply message is sent to the group.
168      # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
169      # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
170      # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
171  &quot;sendMessageDenyNotification&quot;: &quot;A String&quot;, # Allows a member to be notified if the member&#x27;s message to the group is denied by the group owner. Possible values are:
172      # - true: When a message is rejected, send the deny message notification to the message author.
173      # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
174      #
175      # - false: When a message is rejected, no notification is sent.
176  &quot;showInGroupDirectory&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
177      # - true: All groups in the account are listed in the Groups directory.
178      # - false: All groups in the account are not listed in the directory.
179  &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
180      # - ALLOW: Post the message to the group.
181      # - MODERATE: Send the message to the moderation queue. This is the default.
182      # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
183      # - REJECT: Immediately reject the message.
184  &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
185      # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
186      # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
187      # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
188      # - NONE_CAN_ADD: No one can directly add new members.
189  &quot;whoCanAddReferences&quot;: &quot;A String&quot;, # Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always &quot;NONE&quot;.
190  &quot;whoCanApproveMembers&quot;: &quot;A String&quot;, # Specifies who can approve members who ask to join groups. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
191      # - ALL_MEMBERS_CAN_APPROVE
192      # - ALL_MANAGERS_CAN_APPROVE
193      # - ALL_OWNERS_CAN_APPROVE
194      # - NONE_CAN_APPROVE
195  &quot;whoCanApproveMessages&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
196      # - ALL_MEMBERS
197      # - OWNERS_AND_MANAGERS
198      # - OWNERS_ONLY
199      # - NONE
200  &quot;whoCanAssignTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
201      # - ALL_MEMBERS
202      # - OWNERS_AND_MANAGERS
203      # - MANAGERS_ONLY
204      # - OWNERS_ONLY
205      # - NONE
206  &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
207      # - ALL_MEMBERS
208      # - OWNERS_AND_MANAGERS
209      # - MANAGERS_ONLY
210      # - OWNERS_ONLY
211      # - NONE
212  &quot;whoCanBanUsers&quot;: &quot;A String&quot;, # Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
213      # - ALL_MEMBERS
214      # - OWNERS_AND_MANAGERS
215      # - OWNERS_ONLY
216      # - NONE
217  &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
218      # - ALL_IN_DOMAIN_CAN_CONTACT
219      # - ALL_MANAGERS_CAN_CONTACT
220      # - ALL_MEMBERS_CAN_CONTACT
221      # - ANYONE_CAN_CONTACT
222      # - ALL_OWNERS_CAN_CONTACT
223  &quot;whoCanDeleteAnyPost&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete replies to topics. (Authors can always delete their own posts). Possible values are:
224      # - ALL_MEMBERS
225      # - OWNERS_AND_MANAGERS
226      # - OWNERS_ONLY
227      # - NONE
228  &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
229      # - ALL_MEMBERS
230      # - OWNERS_AND_MANAGERS
231      # - OWNERS_ONLY
232      # - NONE
233  &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
234      # - ANYONE_CAN_DISCOVER
235      # - ALL_IN_DOMAIN_CAN_DISCOVER
236      # - ALL_MEMBERS_CAN_DISCOVER
237  &quot;whoCanEnterFreeFormTags&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
238      # - ALL_MEMBERS
239      # - OWNERS_AND_MANAGERS
240      # - MANAGERS_ONLY
241      # - OWNERS_ONLY
242      # - NONE
243  &quot;whoCanHideAbuse&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
244      # - ALL_MEMBERS
245      # - OWNERS_AND_MANAGERS
246      # - OWNERS_ONLY
247      # - NONE
248  &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
249      # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
250      # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
251      # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
252      # - NONE_CAN_INVITE: No one can invite a new member candidate.
253  &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
254      # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
255      # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users&#x27; groups remain in those groups.
256      # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
257      # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
258  &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
259      # - ALL_MANAGERS_CAN_LEAVE
260      # - ALL_MEMBERS_CAN_LEAVE
261      # - NONE_CAN_LEAVE
262  &quot;whoCanLockTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
263      # - ALL_MEMBERS
264      # - OWNERS_AND_MANAGERS
265      # - OWNERS_ONLY
266      # - NONE
267  &quot;whoCanMakeTopicsSticky&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can make topics appear at the top of the topic list. Possible values are:
268      # - ALL_MEMBERS
269      # - OWNERS_AND_MANAGERS
270      # - OWNERS_ONLY
271      # - NONE
272  &quot;whoCanMarkDuplicate&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
273      # - ALL_MEMBERS
274      # - OWNERS_AND_MANAGERS
275      # - MANAGERS_ONLY
276      # - OWNERS_ONLY
277      # - NONE
278  &quot;whoCanMarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user&#x27;s post as a favorite reply. Possible values are:
279      # - ALL_MEMBERS
280      # - OWNERS_AND_MANAGERS
281      # - MANAGERS_ONLY
282      # - OWNERS_ONLY
283      # - NONE
284  &quot;whoCanMarkFavoriteReplyOnOwnTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a post for a topic they started as a favorite reply. Possible values are:
285      # - ALL_MEMBERS
286      # - OWNERS_AND_MANAGERS
287      # - MANAGERS_ONLY
288      # - OWNERS_ONLY
289      # - NONE
290  &quot;whoCanMarkNoResponseNeeded&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
291      # - ALL_MEMBERS
292      # - OWNERS_AND_MANAGERS
293      # - MANAGERS_ONLY
294      # - OWNERS_ONLY
295      # - NONE
296  &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
297      # - ALL_MEMBERS
298      # - OWNERS_AND_MANAGERS
299      # - OWNERS_ONLY
300      # - NONE
301  &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
302      # - ALL_MEMBERS
303      # - OWNERS_AND_MANAGERS
304      # - OWNERS_ONLY
305      # - NONE
306  &quot;whoCanModifyMembers&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members&#x27; roles. Possible values are:
307      # - ALL_MEMBERS
308      # - OWNERS_AND_MANAGERS
309      # - OWNERS_ONLY
310      # - NONE
311  &quot;whoCanModifyTagsAndCategories&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
312      # - ALL_MEMBERS
313      # - OWNERS_AND_MANAGERS
314      # - MANAGERS_ONLY
315      # - OWNERS_ONLY
316      # - NONE
317  &quot;whoCanMoveTopicsIn&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
318      # - ALL_MEMBERS
319      # - OWNERS_AND_MANAGERS
320      # - OWNERS_ONLY
321      # - NONE
322  &quot;whoCanMoveTopicsOut&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
323      # - ALL_MEMBERS
324      # - OWNERS_AND_MANAGERS
325      # - OWNERS_ONLY
326      # - NONE
327  &quot;whoCanPostAnnouncements&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
328      # - ALL_MEMBERS
329      # - OWNERS_AND_MANAGERS
330      # - OWNERS_ONLY
331      # - NONE
332  &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
333      # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
334      # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
335      # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
336      # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
337      # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
338      # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
339      # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
340      # - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. Note: When whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
341  &quot;whoCanTakeTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
342      # - ALL_MEMBERS
343      # - OWNERS_AND_MANAGERS
344      # - MANAGERS_ONLY
345      # - OWNERS_ONLY
346      # - NONE
347  &quot;whoCanUnassignTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
348      # - ALL_MEMBERS
349      # - OWNERS_AND_MANAGERS
350      # - MANAGERS_ONLY
351      # - OWNERS_ONLY
352      # - NONE
353  &quot;whoCanUnmarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
354      # - ALL_MEMBERS
355      # - OWNERS_AND_MANAGERS
356      # - MANAGERS_ONLY
357      # - OWNERS_ONLY
358      # - NONE
359  &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
360      # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
361      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
362      # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
363      # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
364  &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
365      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
366      # If a group already has external members, those members can still send email to this group.
367      #
368      # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
369      # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
370}</pre>
371</div>
372
373<div class="method">
374    <code class="details" id="patch">patch(groupUniqueId, body=None)</code>
375  <pre>Updates an existing resource. This method supports patch semantics.
376
377Args:
378  groupUniqueId: string, The group&#x27;s email address. (required)
379  body: object, The request body.
380    The object takes the form of:
381
382{ # JSON template for Group resource
383  &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
384      # - true: G Suite users external to your organization can become members of this group.
385      # - false: Users not belonging to the organization are not allowed to become members of this group.
386  &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
387      # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
388      # - false: Google can not contact managers of this group.
389  &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
390      # - true: Allows any member to post to the group forum.
391      # - false: Members only use Gmail to communicate with the group.
392  &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
393      # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
394      # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
395      # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
396      # - false: The group is active and can receive messages.
397      # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
398  &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
399  &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
400      # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
401      # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
402  &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
403      # - true
404      # - false
405  &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
406  &quot;default_sender&quot;: &quot;A String&quot;, # Default sender for members who can post messages as the group. Possible values are: - `DEFAULT_SELF`: By default messages will be sent from the user - `GROUP`: By default messages will be sent from the group
407  &quot;description&quot;: &quot;A String&quot;, # Description of the group. This property value may be an empty string if no group description has been entered. If entered, the maximum group description is no more than 300 characters.
408  &quot;email&quot;: &quot;A String&quot;, # The group&#x27;s email address. This property can be updated using the Directory API. Note: Only a group owner can change a group&#x27;s email address. A group manager can&#x27;t do this.
409      # When you change your group&#x27;s address using the Directory API or the control panel, you are changing the address your subscribers use to send email and the web address people use to access your group. People can&#x27;t reach your group by visiting the old address.
410  &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
411      # - true
412      # - false
413  &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
414      # - true: Favorite replies will be displayed above other replies.
415      # - false: Favorite replies will not be displayed above other replies.
416  &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
417      # - true
418      # - false
419  &quot;includeInGlobalAddressList&quot;: &quot;A String&quot;, # Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
420      # - true: Group is included in the Global Address List.
421      # - false: Group is not included in the Global Address List.
422  &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
423      # - true: Archive messages sent to the group.
424      # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
425  &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
426  &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
427  &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
428      # - true: Group member can post messages using the group&#x27;s email address instead of their own email address. Message appear to originate from the group itself. Note: When true, any message moderation settings on individual users or new members do not apply to posts made on behalf of the group.
429      # - false: Members can not post in behalf of the group&#x27;s email address.
430  &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
431  &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
432      # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
433      # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
434      # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
435      # - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
436      # When memberCanPostAsTheGroup is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
437  &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
438  &quot;primaryLanguage&quot;: &quot;A String&quot;, # The primary language for group. For a group&#x27;s primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
439  &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
440      # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
441      # When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds the custom email address used when replying to a message. If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
442      #
443      # - REPLY_TO_SENDER: The reply sent to author of message.
444      # - REPLY_TO_LIST: This reply message is sent to the group.
445      # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
446      # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
447      # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
448  &quot;sendMessageDenyNotification&quot;: &quot;A String&quot;, # Allows a member to be notified if the member&#x27;s message to the group is denied by the group owner. Possible values are:
449      # - true: When a message is rejected, send the deny message notification to the message author.
450      # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
451      #
452      # - false: When a message is rejected, no notification is sent.
453  &quot;showInGroupDirectory&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
454      # - true: All groups in the account are listed in the Groups directory.
455      # - false: All groups in the account are not listed in the directory.
456  &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
457      # - ALLOW: Post the message to the group.
458      # - MODERATE: Send the message to the moderation queue. This is the default.
459      # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
460      # - REJECT: Immediately reject the message.
461  &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
462      # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
463      # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
464      # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
465      # - NONE_CAN_ADD: No one can directly add new members.
466  &quot;whoCanAddReferences&quot;: &quot;A String&quot;, # Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always &quot;NONE&quot;.
467  &quot;whoCanApproveMembers&quot;: &quot;A String&quot;, # Specifies who can approve members who ask to join groups. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
468      # - ALL_MEMBERS_CAN_APPROVE
469      # - ALL_MANAGERS_CAN_APPROVE
470      # - ALL_OWNERS_CAN_APPROVE
471      # - NONE_CAN_APPROVE
472  &quot;whoCanApproveMessages&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
473      # - ALL_MEMBERS
474      # - OWNERS_AND_MANAGERS
475      # - OWNERS_ONLY
476      # - NONE
477  &quot;whoCanAssignTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
478      # - ALL_MEMBERS
479      # - OWNERS_AND_MANAGERS
480      # - MANAGERS_ONLY
481      # - OWNERS_ONLY
482      # - NONE
483  &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
484      # - ALL_MEMBERS
485      # - OWNERS_AND_MANAGERS
486      # - MANAGERS_ONLY
487      # - OWNERS_ONLY
488      # - NONE
489  &quot;whoCanBanUsers&quot;: &quot;A String&quot;, # Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
490      # - ALL_MEMBERS
491      # - OWNERS_AND_MANAGERS
492      # - OWNERS_ONLY
493      # - NONE
494  &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
495      # - ALL_IN_DOMAIN_CAN_CONTACT
496      # - ALL_MANAGERS_CAN_CONTACT
497      # - ALL_MEMBERS_CAN_CONTACT
498      # - ANYONE_CAN_CONTACT
499      # - ALL_OWNERS_CAN_CONTACT
500  &quot;whoCanDeleteAnyPost&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete replies to topics. (Authors can always delete their own posts). Possible values are:
501      # - ALL_MEMBERS
502      # - OWNERS_AND_MANAGERS
503      # - OWNERS_ONLY
504      # - NONE
505  &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
506      # - ALL_MEMBERS
507      # - OWNERS_AND_MANAGERS
508      # - OWNERS_ONLY
509      # - NONE
510  &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
511      # - ANYONE_CAN_DISCOVER
512      # - ALL_IN_DOMAIN_CAN_DISCOVER
513      # - ALL_MEMBERS_CAN_DISCOVER
514  &quot;whoCanEnterFreeFormTags&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
515      # - ALL_MEMBERS
516      # - OWNERS_AND_MANAGERS
517      # - MANAGERS_ONLY
518      # - OWNERS_ONLY
519      # - NONE
520  &quot;whoCanHideAbuse&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
521      # - ALL_MEMBERS
522      # - OWNERS_AND_MANAGERS
523      # - OWNERS_ONLY
524      # - NONE
525  &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
526      # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
527      # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
528      # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
529      # - NONE_CAN_INVITE: No one can invite a new member candidate.
530  &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
531      # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
532      # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users&#x27; groups remain in those groups.
533      # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
534      # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
535  &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
536      # - ALL_MANAGERS_CAN_LEAVE
537      # - ALL_MEMBERS_CAN_LEAVE
538      # - NONE_CAN_LEAVE
539  &quot;whoCanLockTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
540      # - ALL_MEMBERS
541      # - OWNERS_AND_MANAGERS
542      # - OWNERS_ONLY
543      # - NONE
544  &quot;whoCanMakeTopicsSticky&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can make topics appear at the top of the topic list. Possible values are:
545      # - ALL_MEMBERS
546      # - OWNERS_AND_MANAGERS
547      # - OWNERS_ONLY
548      # - NONE
549  &quot;whoCanMarkDuplicate&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
550      # - ALL_MEMBERS
551      # - OWNERS_AND_MANAGERS
552      # - MANAGERS_ONLY
553      # - OWNERS_ONLY
554      # - NONE
555  &quot;whoCanMarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user&#x27;s post as a favorite reply. Possible values are:
556      # - ALL_MEMBERS
557      # - OWNERS_AND_MANAGERS
558      # - MANAGERS_ONLY
559      # - OWNERS_ONLY
560      # - NONE
561  &quot;whoCanMarkFavoriteReplyOnOwnTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a post for a topic they started as a favorite reply. Possible values are:
562      # - ALL_MEMBERS
563      # - OWNERS_AND_MANAGERS
564      # - MANAGERS_ONLY
565      # - OWNERS_ONLY
566      # - NONE
567  &quot;whoCanMarkNoResponseNeeded&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
568      # - ALL_MEMBERS
569      # - OWNERS_AND_MANAGERS
570      # - MANAGERS_ONLY
571      # - OWNERS_ONLY
572      # - NONE
573  &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
574      # - ALL_MEMBERS
575      # - OWNERS_AND_MANAGERS
576      # - OWNERS_ONLY
577      # - NONE
578  &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
579      # - ALL_MEMBERS
580      # - OWNERS_AND_MANAGERS
581      # - OWNERS_ONLY
582      # - NONE
583  &quot;whoCanModifyMembers&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members&#x27; roles. Possible values are:
584      # - ALL_MEMBERS
585      # - OWNERS_AND_MANAGERS
586      # - OWNERS_ONLY
587      # - NONE
588  &quot;whoCanModifyTagsAndCategories&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
589      # - ALL_MEMBERS
590      # - OWNERS_AND_MANAGERS
591      # - MANAGERS_ONLY
592      # - OWNERS_ONLY
593      # - NONE
594  &quot;whoCanMoveTopicsIn&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
595      # - ALL_MEMBERS
596      # - OWNERS_AND_MANAGERS
597      # - OWNERS_ONLY
598      # - NONE
599  &quot;whoCanMoveTopicsOut&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
600      # - ALL_MEMBERS
601      # - OWNERS_AND_MANAGERS
602      # - OWNERS_ONLY
603      # - NONE
604  &quot;whoCanPostAnnouncements&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
605      # - ALL_MEMBERS
606      # - OWNERS_AND_MANAGERS
607      # - OWNERS_ONLY
608      # - NONE
609  &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
610      # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
611      # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
612      # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
613      # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
614      # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
615      # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
616      # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
617      # - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. Note: When whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
618  &quot;whoCanTakeTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
619      # - ALL_MEMBERS
620      # - OWNERS_AND_MANAGERS
621      # - MANAGERS_ONLY
622      # - OWNERS_ONLY
623      # - NONE
624  &quot;whoCanUnassignTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
625      # - ALL_MEMBERS
626      # - OWNERS_AND_MANAGERS
627      # - MANAGERS_ONLY
628      # - OWNERS_ONLY
629      # - NONE
630  &quot;whoCanUnmarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
631      # - ALL_MEMBERS
632      # - OWNERS_AND_MANAGERS
633      # - MANAGERS_ONLY
634      # - OWNERS_ONLY
635      # - NONE
636  &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
637      # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
638      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
639      # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
640      # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
641  &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
642      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
643      # If a group already has external members, those members can still send email to this group.
644      #
645      # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
646      # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
647}
648
649
650Returns:
651  An object of the form:
652
653    { # JSON template for Group resource
654  &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
655      # - true: G Suite users external to your organization can become members of this group.
656      # - false: Users not belonging to the organization are not allowed to become members of this group.
657  &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
658      # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
659      # - false: Google can not contact managers of this group.
660  &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
661      # - true: Allows any member to post to the group forum.
662      # - false: Members only use Gmail to communicate with the group.
663  &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
664      # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
665      # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
666      # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
667      # - false: The group is active and can receive messages.
668      # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
669  &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
670  &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
671      # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
672      # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
673  &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
674      # - true
675      # - false
676  &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
677  &quot;default_sender&quot;: &quot;A String&quot;, # Default sender for members who can post messages as the group. Possible values are: - `DEFAULT_SELF`: By default messages will be sent from the user - `GROUP`: By default messages will be sent from the group
678  &quot;description&quot;: &quot;A String&quot;, # Description of the group. This property value may be an empty string if no group description has been entered. If entered, the maximum group description is no more than 300 characters.
679  &quot;email&quot;: &quot;A String&quot;, # The group&#x27;s email address. This property can be updated using the Directory API. Note: Only a group owner can change a group&#x27;s email address. A group manager can&#x27;t do this.
680      # When you change your group&#x27;s address using the Directory API or the control panel, you are changing the address your subscribers use to send email and the web address people use to access your group. People can&#x27;t reach your group by visiting the old address.
681  &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
682      # - true
683      # - false
684  &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
685      # - true: Favorite replies will be displayed above other replies.
686      # - false: Favorite replies will not be displayed above other replies.
687  &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
688      # - true
689      # - false
690  &quot;includeInGlobalAddressList&quot;: &quot;A String&quot;, # Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
691      # - true: Group is included in the Global Address List.
692      # - false: Group is not included in the Global Address List.
693  &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
694      # - true: Archive messages sent to the group.
695      # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
696  &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
697  &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
698  &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
699      # - true: Group member can post messages using the group&#x27;s email address instead of their own email address. Message appear to originate from the group itself. Note: When true, any message moderation settings on individual users or new members do not apply to posts made on behalf of the group.
700      # - false: Members can not post in behalf of the group&#x27;s email address.
701  &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
702  &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
703      # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
704      # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
705      # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
706      # - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
707      # When memberCanPostAsTheGroup is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
708  &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
709  &quot;primaryLanguage&quot;: &quot;A String&quot;, # The primary language for group. For a group&#x27;s primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
710  &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
711      # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
712      # When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds the custom email address used when replying to a message. If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
713      #
714      # - REPLY_TO_SENDER: The reply sent to author of message.
715      # - REPLY_TO_LIST: This reply message is sent to the group.
716      # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
717      # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
718      # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
719  &quot;sendMessageDenyNotification&quot;: &quot;A String&quot;, # Allows a member to be notified if the member&#x27;s message to the group is denied by the group owner. Possible values are:
720      # - true: When a message is rejected, send the deny message notification to the message author.
721      # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
722      #
723      # - false: When a message is rejected, no notification is sent.
724  &quot;showInGroupDirectory&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
725      # - true: All groups in the account are listed in the Groups directory.
726      # - false: All groups in the account are not listed in the directory.
727  &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
728      # - ALLOW: Post the message to the group.
729      # - MODERATE: Send the message to the moderation queue. This is the default.
730      # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
731      # - REJECT: Immediately reject the message.
732  &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
733      # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
734      # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
735      # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
736      # - NONE_CAN_ADD: No one can directly add new members.
737  &quot;whoCanAddReferences&quot;: &quot;A String&quot;, # Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always &quot;NONE&quot;.
738  &quot;whoCanApproveMembers&quot;: &quot;A String&quot;, # Specifies who can approve members who ask to join groups. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
739      # - ALL_MEMBERS_CAN_APPROVE
740      # - ALL_MANAGERS_CAN_APPROVE
741      # - ALL_OWNERS_CAN_APPROVE
742      # - NONE_CAN_APPROVE
743  &quot;whoCanApproveMessages&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
744      # - ALL_MEMBERS
745      # - OWNERS_AND_MANAGERS
746      # - OWNERS_ONLY
747      # - NONE
748  &quot;whoCanAssignTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
749      # - ALL_MEMBERS
750      # - OWNERS_AND_MANAGERS
751      # - MANAGERS_ONLY
752      # - OWNERS_ONLY
753      # - NONE
754  &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
755      # - ALL_MEMBERS
756      # - OWNERS_AND_MANAGERS
757      # - MANAGERS_ONLY
758      # - OWNERS_ONLY
759      # - NONE
760  &quot;whoCanBanUsers&quot;: &quot;A String&quot;, # Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
761      # - ALL_MEMBERS
762      # - OWNERS_AND_MANAGERS
763      # - OWNERS_ONLY
764      # - NONE
765  &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
766      # - ALL_IN_DOMAIN_CAN_CONTACT
767      # - ALL_MANAGERS_CAN_CONTACT
768      # - ALL_MEMBERS_CAN_CONTACT
769      # - ANYONE_CAN_CONTACT
770      # - ALL_OWNERS_CAN_CONTACT
771  &quot;whoCanDeleteAnyPost&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete replies to topics. (Authors can always delete their own posts). Possible values are:
772      # - ALL_MEMBERS
773      # - OWNERS_AND_MANAGERS
774      # - OWNERS_ONLY
775      # - NONE
776  &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
777      # - ALL_MEMBERS
778      # - OWNERS_AND_MANAGERS
779      # - OWNERS_ONLY
780      # - NONE
781  &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
782      # - ANYONE_CAN_DISCOVER
783      # - ALL_IN_DOMAIN_CAN_DISCOVER
784      # - ALL_MEMBERS_CAN_DISCOVER
785  &quot;whoCanEnterFreeFormTags&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
786      # - ALL_MEMBERS
787      # - OWNERS_AND_MANAGERS
788      # - MANAGERS_ONLY
789      # - OWNERS_ONLY
790      # - NONE
791  &quot;whoCanHideAbuse&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
792      # - ALL_MEMBERS
793      # - OWNERS_AND_MANAGERS
794      # - OWNERS_ONLY
795      # - NONE
796  &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
797      # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
798      # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
799      # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
800      # - NONE_CAN_INVITE: No one can invite a new member candidate.
801  &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
802      # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
803      # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users&#x27; groups remain in those groups.
804      # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
805      # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
806  &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
807      # - ALL_MANAGERS_CAN_LEAVE
808      # - ALL_MEMBERS_CAN_LEAVE
809      # - NONE_CAN_LEAVE
810  &quot;whoCanLockTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
811      # - ALL_MEMBERS
812      # - OWNERS_AND_MANAGERS
813      # - OWNERS_ONLY
814      # - NONE
815  &quot;whoCanMakeTopicsSticky&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can make topics appear at the top of the topic list. Possible values are:
816      # - ALL_MEMBERS
817      # - OWNERS_AND_MANAGERS
818      # - OWNERS_ONLY
819      # - NONE
820  &quot;whoCanMarkDuplicate&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
821      # - ALL_MEMBERS
822      # - OWNERS_AND_MANAGERS
823      # - MANAGERS_ONLY
824      # - OWNERS_ONLY
825      # - NONE
826  &quot;whoCanMarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user&#x27;s post as a favorite reply. Possible values are:
827      # - ALL_MEMBERS
828      # - OWNERS_AND_MANAGERS
829      # - MANAGERS_ONLY
830      # - OWNERS_ONLY
831      # - NONE
832  &quot;whoCanMarkFavoriteReplyOnOwnTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a post for a topic they started as a favorite reply. Possible values are:
833      # - ALL_MEMBERS
834      # - OWNERS_AND_MANAGERS
835      # - MANAGERS_ONLY
836      # - OWNERS_ONLY
837      # - NONE
838  &quot;whoCanMarkNoResponseNeeded&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
839      # - ALL_MEMBERS
840      # - OWNERS_AND_MANAGERS
841      # - MANAGERS_ONLY
842      # - OWNERS_ONLY
843      # - NONE
844  &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
845      # - ALL_MEMBERS
846      # - OWNERS_AND_MANAGERS
847      # - OWNERS_ONLY
848      # - NONE
849  &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
850      # - ALL_MEMBERS
851      # - OWNERS_AND_MANAGERS
852      # - OWNERS_ONLY
853      # - NONE
854  &quot;whoCanModifyMembers&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members&#x27; roles. Possible values are:
855      # - ALL_MEMBERS
856      # - OWNERS_AND_MANAGERS
857      # - OWNERS_ONLY
858      # - NONE
859  &quot;whoCanModifyTagsAndCategories&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
860      # - ALL_MEMBERS
861      # - OWNERS_AND_MANAGERS
862      # - MANAGERS_ONLY
863      # - OWNERS_ONLY
864      # - NONE
865  &quot;whoCanMoveTopicsIn&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
866      # - ALL_MEMBERS
867      # - OWNERS_AND_MANAGERS
868      # - OWNERS_ONLY
869      # - NONE
870  &quot;whoCanMoveTopicsOut&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
871      # - ALL_MEMBERS
872      # - OWNERS_AND_MANAGERS
873      # - OWNERS_ONLY
874      # - NONE
875  &quot;whoCanPostAnnouncements&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
876      # - ALL_MEMBERS
877      # - OWNERS_AND_MANAGERS
878      # - OWNERS_ONLY
879      # - NONE
880  &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
881      # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
882      # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
883      # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
884      # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
885      # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
886      # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
887      # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
888      # - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. Note: When whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
889  &quot;whoCanTakeTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
890      # - ALL_MEMBERS
891      # - OWNERS_AND_MANAGERS
892      # - MANAGERS_ONLY
893      # - OWNERS_ONLY
894      # - NONE
895  &quot;whoCanUnassignTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
896      # - ALL_MEMBERS
897      # - OWNERS_AND_MANAGERS
898      # - MANAGERS_ONLY
899      # - OWNERS_ONLY
900      # - NONE
901  &quot;whoCanUnmarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
902      # - ALL_MEMBERS
903      # - OWNERS_AND_MANAGERS
904      # - MANAGERS_ONLY
905      # - OWNERS_ONLY
906      # - NONE
907  &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
908      # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
909      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
910      # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
911      # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
912  &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
913      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
914      # If a group already has external members, those members can still send email to this group.
915      #
916      # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
917      # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
918}</pre>
919</div>
920
921<div class="method">
922    <code class="details" id="update">update(groupUniqueId, body=None)</code>
923  <pre>Updates an existing resource.
924
925Args:
926  groupUniqueId: string, The group&#x27;s email address. (required)
927  body: object, The request body.
928    The object takes the form of:
929
930{ # JSON template for Group resource
931  &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
932      # - true: G Suite users external to your organization can become members of this group.
933      # - false: Users not belonging to the organization are not allowed to become members of this group.
934  &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
935      # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
936      # - false: Google can not contact managers of this group.
937  &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
938      # - true: Allows any member to post to the group forum.
939      # - false: Members only use Gmail to communicate with the group.
940  &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
941      # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
942      # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
943      # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
944      # - false: The group is active and can receive messages.
945      # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
946  &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
947  &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
948      # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
949      # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
950  &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
951      # - true
952      # - false
953  &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
954  &quot;default_sender&quot;: &quot;A String&quot;, # Default sender for members who can post messages as the group. Possible values are: - `DEFAULT_SELF`: By default messages will be sent from the user - `GROUP`: By default messages will be sent from the group
955  &quot;description&quot;: &quot;A String&quot;, # Description of the group. This property value may be an empty string if no group description has been entered. If entered, the maximum group description is no more than 300 characters.
956  &quot;email&quot;: &quot;A String&quot;, # The group&#x27;s email address. This property can be updated using the Directory API. Note: Only a group owner can change a group&#x27;s email address. A group manager can&#x27;t do this.
957      # When you change your group&#x27;s address using the Directory API or the control panel, you are changing the address your subscribers use to send email and the web address people use to access your group. People can&#x27;t reach your group by visiting the old address.
958  &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
959      # - true
960      # - false
961  &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
962      # - true: Favorite replies will be displayed above other replies.
963      # - false: Favorite replies will not be displayed above other replies.
964  &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
965      # - true
966      # - false
967  &quot;includeInGlobalAddressList&quot;: &quot;A String&quot;, # Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
968      # - true: Group is included in the Global Address List.
969      # - false: Group is not included in the Global Address List.
970  &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
971      # - true: Archive messages sent to the group.
972      # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
973  &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
974  &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
975  &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
976      # - true: Group member can post messages using the group&#x27;s email address instead of their own email address. Message appear to originate from the group itself. Note: When true, any message moderation settings on individual users or new members do not apply to posts made on behalf of the group.
977      # - false: Members can not post in behalf of the group&#x27;s email address.
978  &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
979  &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
980      # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
981      # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
982      # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
983      # - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
984      # When memberCanPostAsTheGroup is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
985  &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
986  &quot;primaryLanguage&quot;: &quot;A String&quot;, # The primary language for group. For a group&#x27;s primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
987  &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
988      # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
989      # When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds the custom email address used when replying to a message. If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
990      #
991      # - REPLY_TO_SENDER: The reply sent to author of message.
992      # - REPLY_TO_LIST: This reply message is sent to the group.
993      # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
994      # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
995      # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
996  &quot;sendMessageDenyNotification&quot;: &quot;A String&quot;, # Allows a member to be notified if the member&#x27;s message to the group is denied by the group owner. Possible values are:
997      # - true: When a message is rejected, send the deny message notification to the message author.
998      # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
999      #
1000      # - false: When a message is rejected, no notification is sent.
1001  &quot;showInGroupDirectory&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
1002      # - true: All groups in the account are listed in the Groups directory.
1003      # - false: All groups in the account are not listed in the directory.
1004  &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
1005      # - ALLOW: Post the message to the group.
1006      # - MODERATE: Send the message to the moderation queue. This is the default.
1007      # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1008      # - REJECT: Immediately reject the message.
1009  &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1010      # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1011      # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1012      # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1013      # - NONE_CAN_ADD: No one can directly add new members.
1014  &quot;whoCanAddReferences&quot;: &quot;A String&quot;, # Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always &quot;NONE&quot;.
1015  &quot;whoCanApproveMembers&quot;: &quot;A String&quot;, # Specifies who can approve members who ask to join groups. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
1016      # - ALL_MEMBERS_CAN_APPROVE
1017      # - ALL_MANAGERS_CAN_APPROVE
1018      # - ALL_OWNERS_CAN_APPROVE
1019      # - NONE_CAN_APPROVE
1020  &quot;whoCanApproveMessages&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
1021      # - ALL_MEMBERS
1022      # - OWNERS_AND_MANAGERS
1023      # - OWNERS_ONLY
1024      # - NONE
1025  &quot;whoCanAssignTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
1026      # - ALL_MEMBERS
1027      # - OWNERS_AND_MANAGERS
1028      # - MANAGERS_ONLY
1029      # - OWNERS_ONLY
1030      # - NONE
1031  &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
1032      # - ALL_MEMBERS
1033      # - OWNERS_AND_MANAGERS
1034      # - MANAGERS_ONLY
1035      # - OWNERS_ONLY
1036      # - NONE
1037  &quot;whoCanBanUsers&quot;: &quot;A String&quot;, # Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
1038      # - ALL_MEMBERS
1039      # - OWNERS_AND_MANAGERS
1040      # - OWNERS_ONLY
1041      # - NONE
1042  &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
1043      # - ALL_IN_DOMAIN_CAN_CONTACT
1044      # - ALL_MANAGERS_CAN_CONTACT
1045      # - ALL_MEMBERS_CAN_CONTACT
1046      # - ANYONE_CAN_CONTACT
1047      # - ALL_OWNERS_CAN_CONTACT
1048  &quot;whoCanDeleteAnyPost&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete replies to topics. (Authors can always delete their own posts). Possible values are:
1049      # - ALL_MEMBERS
1050      # - OWNERS_AND_MANAGERS
1051      # - OWNERS_ONLY
1052      # - NONE
1053  &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
1054      # - ALL_MEMBERS
1055      # - OWNERS_AND_MANAGERS
1056      # - OWNERS_ONLY
1057      # - NONE
1058  &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1059      # - ANYONE_CAN_DISCOVER
1060      # - ALL_IN_DOMAIN_CAN_DISCOVER
1061      # - ALL_MEMBERS_CAN_DISCOVER
1062  &quot;whoCanEnterFreeFormTags&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
1063      # - ALL_MEMBERS
1064      # - OWNERS_AND_MANAGERS
1065      # - MANAGERS_ONLY
1066      # - OWNERS_ONLY
1067      # - NONE
1068  &quot;whoCanHideAbuse&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
1069      # - ALL_MEMBERS
1070      # - OWNERS_AND_MANAGERS
1071      # - OWNERS_ONLY
1072      # - NONE
1073  &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1074      # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1075      # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1076      # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1077      # - NONE_CAN_INVITE: No one can invite a new member candidate.
1078  &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
1079      # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
1080      # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users&#x27; groups remain in those groups.
1081      # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
1082      # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
1083  &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
1084      # - ALL_MANAGERS_CAN_LEAVE
1085      # - ALL_MEMBERS_CAN_LEAVE
1086      # - NONE_CAN_LEAVE
1087  &quot;whoCanLockTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
1088      # - ALL_MEMBERS
1089      # - OWNERS_AND_MANAGERS
1090      # - OWNERS_ONLY
1091      # - NONE
1092  &quot;whoCanMakeTopicsSticky&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can make topics appear at the top of the topic list. Possible values are:
1093      # - ALL_MEMBERS
1094      # - OWNERS_AND_MANAGERS
1095      # - OWNERS_ONLY
1096      # - NONE
1097  &quot;whoCanMarkDuplicate&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
1098      # - ALL_MEMBERS
1099      # - OWNERS_AND_MANAGERS
1100      # - MANAGERS_ONLY
1101      # - OWNERS_ONLY
1102      # - NONE
1103  &quot;whoCanMarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user&#x27;s post as a favorite reply. Possible values are:
1104      # - ALL_MEMBERS
1105      # - OWNERS_AND_MANAGERS
1106      # - MANAGERS_ONLY
1107      # - OWNERS_ONLY
1108      # - NONE
1109  &quot;whoCanMarkFavoriteReplyOnOwnTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a post for a topic they started as a favorite reply. Possible values are:
1110      # - ALL_MEMBERS
1111      # - OWNERS_AND_MANAGERS
1112      # - MANAGERS_ONLY
1113      # - OWNERS_ONLY
1114      # - NONE
1115  &quot;whoCanMarkNoResponseNeeded&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
1116      # - ALL_MEMBERS
1117      # - OWNERS_AND_MANAGERS
1118      # - MANAGERS_ONLY
1119      # - OWNERS_ONLY
1120      # - NONE
1121  &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
1122      # - ALL_MEMBERS
1123      # - OWNERS_AND_MANAGERS
1124      # - OWNERS_ONLY
1125      # - NONE
1126  &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
1127      # - ALL_MEMBERS
1128      # - OWNERS_AND_MANAGERS
1129      # - OWNERS_ONLY
1130      # - NONE
1131  &quot;whoCanModifyMembers&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members&#x27; roles. Possible values are:
1132      # - ALL_MEMBERS
1133      # - OWNERS_AND_MANAGERS
1134      # - OWNERS_ONLY
1135      # - NONE
1136  &quot;whoCanModifyTagsAndCategories&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
1137      # - ALL_MEMBERS
1138      # - OWNERS_AND_MANAGERS
1139      # - MANAGERS_ONLY
1140      # - OWNERS_ONLY
1141      # - NONE
1142  &quot;whoCanMoveTopicsIn&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
1143      # - ALL_MEMBERS
1144      # - OWNERS_AND_MANAGERS
1145      # - OWNERS_ONLY
1146      # - NONE
1147  &quot;whoCanMoveTopicsOut&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
1148      # - ALL_MEMBERS
1149      # - OWNERS_AND_MANAGERS
1150      # - OWNERS_ONLY
1151      # - NONE
1152  &quot;whoCanPostAnnouncements&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
1153      # - ALL_MEMBERS
1154      # - OWNERS_AND_MANAGERS
1155      # - OWNERS_ONLY
1156      # - NONE
1157  &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1158      # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1159      # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1160      # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1161      # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1162      # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1163      # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1164      # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1165      # - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. Note: When whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
1166  &quot;whoCanTakeTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
1167      # - ALL_MEMBERS
1168      # - OWNERS_AND_MANAGERS
1169      # - MANAGERS_ONLY
1170      # - OWNERS_ONLY
1171      # - NONE
1172  &quot;whoCanUnassignTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
1173      # - ALL_MEMBERS
1174      # - OWNERS_AND_MANAGERS
1175      # - MANAGERS_ONLY
1176      # - OWNERS_ONLY
1177      # - NONE
1178  &quot;whoCanUnmarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
1179      # - ALL_MEMBERS
1180      # - OWNERS_AND_MANAGERS
1181      # - MANAGERS_ONLY
1182      # - OWNERS_ONLY
1183      # - NONE
1184  &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
1185      # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
1186      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
1187      # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
1188      # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
1189  &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
1190      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1191      # If a group already has external members, those members can still send email to this group.
1192      #
1193      # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1194      # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
1195}
1196
1197
1198Returns:
1199  An object of the form:
1200
1201    { # JSON template for Group resource
1202  &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
1203      # - true: G Suite users external to your organization can become members of this group.
1204      # - false: Users not belonging to the organization are not allowed to become members of this group.
1205  &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
1206      # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
1207      # - false: Google can not contact managers of this group.
1208  &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
1209      # - true: Allows any member to post to the group forum.
1210      # - false: Members only use Gmail to communicate with the group.
1211  &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
1212      # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
1213      # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
1214      # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1215      # - false: The group is active and can receive messages.
1216      # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1217  &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
1218  &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
1219      # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
1220      # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
1221  &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
1222      # - true
1223      # - false
1224  &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
1225  &quot;default_sender&quot;: &quot;A String&quot;, # Default sender for members who can post messages as the group. Possible values are: - `DEFAULT_SELF`: By default messages will be sent from the user - `GROUP`: By default messages will be sent from the group
1226  &quot;description&quot;: &quot;A String&quot;, # Description of the group. This property value may be an empty string if no group description has been entered. If entered, the maximum group description is no more than 300 characters.
1227  &quot;email&quot;: &quot;A String&quot;, # The group&#x27;s email address. This property can be updated using the Directory API. Note: Only a group owner can change a group&#x27;s email address. A group manager can&#x27;t do this.
1228      # When you change your group&#x27;s address using the Directory API or the control panel, you are changing the address your subscribers use to send email and the web address people use to access your group. People can&#x27;t reach your group by visiting the old address.
1229  &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
1230      # - true
1231      # - false
1232  &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
1233      # - true: Favorite replies will be displayed above other replies.
1234      # - false: Favorite replies will not be displayed above other replies.
1235  &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
1236      # - true
1237      # - false
1238  &quot;includeInGlobalAddressList&quot;: &quot;A String&quot;, # Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
1239      # - true: Group is included in the Global Address List.
1240      # - false: Group is not included in the Global Address List.
1241  &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
1242      # - true: Archive messages sent to the group.
1243      # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
1244  &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
1245  &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
1246  &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
1247      # - true: Group member can post messages using the group&#x27;s email address instead of their own email address. Message appear to originate from the group itself. Note: When true, any message moderation settings on individual users or new members do not apply to posts made on behalf of the group.
1248      # - false: Members can not post in behalf of the group&#x27;s email address.
1249  &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
1250  &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
1251      # - MODERATE_ALL_MESSAGES: All messages are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
1252      # - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
1253      # - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner&#x27;s email address for approval. If approved, the message is sent to the group.
1254      # - MODERATE_NONE: No moderator approval is required. Messages are delivered directly to the group. Note: When the whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
1255      # When memberCanPostAsTheGroup is true, any message moderation settings on individual users or new members will not apply to posts made on behalf of the group.
1256  &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
1257  &quot;primaryLanguage&quot;: &quot;A String&quot;, # The primary language for group. For a group&#x27;s primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
1258  &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
1259      # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
1260      # When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds the custom email address used when replying to a message. If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
1261      #
1262      # - REPLY_TO_SENDER: The reply sent to author of message.
1263      # - REPLY_TO_LIST: This reply message is sent to the group.
1264      # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
1265      # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
1266      # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
1267  &quot;sendMessageDenyNotification&quot;: &quot;A String&quot;, # Allows a member to be notified if the member&#x27;s message to the group is denied by the group owner. Possible values are:
1268      # - true: When a message is rejected, send the deny message notification to the message author.
1269      # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
1270      #
1271      # - false: When a message is rejected, no notification is sent.
1272  &quot;showInGroupDirectory&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
1273      # - true: All groups in the account are listed in the Groups directory.
1274      # - false: All groups in the account are not listed in the directory.
1275  &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
1276      # - ALLOW: Post the message to the group.
1277      # - MODERATE: Send the message to the moderation queue. This is the default.
1278      # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1279      # - REJECT: Immediately reject the message.
1280  &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1281      # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1282      # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1283      # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1284      # - NONE_CAN_ADD: No one can directly add new members.
1285  &quot;whoCanAddReferences&quot;: &quot;A String&quot;, # Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always &quot;NONE&quot;.
1286  &quot;whoCanApproveMembers&quot;: &quot;A String&quot;, # Specifies who can approve members who ask to join groups. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
1287      # - ALL_MEMBERS_CAN_APPROVE
1288      # - ALL_MANAGERS_CAN_APPROVE
1289      # - ALL_OWNERS_CAN_APPROVE
1290      # - NONE_CAN_APPROVE
1291  &quot;whoCanApproveMessages&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
1292      # - ALL_MEMBERS
1293      # - OWNERS_AND_MANAGERS
1294      # - OWNERS_ONLY
1295      # - NONE
1296  &quot;whoCanAssignTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
1297      # - ALL_MEMBERS
1298      # - OWNERS_AND_MANAGERS
1299      # - MANAGERS_ONLY
1300      # - OWNERS_ONLY
1301      # - NONE
1302  &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
1303      # - ALL_MEMBERS
1304      # - OWNERS_AND_MANAGERS
1305      # - MANAGERS_ONLY
1306      # - OWNERS_ONLY
1307      # - NONE
1308  &quot;whoCanBanUsers&quot;: &quot;A String&quot;, # Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
1309      # - ALL_MEMBERS
1310      # - OWNERS_AND_MANAGERS
1311      # - OWNERS_ONLY
1312      # - NONE
1313  &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
1314      # - ALL_IN_DOMAIN_CAN_CONTACT
1315      # - ALL_MANAGERS_CAN_CONTACT
1316      # - ALL_MEMBERS_CAN_CONTACT
1317      # - ANYONE_CAN_CONTACT
1318      # - ALL_OWNERS_CAN_CONTACT
1319  &quot;whoCanDeleteAnyPost&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete replies to topics. (Authors can always delete their own posts). Possible values are:
1320      # - ALL_MEMBERS
1321      # - OWNERS_AND_MANAGERS
1322      # - OWNERS_ONLY
1323      # - NONE
1324  &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
1325      # - ALL_MEMBERS
1326      # - OWNERS_AND_MANAGERS
1327      # - OWNERS_ONLY
1328      # - NONE
1329  &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1330      # - ANYONE_CAN_DISCOVER
1331      # - ALL_IN_DOMAIN_CAN_DISCOVER
1332      # - ALL_MEMBERS_CAN_DISCOVER
1333  &quot;whoCanEnterFreeFormTags&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
1334      # - ALL_MEMBERS
1335      # - OWNERS_AND_MANAGERS
1336      # - MANAGERS_ONLY
1337      # - OWNERS_ONLY
1338      # - NONE
1339  &quot;whoCanHideAbuse&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
1340      # - ALL_MEMBERS
1341      # - OWNERS_AND_MANAGERS
1342      # - OWNERS_ONLY
1343      # - NONE
1344  &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1345      # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1346      # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1347      # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1348      # - NONE_CAN_INVITE: No one can invite a new member candidate.
1349  &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
1350      # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
1351      # - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can access your Google Groups service and view the list of groups in your Groups directory. Warning: Group owners can add external addresses, outside of the domain to their groups. They can also allow people outside your domain to join their groups. If you later disable this option, any external addresses already added to users&#x27; groups remain in those groups.
1352      # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
1353      # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
1354  &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
1355      # - ALL_MANAGERS_CAN_LEAVE
1356      # - ALL_MEMBERS_CAN_LEAVE
1357      # - NONE_CAN_LEAVE
1358  &quot;whoCanLockTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
1359      # - ALL_MEMBERS
1360      # - OWNERS_AND_MANAGERS
1361      # - OWNERS_ONLY
1362      # - NONE
1363  &quot;whoCanMakeTopicsSticky&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can make topics appear at the top of the topic list. Possible values are:
1364      # - ALL_MEMBERS
1365      # - OWNERS_AND_MANAGERS
1366      # - OWNERS_ONLY
1367      # - NONE
1368  &quot;whoCanMarkDuplicate&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
1369      # - ALL_MEMBERS
1370      # - OWNERS_AND_MANAGERS
1371      # - MANAGERS_ONLY
1372      # - OWNERS_ONLY
1373      # - NONE
1374  &quot;whoCanMarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user&#x27;s post as a favorite reply. Possible values are:
1375      # - ALL_MEMBERS
1376      # - OWNERS_AND_MANAGERS
1377      # - MANAGERS_ONLY
1378      # - OWNERS_ONLY
1379      # - NONE
1380  &quot;whoCanMarkFavoriteReplyOnOwnTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a post for a topic they started as a favorite reply. Possible values are:
1381      # - ALL_MEMBERS
1382      # - OWNERS_AND_MANAGERS
1383      # - MANAGERS_ONLY
1384      # - OWNERS_ONLY
1385      # - NONE
1386  &quot;whoCanMarkNoResponseNeeded&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
1387      # - ALL_MEMBERS
1388      # - OWNERS_AND_MANAGERS
1389      # - MANAGERS_ONLY
1390      # - OWNERS_ONLY
1391      # - NONE
1392  &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
1393      # - ALL_MEMBERS
1394      # - OWNERS_AND_MANAGERS
1395      # - OWNERS_ONLY
1396      # - NONE
1397  &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
1398      # - ALL_MEMBERS
1399      # - OWNERS_AND_MANAGERS
1400      # - OWNERS_ONLY
1401      # - NONE
1402  &quot;whoCanModifyMembers&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members&#x27; roles. Possible values are:
1403      # - ALL_MEMBERS
1404      # - OWNERS_AND_MANAGERS
1405      # - OWNERS_ONLY
1406      # - NONE
1407  &quot;whoCanModifyTagsAndCategories&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
1408      # - ALL_MEMBERS
1409      # - OWNERS_AND_MANAGERS
1410      # - MANAGERS_ONLY
1411      # - OWNERS_ONLY
1412      # - NONE
1413  &quot;whoCanMoveTopicsIn&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
1414      # - ALL_MEMBERS
1415      # - OWNERS_AND_MANAGERS
1416      # - OWNERS_ONLY
1417      # - NONE
1418  &quot;whoCanMoveTopicsOut&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
1419      # - ALL_MEMBERS
1420      # - OWNERS_AND_MANAGERS
1421      # - OWNERS_ONLY
1422      # - NONE
1423  &quot;whoCanPostAnnouncements&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
1424      # - ALL_MEMBERS
1425      # - OWNERS_AND_MANAGERS
1426      # - OWNERS_ONLY
1427      # - NONE
1428  &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1429      # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1430      # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1431      # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1432      # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1433      # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1434      # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1435      # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1436      # - ANYONE_CAN_POST: Any Internet user who outside your account can access your Google Groups service and post a message. Note: When whoCanPostMessage is set to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to MODERATE_NON_MEMBERS to protect the group from possible spam.
1437  &quot;whoCanTakeTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
1438      # - ALL_MEMBERS
1439      # - OWNERS_AND_MANAGERS
1440      # - MANAGERS_ONLY
1441      # - OWNERS_ONLY
1442      # - NONE
1443  &quot;whoCanUnassignTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
1444      # - ALL_MEMBERS
1445      # - OWNERS_AND_MANAGERS
1446      # - MANAGERS_ONLY
1447      # - OWNERS_ONLY
1448      # - NONE
1449  &quot;whoCanUnmarkFavoriteReplyOnAnyTopic&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
1450      # - ALL_MEMBERS
1451      # - OWNERS_AND_MANAGERS
1452      # - MANAGERS_ONLY
1453      # - OWNERS_ONLY
1454      # - NONE
1455  &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
1456      # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
1457      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
1458      # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
1459      # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
1460  &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
1461      # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1462      # If a group already has external members, those members can still send email to this group.
1463      #
1464      # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1465      # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
1466}</pre>
1467</div>
1468
1469</body></html>