blob: 0242f22daf44fdf64da000772f0ca701c6f63bc1 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#get">get(groupUniqueId)</a></code></p>
82<p class="firstline">Gets one resource by id.</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#patch">patch(groupUniqueId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Updates an existing resource. This method supports patch semantics.</p>
86<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#update">update(groupUniqueId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Updates an existing resource.</p>
89<h3>Method Details</h3>
90<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
John Asmuth614db982014-04-24 15:46:26 -040096 <code class="details" id="get">get(groupUniqueId)</code>
97 <pre>Gets one resource by id.
98
99Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700100 groupUniqueId: string, The group&#x27;s email address. (required)
John Asmuth614db982014-04-24 15:46:26 -0400101
102Returns:
103 An object of the form:
104
105 { # JSON template for Group resource
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800106 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
107 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
108 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
109 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
110 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
111 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
112 # - ALL_MANAGERS_CAN_LEAVE
113 # - ALL_MEMBERS_CAN_LEAVE
114 # - NONE_CAN_LEAVE
115 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
116 # - true: Favorite replies will be displayed above other replies.
117 # - false: Favorite replies will not be displayed above other replies.
118 &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.
119 # 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.
120 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
121 # - true
122 # - false
123 &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:
124 # - ALL_MEMBERS
125 # - OWNERS_AND_MANAGERS
126 # - OWNERS_ONLY
127 # - NONE
128 &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:
129 # - ALL_MEMBERS
130 # - OWNERS_AND_MANAGERS
131 # - MANAGERS_ONLY
132 # - OWNERS_ONLY
133 # - NONE
134 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
135 # - ALL_IN_DOMAIN_CAN_CONTACT
136 # - ALL_MANAGERS_CAN_CONTACT
137 # - ALL_MEMBERS_CAN_CONTACT
138 # - ANYONE_CAN_CONTACT
139 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
140 # - ALL_MEMBERS
141 # - OWNERS_AND_MANAGERS
142 # - OWNERS_ONLY
143 # - NONE
144 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
145 &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:
146 # - ALL_MEMBERS
147 # - OWNERS_AND_MANAGERS
148 # - OWNERS_ONLY
149 # - NONE
150 &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:
151 # - ALL_MEMBERS
152 # - OWNERS_AND_MANAGERS
153 # - MANAGERS_ONLY
154 # - OWNERS_ONLY
155 # - NONE
156 &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:
157 # - true: Group is included in the Global Address List.
158 # - false: Group is not included in the Global Address List.
159 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
160 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
161 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
162 # - 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.
163 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
164 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
165 &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.
166 &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.
167 &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:
168 # - ALL_MEMBERS
169 # - OWNERS_AND_MANAGERS
170 # - MANAGERS_ONLY
171 # - OWNERS_ONLY
172 # - NONE
173 &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:
174 # - ALL_MEMBERS
175 # - OWNERS_AND_MANAGERS
176 # - MANAGERS_ONLY
177 # - OWNERS_ONLY
178 # - NONE
179 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
180 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
181 # If a group already has external members, those members can still send email to this group.
182 #
183 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
184 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
185 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
186 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
187 # - 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.
188 # - false: Members can not post in behalf of the group&#x27;s email address.
189 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
190 # - ANYONE_CAN_DISCOVER
191 # - ALL_IN_DOMAIN_CAN_DISCOVER
192 # - ALL_MEMBERS_CAN_DISCOVER
193 &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.
194 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
195 # - 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.
196 # - 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.
197 # - 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.
198 # - 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.
199 # 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.
200 &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:
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;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:
213 # - ALL_MEMBERS
214 # - OWNERS_AND_MANAGERS
215 # - MANAGERS_ONLY
216 # - OWNERS_ONLY
217 # - NONE
218 &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:
219 # - ALL_MEMBERS
220 # - OWNERS_AND_MANAGERS
221 # - OWNERS_ONLY
222 # - NONE
223 &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:
224 # - ALL_MEMBERS
225 # - OWNERS_AND_MANAGERS
226 # - MANAGERS_ONLY
227 # - OWNERS_ONLY
228 # - NONE
229 &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:
230 # - ALL_MEMBERS
231 # - OWNERS_AND_MANAGERS
232 # - OWNERS_ONLY
233 # - NONE
234 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
235 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
236 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
237 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
238 # - false: The group is active and can receive messages.
239 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
240 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
241 &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:
242 # - ALL_MEMBERS
243 # - OWNERS_AND_MANAGERS
244 # - OWNERS_ONLY
245 # - NONE
246 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
247 # - true
248 # - false
249 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
250 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
251 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
252 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
253 # - NONE_CAN_INVITE: No one can invite a new member candidate.
254 &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;.
255 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
256 # - true: G Suite users external to your organization can become members of this group.
257 # - false: Users not belonging to the organization are not allowed to become members of this group.
258 &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:
259 # - ALL_MEMBERS_CAN_APPROVE
260 # - ALL_MANAGERS_CAN_APPROVE
261 # - ALL_OWNERS_CAN_APPROVE
262 # - NONE_CAN_APPROVE
263 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
264 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
265 # 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.
266 #
267 # - REPLY_TO_SENDER: The reply sent to author of message.
268 # - REPLY_TO_LIST: This reply message is sent to the group.
269 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
270 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
271 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
272 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
273 # - ALLOW: Post the message to the group.
274 # - MODERATE: Send the message to the moderation queue. This is the default.
275 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
276 # - REJECT: Immediately reject the message.
277 &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.
278 # - 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.
279 # - 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.
280 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
281 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
282 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
283 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
284 # - NONE_CAN_ADD: No one can directly add new members.
285 &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:
286 # - true: When a message is rejected, send the deny message notification to the message author.
287 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
288 #
289 # - false: When a message is rejected, no notification is sent.
290 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
291 # - true: Allows any member to post to the group forum.
292 # - false: Members only use Gmail to communicate with the group.
293 &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:
294 # - ALL_MEMBERS
295 # - OWNERS_AND_MANAGERS
296 # - OWNERS_ONLY
297 # - NONE
298 &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:
299 # - ALL_MEMBERS
300 # - OWNERS_AND_MANAGERS
301 # - OWNERS_ONLY
302 # - NONE
303 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
304 # - 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.
305 # - false: Google can not contact managers of this group.
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;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
312 # - ALL_MEMBERS
313 # - OWNERS_AND_MANAGERS
314 # - OWNERS_ONLY
315 # - NONE
316 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
317 # - true: Archive messages sent to the group.
318 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
319 &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:
320 # - ALL_MEMBERS
321 # - OWNERS_AND_MANAGERS
322 # - OWNERS_ONLY
323 # - NONE
324 &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:
325 # - true: All groups in the account are listed in the Groups directory.
326 # - false: All groups in the account are not listed in the directory.
327 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
328 &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:
329 # - true
330 # - false
331 &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:
332 # - ALL_MEMBERS
333 # - OWNERS_AND_MANAGERS
334 # - OWNERS_ONLY
335 # - NONE
336 &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:
337 # - ALL_MEMBERS
338 # - OWNERS_AND_MANAGERS
339 # - MANAGERS_ONLY
340 # - OWNERS_ONLY
341 # - NONE
342 &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:
343 # - ALL_MEMBERS
344 # - OWNERS_AND_MANAGERS
345 # - MANAGERS_ONLY
346 # - OWNERS_ONLY
347 # - NONE
348 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
349 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
350 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
351 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
352 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
353 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
354 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
355 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
356 # - 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.
357 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
358 # - ALL_MEMBERS
359 # - OWNERS_AND_MANAGERS
360 # - OWNERS_ONLY
361 # - NONE
362 &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:
363 # - ALL_MEMBERS
364 # - OWNERS_AND_MANAGERS
365 # - MANAGERS_ONLY
366 # - OWNERS_ONLY
367 # - NONE
368 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400369</div>
370
371<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700372 <code class="details" id="patch">patch(groupUniqueId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400373 <pre>Updates an existing resource. This method supports patch semantics.
374
375Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700376 groupUniqueId: string, The group&#x27;s email address. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700377 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400378 The object takes the form of:
379
380{ # JSON template for Group resource
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800381 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
382 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
383 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
384 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
385 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
386 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
387 # - ALL_MANAGERS_CAN_LEAVE
388 # - ALL_MEMBERS_CAN_LEAVE
389 # - NONE_CAN_LEAVE
390 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
391 # - true: Favorite replies will be displayed above other replies.
392 # - false: Favorite replies will not be displayed above other replies.
393 &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.
394 # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700395 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
396 # - true
397 # - false
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800398 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700399 # - ALL_MEMBERS
400 # - OWNERS_AND_MANAGERS
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700401 # - OWNERS_ONLY
402 # - NONE
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700403 &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:
404 # - ALL_MEMBERS
405 # - OWNERS_AND_MANAGERS
406 # - MANAGERS_ONLY
407 # - OWNERS_ONLY
408 # - NONE
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700409 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
410 # - ALL_IN_DOMAIN_CAN_CONTACT
411 # - ALL_MANAGERS_CAN_CONTACT
412 # - ALL_MEMBERS_CAN_CONTACT
413 # - ANYONE_CAN_CONTACT
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800414 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700415 # - ALL_MEMBERS
416 # - OWNERS_AND_MANAGERS
417 # - OWNERS_ONLY
418 # - NONE
419 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800420 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700421 # - ALL_MEMBERS
422 # - OWNERS_AND_MANAGERS
423 # - OWNERS_ONLY
424 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800425 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700426 # - ALL_MEMBERS
427 # - OWNERS_AND_MANAGERS
428 # - MANAGERS_ONLY
429 # - OWNERS_ONLY
430 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800431 &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:
432 # - true: Group is included in the Global Address List.
433 # - false: Group is not included in the Global Address List.
434 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
435 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
436 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
437 # - 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.
438 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
439 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
440 &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.
441 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &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:
443 # - ALL_MEMBERS
444 # - OWNERS_AND_MANAGERS
445 # - MANAGERS_ONLY
446 # - OWNERS_ONLY
447 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800448 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700449 # - ALL_MEMBERS
450 # - OWNERS_AND_MANAGERS
451 # - MANAGERS_ONLY
452 # - OWNERS_ONLY
453 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800454 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
455 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
456 # If a group already has external members, those members can still send email to this group.
457 #
458 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
459 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
460 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
461 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
462 # - 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.
463 # - false: Members can not post in behalf of the group&#x27;s email address.
464 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
465 # - ANYONE_CAN_DISCOVER
466 # - ALL_IN_DOMAIN_CAN_DISCOVER
467 # - ALL_MEMBERS_CAN_DISCOVER
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700468 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800469 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
470 # - 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.
471 # - 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.
472 # - 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.
473 # - 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.
474 # 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.
475 &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:
476 # - ALL_MEMBERS
477 # - OWNERS_AND_MANAGERS
478 # - MANAGERS_ONLY
479 # - OWNERS_ONLY
480 # - NONE
481 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
482 # - ALL_MEMBERS
483 # - OWNERS_AND_MANAGERS
484 # - MANAGERS_ONLY
485 # - OWNERS_ONLY
486 # - NONE
487 &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:
488 # - ALL_MEMBERS
489 # - OWNERS_AND_MANAGERS
490 # - MANAGERS_ONLY
491 # - OWNERS_ONLY
492 # - NONE
493 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700494 # - ALL_MEMBERS
495 # - OWNERS_AND_MANAGERS
496 # - OWNERS_ONLY
497 # - NONE
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700498 &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:
499 # - ALL_MEMBERS
500 # - OWNERS_AND_MANAGERS
501 # - MANAGERS_ONLY
502 # - OWNERS_ONLY
503 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800504 &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:
505 # - ALL_MEMBERS
506 # - OWNERS_AND_MANAGERS
507 # - OWNERS_ONLY
508 # - NONE
509 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
510 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
511 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
512 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
513 # - false: The group is active and can receive messages.
514 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
515 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
516 &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:
517 # - ALL_MEMBERS
518 # - OWNERS_AND_MANAGERS
519 # - OWNERS_ONLY
520 # - NONE
521 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
522 # - true
523 # - false
524 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
525 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
526 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
527 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
528 # - NONE_CAN_INVITE: No one can invite a new member candidate.
529 &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;.
530 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
531 # - true: G Suite users external to your organization can become members of this group.
532 # - false: Users not belonging to the organization are not allowed to become members of this group.
533 &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:
534 # - ALL_MEMBERS_CAN_APPROVE
535 # - ALL_MANAGERS_CAN_APPROVE
536 # - ALL_OWNERS_CAN_APPROVE
537 # - NONE_CAN_APPROVE
538 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
539 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
540 # 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.
541 #
542 # - REPLY_TO_SENDER: The reply sent to author of message.
543 # - REPLY_TO_LIST: This reply message is sent to the group.
544 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
545 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
546 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
547 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
548 # - ALLOW: Post the message to the group.
549 # - MODERATE: Send the message to the moderation queue. This is the default.
550 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
551 # - REJECT: Immediately reject the message.
552 &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.
553 # - 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.
554 # - 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.
555 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
556 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
557 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
558 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
559 # - NONE_CAN_ADD: No one can directly add new members.
560 &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:
561 # - true: When a message is rejected, send the deny message notification to the message author.
562 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
563 #
564 # - false: When a message is rejected, no notification is sent.
565 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
566 # - true: Allows any member to post to the group forum.
567 # - false: Members only use Gmail to communicate with the group.
568 &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:
569 # - ALL_MEMBERS
570 # - OWNERS_AND_MANAGERS
571 # - OWNERS_ONLY
572 # - NONE
573 &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:
574 # - ALL_MEMBERS
575 # - OWNERS_AND_MANAGERS
576 # - OWNERS_ONLY
577 # - NONE
578 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
579 # - 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.
580 # - false: Google can not contact managers of this group.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700581 &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:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700582 # - ALL_MEMBERS
583 # - OWNERS_AND_MANAGERS
584 # - OWNERS_ONLY
585 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800586 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700587 # - ALL_MEMBERS
588 # - OWNERS_AND_MANAGERS
589 # - OWNERS_ONLY
590 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800591 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
592 # - true: Archive messages sent to the group.
593 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
594 &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:
595 # - ALL_MEMBERS
596 # - OWNERS_AND_MANAGERS
597 # - OWNERS_ONLY
598 # - NONE
599 &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:
600 # - true: All groups in the account are listed in the Groups directory.
601 # - false: All groups in the account are not listed in the directory.
602 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700603 &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:
604 # - true
605 # - false
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800606 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700607 # - ALL_MEMBERS
608 # - OWNERS_AND_MANAGERS
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700609 # - OWNERS_ONLY
610 # - NONE
611 &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:
612 # - ALL_MEMBERS
613 # - OWNERS_AND_MANAGERS
614 # - MANAGERS_ONLY
615 # - OWNERS_ONLY
616 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800617 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700618 # - ALL_MEMBERS
619 # - OWNERS_AND_MANAGERS
620 # - MANAGERS_ONLY
621 # - OWNERS_ONLY
622 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800623 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
624 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
625 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
626 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
627 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
628 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
629 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
630 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
631 # - 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.
632 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
633 # - ALL_MEMBERS
634 # - OWNERS_AND_MANAGERS
635 # - OWNERS_ONLY
636 # - NONE
637 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700638 # - ALL_MEMBERS
639 # - OWNERS_AND_MANAGERS
640 # - MANAGERS_ONLY
641 # - OWNERS_ONLY
642 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800643 }
644
645
646Returns:
647 An object of the form:
648
649 { # JSON template for Group resource
650 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
651 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
652 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
653 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
654 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
655 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
656 # - ALL_MANAGERS_CAN_LEAVE
657 # - ALL_MEMBERS_CAN_LEAVE
658 # - NONE_CAN_LEAVE
659 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
660 # - true: Favorite replies will be displayed above other replies.
661 # - false: Favorite replies will not be displayed above other replies.
662 &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.
663 # 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.
664 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
665 # - true
666 # - false
667 &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:
668 # - ALL_MEMBERS
669 # - OWNERS_AND_MANAGERS
670 # - OWNERS_ONLY
671 # - NONE
672 &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:
673 # - ALL_MEMBERS
674 # - OWNERS_AND_MANAGERS
675 # - MANAGERS_ONLY
676 # - OWNERS_ONLY
677 # - NONE
678 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
679 # - ALL_IN_DOMAIN_CAN_CONTACT
680 # - ALL_MANAGERS_CAN_CONTACT
681 # - ALL_MEMBERS_CAN_CONTACT
682 # - ANYONE_CAN_CONTACT
683 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
684 # - ALL_MEMBERS
685 # - OWNERS_AND_MANAGERS
686 # - OWNERS_ONLY
687 # - NONE
688 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
689 &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:
690 # - ALL_MEMBERS
691 # - OWNERS_AND_MANAGERS
692 # - OWNERS_ONLY
693 # - NONE
694 &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:
695 # - ALL_MEMBERS
696 # - OWNERS_AND_MANAGERS
697 # - MANAGERS_ONLY
698 # - OWNERS_ONLY
699 # - NONE
700 &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:
701 # - true: Group is included in the Global Address List.
702 # - false: Group is not included in the Global Address List.
703 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
704 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
705 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
706 # - 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.
707 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
708 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
709 &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.
710 &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.
711 &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:
712 # - ALL_MEMBERS
713 # - OWNERS_AND_MANAGERS
714 # - MANAGERS_ONLY
715 # - OWNERS_ONLY
716 # - NONE
717 &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:
718 # - ALL_MEMBERS
719 # - OWNERS_AND_MANAGERS
720 # - MANAGERS_ONLY
721 # - OWNERS_ONLY
722 # - NONE
723 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
724 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
725 # If a group already has external members, those members can still send email to this group.
726 #
727 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
728 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
729 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
730 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
731 # - 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.
732 # - false: Members can not post in behalf of the group&#x27;s email address.
733 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
734 # - ANYONE_CAN_DISCOVER
735 # - ALL_IN_DOMAIN_CAN_DISCOVER
736 # - ALL_MEMBERS_CAN_DISCOVER
737 &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.
738 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
739 # - 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.
740 # - 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.
741 # - 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.
742 # - 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.
743 # 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.
744 &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:
745 # - ALL_MEMBERS
746 # - OWNERS_AND_MANAGERS
747 # - MANAGERS_ONLY
748 # - OWNERS_ONLY
749 # - NONE
750 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
751 # - ALL_MEMBERS
752 # - OWNERS_AND_MANAGERS
753 # - MANAGERS_ONLY
754 # - OWNERS_ONLY
755 # - NONE
756 &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:
757 # - ALL_MEMBERS
758 # - OWNERS_AND_MANAGERS
759 # - MANAGERS_ONLY
760 # - OWNERS_ONLY
761 # - NONE
762 &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:
763 # - ALL_MEMBERS
764 # - OWNERS_AND_MANAGERS
765 # - OWNERS_ONLY
766 # - NONE
767 &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:
768 # - ALL_MEMBERS
769 # - OWNERS_AND_MANAGERS
770 # - MANAGERS_ONLY
771 # - OWNERS_ONLY
772 # - NONE
773 &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:
774 # - ALL_MEMBERS
775 # - OWNERS_AND_MANAGERS
776 # - OWNERS_ONLY
777 # - NONE
778 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
779 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
780 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
781 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
782 # - false: The group is active and can receive messages.
783 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
784 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
785 &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:
786 # - ALL_MEMBERS
787 # - OWNERS_AND_MANAGERS
788 # - OWNERS_ONLY
789 # - NONE
790 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
791 # - true
792 # - false
793 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
794 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
795 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
796 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
797 # - NONE_CAN_INVITE: No one can invite a new member candidate.
798 &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;.
799 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
800 # - true: G Suite users external to your organization can become members of this group.
801 # - false: Users not belonging to the organization are not allowed to become members of this group.
802 &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:
803 # - ALL_MEMBERS_CAN_APPROVE
804 # - ALL_MANAGERS_CAN_APPROVE
805 # - ALL_OWNERS_CAN_APPROVE
806 # - NONE_CAN_APPROVE
807 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
808 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
809 # 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.
810 #
811 # - REPLY_TO_SENDER: The reply sent to author of message.
812 # - REPLY_TO_LIST: This reply message is sent to the group.
813 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
814 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
815 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
816 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
817 # - ALLOW: Post the message to the group.
818 # - MODERATE: Send the message to the moderation queue. This is the default.
819 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
820 # - REJECT: Immediately reject the message.
821 &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.
822 # - 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.
823 # - 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.
824 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
825 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
826 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
827 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
828 # - NONE_CAN_ADD: No one can directly add new members.
829 &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:
830 # - true: When a message is rejected, send the deny message notification to the message author.
831 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
832 #
833 # - false: When a message is rejected, no notification is sent.
834 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
835 # - true: Allows any member to post to the group forum.
836 # - false: Members only use Gmail to communicate with the group.
837 &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:
838 # - ALL_MEMBERS
839 # - OWNERS_AND_MANAGERS
840 # - OWNERS_ONLY
841 # - NONE
842 &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:
843 # - ALL_MEMBERS
844 # - OWNERS_AND_MANAGERS
845 # - OWNERS_ONLY
846 # - NONE
847 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
848 # - 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.
849 # - false: Google can not contact managers of this group.
850 &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:
851 # - ALL_MEMBERS
852 # - OWNERS_AND_MANAGERS
853 # - OWNERS_ONLY
854 # - NONE
855 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
856 # - ALL_MEMBERS
857 # - OWNERS_AND_MANAGERS
858 # - OWNERS_ONLY
859 # - NONE
860 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
861 # - true: Archive messages sent to the group.
862 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
863 &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:
864 # - ALL_MEMBERS
865 # - OWNERS_AND_MANAGERS
866 # - OWNERS_ONLY
867 # - NONE
868 &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:
869 # - true: All groups in the account are listed in the Groups directory.
870 # - false: All groups in the account are not listed in the directory.
871 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
872 &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:
873 # - true
874 # - false
875 &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:
876 # - ALL_MEMBERS
877 # - OWNERS_AND_MANAGERS
878 # - OWNERS_ONLY
879 # - NONE
880 &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:
881 # - ALL_MEMBERS
882 # - OWNERS_AND_MANAGERS
883 # - MANAGERS_ONLY
884 # - OWNERS_ONLY
885 # - NONE
886 &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:
887 # - ALL_MEMBERS
888 # - OWNERS_AND_MANAGERS
889 # - MANAGERS_ONLY
890 # - OWNERS_ONLY
891 # - NONE
892 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
893 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
894 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
895 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
896 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
897 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
898 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
899 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
900 # - 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.
901 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
902 # - ALL_MEMBERS
903 # - OWNERS_AND_MANAGERS
904 # - OWNERS_ONLY
905 # - NONE
906 &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:
907 # - ALL_MEMBERS
908 # - OWNERS_AND_MANAGERS
909 # - MANAGERS_ONLY
910 # - OWNERS_ONLY
911 # - NONE
912 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400913</div>
914
915<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700916 <code class="details" id="update">update(groupUniqueId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400917 <pre>Updates an existing resource.
918
919Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700920 groupUniqueId: string, The group&#x27;s email address. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700921 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400922 The object takes the form of:
923
924{ # JSON template for Group resource
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800925 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
926 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
927 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
928 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
929 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
930 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
931 # - ALL_MANAGERS_CAN_LEAVE
932 # - ALL_MEMBERS_CAN_LEAVE
933 # - NONE_CAN_LEAVE
934 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
935 # - true: Favorite replies will be displayed above other replies.
936 # - false: Favorite replies will not be displayed above other replies.
937 &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.
938 # 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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700939 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
940 # - true
941 # - false
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800942 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700943 # - ALL_MEMBERS
944 # - OWNERS_AND_MANAGERS
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700945 # - OWNERS_ONLY
946 # - NONE
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700947 &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:
948 # - ALL_MEMBERS
949 # - OWNERS_AND_MANAGERS
950 # - MANAGERS_ONLY
951 # - OWNERS_ONLY
952 # - NONE
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700953 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
954 # - ALL_IN_DOMAIN_CAN_CONTACT
955 # - ALL_MANAGERS_CAN_CONTACT
956 # - ALL_MEMBERS_CAN_CONTACT
957 # - ANYONE_CAN_CONTACT
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800958 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700959 # - ALL_MEMBERS
960 # - OWNERS_AND_MANAGERS
961 # - OWNERS_ONLY
962 # - NONE
963 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800964 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700965 # - ALL_MEMBERS
966 # - OWNERS_AND_MANAGERS
967 # - OWNERS_ONLY
968 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800969 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700970 # - ALL_MEMBERS
971 # - OWNERS_AND_MANAGERS
972 # - MANAGERS_ONLY
973 # - OWNERS_ONLY
974 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800975 &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:
976 # - true: Group is included in the Global Address List.
977 # - false: Group is not included in the Global Address List.
978 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
979 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
980 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
981 # - 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.
982 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
983 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
984 &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.
985 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700986 &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:
987 # - ALL_MEMBERS
988 # - OWNERS_AND_MANAGERS
989 # - MANAGERS_ONLY
990 # - OWNERS_ONLY
991 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800992 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700993 # - ALL_MEMBERS
994 # - OWNERS_AND_MANAGERS
995 # - MANAGERS_ONLY
996 # - OWNERS_ONLY
997 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800998 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
999 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1000 # If a group already has external members, those members can still send email to this group.
1001 #
1002 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1003 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
1004 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
1005 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
1006 # - 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.
1007 # - false: Members can not post in behalf of the group&#x27;s email address.
1008 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1009 # - ANYONE_CAN_DISCOVER
1010 # - ALL_IN_DOMAIN_CAN_DISCOVER
1011 # - ALL_MEMBERS_CAN_DISCOVER
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001012 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001013 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
1014 # - 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.
1015 # - 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.
1016 # - 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.
1017 # - 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.
1018 # 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.
1019 &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:
1020 # - ALL_MEMBERS
1021 # - OWNERS_AND_MANAGERS
1022 # - MANAGERS_ONLY
1023 # - OWNERS_ONLY
1024 # - NONE
1025 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
1026 # - ALL_MEMBERS
1027 # - OWNERS_AND_MANAGERS
1028 # - MANAGERS_ONLY
1029 # - OWNERS_ONLY
1030 # - NONE
1031 &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:
1032 # - ALL_MEMBERS
1033 # - OWNERS_AND_MANAGERS
1034 # - MANAGERS_ONLY
1035 # - OWNERS_ONLY
1036 # - NONE
1037 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001038 # - ALL_MEMBERS
1039 # - OWNERS_AND_MANAGERS
1040 # - OWNERS_ONLY
1041 # - NONE
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001042 &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:
1043 # - ALL_MEMBERS
1044 # - OWNERS_AND_MANAGERS
1045 # - MANAGERS_ONLY
1046 # - OWNERS_ONLY
1047 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001048 &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:
1049 # - ALL_MEMBERS
1050 # - OWNERS_AND_MANAGERS
1051 # - OWNERS_ONLY
1052 # - NONE
1053 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
1054 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
1055 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
1056 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1057 # - false: The group is active and can receive messages.
1058 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1059 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
1060 &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:
1061 # - ALL_MEMBERS
1062 # - OWNERS_AND_MANAGERS
1063 # - OWNERS_ONLY
1064 # - NONE
1065 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
1066 # - true
1067 # - false
1068 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1069 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1070 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1071 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1072 # - NONE_CAN_INVITE: No one can invite a new member candidate.
1073 &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;.
1074 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
1075 # - true: G Suite users external to your organization can become members of this group.
1076 # - false: Users not belonging to the organization are not allowed to become members of this group.
1077 &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:
1078 # - ALL_MEMBERS_CAN_APPROVE
1079 # - ALL_MANAGERS_CAN_APPROVE
1080 # - ALL_OWNERS_CAN_APPROVE
1081 # - NONE_CAN_APPROVE
1082 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
1083 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
1084 # 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.
1085 #
1086 # - REPLY_TO_SENDER: The reply sent to author of message.
1087 # - REPLY_TO_LIST: This reply message is sent to the group.
1088 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
1089 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
1090 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
1091 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
1092 # - ALLOW: Post the message to the group.
1093 # - MODERATE: Send the message to the moderation queue. This is the default.
1094 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1095 # - REJECT: Immediately reject the message.
1096 &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.
1097 # - 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.
1098 # - 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.
1099 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1100 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1101 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1102 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1103 # - NONE_CAN_ADD: No one can directly add new members.
1104 &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:
1105 # - true: When a message is rejected, send the deny message notification to the message author.
1106 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
1107 #
1108 # - false: When a message is rejected, no notification is sent.
1109 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
1110 # - true: Allows any member to post to the group forum.
1111 # - false: Members only use Gmail to communicate with the group.
1112 &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:
1113 # - ALL_MEMBERS
1114 # - OWNERS_AND_MANAGERS
1115 # - OWNERS_ONLY
1116 # - NONE
1117 &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:
1118 # - ALL_MEMBERS
1119 # - OWNERS_AND_MANAGERS
1120 # - OWNERS_ONLY
1121 # - NONE
1122 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
1123 # - 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.
1124 # - false: Google can not contact managers of this group.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001125 &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:
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001126 # - ALL_MEMBERS
1127 # - OWNERS_AND_MANAGERS
1128 # - OWNERS_ONLY
1129 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001130 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001131 # - ALL_MEMBERS
1132 # - OWNERS_AND_MANAGERS
1133 # - OWNERS_ONLY
1134 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001135 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
1136 # - true: Archive messages sent to the group.
1137 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
1138 &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:
1139 # - ALL_MEMBERS
1140 # - OWNERS_AND_MANAGERS
1141 # - OWNERS_ONLY
1142 # - NONE
1143 &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:
1144 # - true: All groups in the account are listed in the Groups directory.
1145 # - false: All groups in the account are not listed in the directory.
1146 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001147 &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:
1148 # - true
1149 # - false
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001150 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001151 # - ALL_MEMBERS
1152 # - OWNERS_AND_MANAGERS
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001153 # - OWNERS_ONLY
1154 # - NONE
1155 &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:
1156 # - ALL_MEMBERS
1157 # - OWNERS_AND_MANAGERS
1158 # - MANAGERS_ONLY
1159 # - OWNERS_ONLY
1160 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001161 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001162 # - ALL_MEMBERS
1163 # - OWNERS_AND_MANAGERS
1164 # - MANAGERS_ONLY
1165 # - OWNERS_ONLY
1166 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001167 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1168 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1169 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1170 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1171 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1172 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1173 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1174 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1175 # - 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.
1176 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
1177 # - ALL_MEMBERS
1178 # - OWNERS_AND_MANAGERS
1179 # - OWNERS_ONLY
1180 # - NONE
1181 &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:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001182 # - ALL_MEMBERS
1183 # - OWNERS_AND_MANAGERS
1184 # - MANAGERS_ONLY
1185 # - OWNERS_ONLY
1186 # - NONE
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001187 }
1188
1189
1190Returns:
1191 An object of the form:
1192
1193 { # JSON template for Group resource
1194 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
1195 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
1196 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
1197 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
1198 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
1199 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
1200 # - ALL_MANAGERS_CAN_LEAVE
1201 # - ALL_MEMBERS_CAN_LEAVE
1202 # - NONE_CAN_LEAVE
1203 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
1204 # - true: Favorite replies will be displayed above other replies.
1205 # - false: Favorite replies will not be displayed above other replies.
1206 &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.
1207 # 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.
1208 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
1209 # - true
1210 # - false
1211 &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:
1212 # - ALL_MEMBERS
1213 # - OWNERS_AND_MANAGERS
1214 # - OWNERS_ONLY
1215 # - NONE
1216 &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:
1217 # - ALL_MEMBERS
1218 # - OWNERS_AND_MANAGERS
1219 # - MANAGERS_ONLY
1220 # - OWNERS_ONLY
1221 # - NONE
1222 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
1223 # - ALL_IN_DOMAIN_CAN_CONTACT
1224 # - ALL_MANAGERS_CAN_CONTACT
1225 # - ALL_MEMBERS_CAN_CONTACT
1226 # - ANYONE_CAN_CONTACT
1227 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
1228 # - ALL_MEMBERS
1229 # - OWNERS_AND_MANAGERS
1230 # - OWNERS_ONLY
1231 # - NONE
1232 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
1233 &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:
1234 # - ALL_MEMBERS
1235 # - OWNERS_AND_MANAGERS
1236 # - OWNERS_ONLY
1237 # - NONE
1238 &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:
1239 # - ALL_MEMBERS
1240 # - OWNERS_AND_MANAGERS
1241 # - MANAGERS_ONLY
1242 # - OWNERS_ONLY
1243 # - NONE
1244 &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:
1245 # - true: Group is included in the Global Address List.
1246 # - false: Group is not included in the Global Address List.
1247 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
1248 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
1249 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
1250 # - 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.
1251 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
1252 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
1253 &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.
1254 &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.
1255 &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:
1256 # - ALL_MEMBERS
1257 # - OWNERS_AND_MANAGERS
1258 # - MANAGERS_ONLY
1259 # - OWNERS_ONLY
1260 # - NONE
1261 &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:
1262 # - ALL_MEMBERS
1263 # - OWNERS_AND_MANAGERS
1264 # - MANAGERS_ONLY
1265 # - OWNERS_ONLY
1266 # - NONE
1267 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
1268 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1269 # If a group already has external members, those members can still send email to this group.
1270 #
1271 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1272 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
1273 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
1274 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
1275 # - 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.
1276 # - false: Members can not post in behalf of the group&#x27;s email address.
1277 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1278 # - ANYONE_CAN_DISCOVER
1279 # - ALL_IN_DOMAIN_CAN_DISCOVER
1280 # - ALL_MEMBERS_CAN_DISCOVER
1281 &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.
1282 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
1283 # - 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.
1284 # - 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.
1285 # - 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.
1286 # - 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.
1287 # 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.
1288 &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:
1289 # - ALL_MEMBERS
1290 # - OWNERS_AND_MANAGERS
1291 # - MANAGERS_ONLY
1292 # - OWNERS_ONLY
1293 # - NONE
1294 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
1295 # - ALL_MEMBERS
1296 # - OWNERS_AND_MANAGERS
1297 # - MANAGERS_ONLY
1298 # - OWNERS_ONLY
1299 # - NONE
1300 &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:
1301 # - ALL_MEMBERS
1302 # - OWNERS_AND_MANAGERS
1303 # - MANAGERS_ONLY
1304 # - OWNERS_ONLY
1305 # - NONE
1306 &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:
1307 # - ALL_MEMBERS
1308 # - OWNERS_AND_MANAGERS
1309 # - OWNERS_ONLY
1310 # - NONE
1311 &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:
1312 # - ALL_MEMBERS
1313 # - OWNERS_AND_MANAGERS
1314 # - MANAGERS_ONLY
1315 # - OWNERS_ONLY
1316 # - NONE
1317 &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:
1318 # - ALL_MEMBERS
1319 # - OWNERS_AND_MANAGERS
1320 # - OWNERS_ONLY
1321 # - NONE
1322 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
1323 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
1324 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
1325 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1326 # - false: The group is active and can receive messages.
1327 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1328 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
1329 &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:
1330 # - ALL_MEMBERS
1331 # - OWNERS_AND_MANAGERS
1332 # - OWNERS_ONLY
1333 # - NONE
1334 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
1335 # - true
1336 # - false
1337 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1338 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1339 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1340 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1341 # - NONE_CAN_INVITE: No one can invite a new member candidate.
1342 &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;.
1343 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
1344 # - true: G Suite users external to your organization can become members of this group.
1345 # - false: Users not belonging to the organization are not allowed to become members of this group.
1346 &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:
1347 # - ALL_MEMBERS_CAN_APPROVE
1348 # - ALL_MANAGERS_CAN_APPROVE
1349 # - ALL_OWNERS_CAN_APPROVE
1350 # - NONE_CAN_APPROVE
1351 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
1352 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
1353 # 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.
1354 #
1355 # - REPLY_TO_SENDER: The reply sent to author of message.
1356 # - REPLY_TO_LIST: This reply message is sent to the group.
1357 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
1358 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
1359 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
1360 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
1361 # - ALLOW: Post the message to the group.
1362 # - MODERATE: Send the message to the moderation queue. This is the default.
1363 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1364 # - REJECT: Immediately reject the message.
1365 &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.
1366 # - 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.
1367 # - 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.
1368 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1369 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1370 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1371 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1372 # - NONE_CAN_ADD: No one can directly add new members.
1373 &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:
1374 # - true: When a message is rejected, send the deny message notification to the message author.
1375 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
1376 #
1377 # - false: When a message is rejected, no notification is sent.
1378 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
1379 # - true: Allows any member to post to the group forum.
1380 # - false: Members only use Gmail to communicate with the group.
1381 &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:
1382 # - ALL_MEMBERS
1383 # - OWNERS_AND_MANAGERS
1384 # - OWNERS_ONLY
1385 # - NONE
1386 &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:
1387 # - ALL_MEMBERS
1388 # - OWNERS_AND_MANAGERS
1389 # - OWNERS_ONLY
1390 # - NONE
1391 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
1392 # - 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.
1393 # - false: Google can not contact managers of this group.
1394 &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:
1395 # - ALL_MEMBERS
1396 # - OWNERS_AND_MANAGERS
1397 # - OWNERS_ONLY
1398 # - NONE
1399 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
1400 # - ALL_MEMBERS
1401 # - OWNERS_AND_MANAGERS
1402 # - OWNERS_ONLY
1403 # - NONE
1404 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
1405 # - true: Archive messages sent to the group.
1406 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
1407 &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:
1408 # - ALL_MEMBERS
1409 # - OWNERS_AND_MANAGERS
1410 # - OWNERS_ONLY
1411 # - NONE
1412 &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:
1413 # - true: All groups in the account are listed in the Groups directory.
1414 # - false: All groups in the account are not listed in the directory.
1415 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
1416 &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:
1417 # - true
1418 # - false
1419 &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:
1420 # - ALL_MEMBERS
1421 # - OWNERS_AND_MANAGERS
1422 # - OWNERS_ONLY
1423 # - NONE
1424 &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:
1425 # - ALL_MEMBERS
1426 # - OWNERS_AND_MANAGERS
1427 # - MANAGERS_ONLY
1428 # - OWNERS_ONLY
1429 # - NONE
1430 &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:
1431 # - ALL_MEMBERS
1432 # - OWNERS_AND_MANAGERS
1433 # - MANAGERS_ONLY
1434 # - OWNERS_ONLY
1435 # - NONE
1436 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1437 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1438 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1439 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1440 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1441 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1442 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1443 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1444 # - 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.
1445 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
1446 # - ALL_MEMBERS
1447 # - OWNERS_AND_MANAGERS
1448 # - OWNERS_ONLY
1449 # - NONE
1450 &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:
1451 # - ALL_MEMBERS
1452 # - OWNERS_AND_MANAGERS
1453 # - MANAGERS_ONLY
1454 # - OWNERS_ONLY
1455 # - NONE
1456 }</pre>
John Asmuth614db982014-04-24 15:46:26 -04001457</div>
1458
1459</body></html>