blob: a9d2e746936bac26f452bc9450cb02ac8f2bd1d8 [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 Botcc94ec82021-01-15 07:10:04 -0800106 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
107 # - true: G Suite users external to your organization can become members of this group.
108 # - false: Users not belonging to the organization are not allowed to become members of this group.
109 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
110 # - true: Allow Google to contact managers of this group. Occasionally Google may send updates on the latest features, ask for input on new features, or ask for permission to highlight your group.
111 # - false: Google can not contact managers of this group.
112 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
113 # - true: Allows any member to post to the group forum.
114 # - false: Members only use Gmail to communicate with the group.
115 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
116 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
117 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
118 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
119 # - false: The group is active and can receive messages.
120 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
121 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
122 &quot;customReplyTo&quot;: &quot;A String&quot;, # An email address used when replying to a message if the replyTo property is set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
123 # - When the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
124 # - If the group&#x27;s ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
125 &quot;customRolesEnabledForSettingsToBeMerged&quot;: &quot;A String&quot;, # Specifies whether the group has a custom role that&#x27;s included in one of the settings being merged. This field is read-only and update/patch requests to it are ignored. Possible values are:
126 # - true
127 # - false
128 &quot;defaultMessageDenyNotificationText&quot;: &quot;A String&quot;, # When a message is rejected, this is text for the rejection notification sent to the message&#x27;s author. By default, this property is empty and has no value in the API&#x27;s response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
129 &quot;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.
130 &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.
131 # 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.
132 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
133 # - true
134 # - false
135 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
136 # - true: Favorite replies will be displayed above other replies.
137 # - false: Favorite replies will not be displayed above other replies.
138 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
139 # - true
140 # - false
141 &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:
142 # - true: Group is included in the Global Address List.
143 # - false: Group is not included in the Global Address List.
144 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
145 # - true: Archive messages sent to the group.
146 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
147 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
148 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
149 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
150 # - 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.
151 # - false: Members can not post in behalf of the group&#x27;s email address.
152 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
153 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
154 # - 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.
155 # - 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.
156 # - 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.
157 # - 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.
158 # 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.
159 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
160 &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.
161 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
162 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
163 # 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.
164 #
165 # - REPLY_TO_SENDER: The reply sent to author of message.
166 # - REPLY_TO_LIST: This reply message is sent to the group.
167 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
168 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
169 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
170 &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:
171 # - true: When a message is rejected, send the deny message notification to the message author.
172 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
173 #
174 # - false: When a message is rejected, no notification is sent.
175 &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:
176 # - true: All groups in the account are listed in the Groups directory.
177 # - false: All groups in the account are not listed in the directory.
178 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
179 # - ALLOW: Post the message to the group.
180 # - MODERATE: Send the message to the moderation queue. This is the default.
181 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
182 # - REJECT: Immediately reject the message.
183 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
184 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
185 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
186 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
187 # - NONE_CAN_ADD: No one can directly add new members.
188 &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;.
189 &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:
190 # - ALL_MEMBERS_CAN_APPROVE
191 # - ALL_MANAGERS_CAN_APPROVE
192 # - ALL_OWNERS_CAN_APPROVE
193 # - NONE_CAN_APPROVE
194 &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:
195 # - ALL_MEMBERS
196 # - OWNERS_AND_MANAGERS
197 # - OWNERS_ONLY
198 # - NONE
199 &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:
200 # - ALL_MEMBERS
201 # - OWNERS_AND_MANAGERS
202 # - MANAGERS_ONLY
203 # - OWNERS_ONLY
204 # - NONE
205 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
206 # - ALL_MEMBERS
207 # - OWNERS_AND_MANAGERS
208 # - MANAGERS_ONLY
209 # - OWNERS_ONLY
210 # - NONE
211 &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:
212 # - ALL_MEMBERS
213 # - OWNERS_AND_MANAGERS
214 # - OWNERS_ONLY
215 # - NONE
216 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
217 # - ALL_IN_DOMAIN_CAN_CONTACT
218 # - ALL_MANAGERS_CAN_CONTACT
219 # - ALL_MEMBERS_CAN_CONTACT
220 # - ANYONE_CAN_CONTACT
221 &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:
222 # - ALL_MEMBERS
223 # - OWNERS_AND_MANAGERS
224 # - OWNERS_ONLY
225 # - NONE
226 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
227 # - ALL_MEMBERS
228 # - OWNERS_AND_MANAGERS
229 # - OWNERS_ONLY
230 # - NONE
231 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
232 # - ANYONE_CAN_DISCOVER
233 # - ALL_IN_DOMAIN_CAN_DISCOVER
234 # - ALL_MEMBERS_CAN_DISCOVER
235 &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:
236 # - ALL_MEMBERS
237 # - OWNERS_AND_MANAGERS
238 # - MANAGERS_ONLY
239 # - OWNERS_ONLY
240 # - NONE
241 &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:
242 # - ALL_MEMBERS
243 # - OWNERS_AND_MANAGERS
244 # - OWNERS_ONLY
245 # - NONE
246 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
247 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
248 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
249 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
250 # - NONE_CAN_INVITE: No one can invite a new member candidate.
251 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
252 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
253 # - 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.
254 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
255 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
256 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
257 # - ALL_MANAGERS_CAN_LEAVE
258 # - ALL_MEMBERS_CAN_LEAVE
259 # - NONE_CAN_LEAVE
260 &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:
261 # - ALL_MEMBERS
262 # - OWNERS_AND_MANAGERS
263 # - OWNERS_ONLY
264 # - NONE
265 &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:
266 # - ALL_MEMBERS
267 # - OWNERS_AND_MANAGERS
268 # - OWNERS_ONLY
269 # - NONE
270 &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:
271 # - ALL_MEMBERS
272 # - OWNERS_AND_MANAGERS
273 # - MANAGERS_ONLY
274 # - OWNERS_ONLY
275 # - NONE
276 &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:
277 # - ALL_MEMBERS
278 # - OWNERS_AND_MANAGERS
279 # - MANAGERS_ONLY
280 # - OWNERS_ONLY
281 # - NONE
282 &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:
283 # - ALL_MEMBERS
284 # - OWNERS_AND_MANAGERS
285 # - MANAGERS_ONLY
286 # - OWNERS_ONLY
287 # - NONE
288 &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:
289 # - ALL_MEMBERS
290 # - OWNERS_AND_MANAGERS
291 # - MANAGERS_ONLY
292 # - OWNERS_ONLY
293 # - NONE
294 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
295 # - ALL_MEMBERS
296 # - OWNERS_AND_MANAGERS
297 # - OWNERS_ONLY
298 # - NONE
299 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
300 # - ALL_MEMBERS
301 # - OWNERS_AND_MANAGERS
302 # - OWNERS_ONLY
303 # - NONE
304 &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:
305 # - ALL_MEMBERS
306 # - OWNERS_AND_MANAGERS
307 # - OWNERS_ONLY
308 # - NONE
309 &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:
310 # - ALL_MEMBERS
311 # - OWNERS_AND_MANAGERS
312 # - MANAGERS_ONLY
313 # - OWNERS_ONLY
314 # - NONE
315 &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:
316 # - ALL_MEMBERS
317 # - OWNERS_AND_MANAGERS
318 # - OWNERS_ONLY
319 # - NONE
320 &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:
321 # - ALL_MEMBERS
322 # - OWNERS_AND_MANAGERS
323 # - OWNERS_ONLY
324 # - NONE
325 &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:
326 # - ALL_MEMBERS
327 # - OWNERS_AND_MANAGERS
328 # - OWNERS_ONLY
329 # - NONE
330 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
331 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
332 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
333 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
334 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
335 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
336 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
337 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
338 # - 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.
339 &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:
340 # - ALL_MEMBERS
341 # - OWNERS_AND_MANAGERS
342 # - MANAGERS_ONLY
343 # - OWNERS_ONLY
344 # - NONE
345 &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:
346 # - ALL_MEMBERS
347 # - OWNERS_AND_MANAGERS
348 # - MANAGERS_ONLY
349 # - OWNERS_ONLY
350 # - NONE
351 &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:
352 # - ALL_MEMBERS
353 # - OWNERS_AND_MANAGERS
354 # - MANAGERS_ONLY
355 # - OWNERS_ONLY
356 # - NONE
357 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
358 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
359 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
360 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
361 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
362 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
363 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
364 # If a group already has external members, those members can still send email to this group.
365 #
366 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
367 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
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 Botcc94ec82021-01-15 07:10:04 -0800381 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
382 # - true: G Suite users external to your organization can become members of this group.
383 # - false: Users not belonging to the organization are not allowed to become members of this group.
384 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
385 # - 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.
386 # - false: Google can not contact managers of this group.
387 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
388 # - true: Allows any member to post to the group forum.
389 # - false: Members only use Gmail to communicate with the group.
390 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
391 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
392 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
393 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
394 # - false: The group is active and can receive messages.
395 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
396 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
397 &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.
398 # - 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.
399 # - 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.
400 &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:
401 # - true
402 # - false
403 &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.
404 &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.
405 &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.
406 # 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.
407 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
408 # - true
409 # - false
410 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
411 # - true: Favorite replies will be displayed above other replies.
412 # - false: Favorite replies will not be displayed above other replies.
413 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
414 # - true
415 # - false
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800416 &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:
417 # - true: Group is included in the Global Address List.
418 # - false: Group is not included in the Global Address List.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800419 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
420 # - true: Archive messages sent to the group.
421 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
422 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
423 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
424 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
425 # - 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.
426 # - false: Members can not post in behalf of the group&#x27;s email address.
427 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800428 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
429 # - 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.
430 # - 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.
431 # - 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.
432 # - 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.
433 # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800434 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
435 &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 Botb6971b02020-11-26 17:16:03 -0800436 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
437 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
438 # 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.
439 #
440 # - REPLY_TO_SENDER: The reply sent to author of message.
441 # - REPLY_TO_LIST: This reply message is sent to the group.
442 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
443 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
444 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800445 &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:
446 # - true: When a message is rejected, send the deny message notification to the message author.
447 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
448 #
449 # - false: When a message is rejected, no notification is sent.
450 &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:
451 # - true: All groups in the account are listed in the Groups directory.
452 # - false: All groups in the account are not listed in the directory.
453 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
454 # - ALLOW: Post the message to the group.
455 # - MODERATE: Send the message to the moderation queue. This is the default.
456 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
457 # - REJECT: Immediately reject the message.
458 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
459 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
460 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
461 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
462 # - NONE_CAN_ADD: No one can directly add new members.
463 &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;.
464 &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:
465 # - ALL_MEMBERS_CAN_APPROVE
466 # - ALL_MANAGERS_CAN_APPROVE
467 # - ALL_OWNERS_CAN_APPROVE
468 # - NONE_CAN_APPROVE
469 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800470 # - ALL_MEMBERS
471 # - OWNERS_AND_MANAGERS
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800472 # - OWNERS_ONLY
473 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800474 &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:
475 # - ALL_MEMBERS
476 # - OWNERS_AND_MANAGERS
477 # - MANAGERS_ONLY
478 # - OWNERS_ONLY
479 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800480 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800481 # - ALL_MEMBERS
482 # - OWNERS_AND_MANAGERS
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800483 # - MANAGERS_ONLY
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800484 # - OWNERS_ONLY
485 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800486 &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:
487 # - ALL_MEMBERS
488 # - OWNERS_AND_MANAGERS
489 # - OWNERS_ONLY
490 # - NONE
491 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
492 # - ALL_IN_DOMAIN_CAN_CONTACT
493 # - ALL_MANAGERS_CAN_CONTACT
494 # - ALL_MEMBERS_CAN_CONTACT
495 # - ANYONE_CAN_CONTACT
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800496 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800497 # - ALL_MEMBERS
498 # - OWNERS_AND_MANAGERS
499 # - OWNERS_ONLY
500 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800501 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800502 # - ALL_MEMBERS
503 # - OWNERS_AND_MANAGERS
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800504 # - OWNERS_ONLY
505 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800506 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
507 # - ANYONE_CAN_DISCOVER
508 # - ALL_IN_DOMAIN_CAN_DISCOVER
509 # - ALL_MEMBERS_CAN_DISCOVER
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800510 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800511 # - ALL_MEMBERS
512 # - OWNERS_AND_MANAGERS
513 # - MANAGERS_ONLY
514 # - OWNERS_ONLY
515 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800516 &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:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800517 # - ALL_MEMBERS
518 # - OWNERS_AND_MANAGERS
519 # - OWNERS_ONLY
520 # - NONE
521 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
522 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
523 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
524 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
525 # - NONE_CAN_INVITE: No one can invite a new member candidate.
526 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
527 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
528 # - 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.
529 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
530 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800531 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
532 # - ALL_MANAGERS_CAN_LEAVE
533 # - ALL_MEMBERS_CAN_LEAVE
534 # - NONE_CAN_LEAVE
535 &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:
536 # - ALL_MEMBERS
537 # - OWNERS_AND_MANAGERS
538 # - OWNERS_ONLY
539 # - NONE
540 &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:
541 # - ALL_MEMBERS
542 # - OWNERS_AND_MANAGERS
543 # - OWNERS_ONLY
544 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800545 &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:
546 # - ALL_MEMBERS
547 # - OWNERS_AND_MANAGERS
548 # - MANAGERS_ONLY
549 # - OWNERS_ONLY
550 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800551 &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:
552 # - ALL_MEMBERS
553 # - OWNERS_AND_MANAGERS
554 # - MANAGERS_ONLY
555 # - OWNERS_ONLY
556 # - NONE
557 &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:
558 # - ALL_MEMBERS
559 # - OWNERS_AND_MANAGERS
560 # - MANAGERS_ONLY
561 # - OWNERS_ONLY
562 # - NONE
563 &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:
564 # - ALL_MEMBERS
565 # - OWNERS_AND_MANAGERS
566 # - MANAGERS_ONLY
567 # - OWNERS_ONLY
568 # - NONE
569 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
570 # - ALL_MEMBERS
571 # - OWNERS_AND_MANAGERS
572 # - OWNERS_ONLY
573 # - NONE
574 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
575 # - ALL_MEMBERS
576 # - OWNERS_AND_MANAGERS
577 # - OWNERS_ONLY
578 # - NONE
579 &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:
580 # - ALL_MEMBERS
581 # - OWNERS_AND_MANAGERS
582 # - OWNERS_ONLY
583 # - NONE
584 &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:
585 # - ALL_MEMBERS
586 # - OWNERS_AND_MANAGERS
587 # - MANAGERS_ONLY
588 # - OWNERS_ONLY
589 # - NONE
590 &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:
591 # - ALL_MEMBERS
592 # - OWNERS_AND_MANAGERS
593 # - OWNERS_ONLY
594 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800595 &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:
596 # - ALL_MEMBERS
597 # - OWNERS_AND_MANAGERS
598 # - OWNERS_ONLY
599 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800600 &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:
601 # - ALL_MEMBERS
602 # - OWNERS_AND_MANAGERS
603 # - OWNERS_ONLY
604 # - NONE
605 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
606 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
607 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
608 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
609 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
610 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
611 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
612 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
613 # - 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800614 &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:
615 # - ALL_MEMBERS
616 # - OWNERS_AND_MANAGERS
617 # - MANAGERS_ONLY
618 # - OWNERS_ONLY
619 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800620 &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:
621 # - ALL_MEMBERS
622 # - OWNERS_AND_MANAGERS
623 # - MANAGERS_ONLY
624 # - OWNERS_ONLY
625 # - NONE
626 &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:
627 # - ALL_MEMBERS
628 # - OWNERS_AND_MANAGERS
629 # - MANAGERS_ONLY
630 # - OWNERS_ONLY
631 # - NONE
632 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
633 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
634 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
635 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
636 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
637 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
638 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
639 # If a group already has external members, those members can still send email to this group.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800640 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800641 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
642 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800643}
644
645
646Returns:
647 An object of the form:
648
649 { # JSON template for Group resource
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800650 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
651 # - true: G Suite users external to your organization can become members of this group.
652 # - false: Users not belonging to the organization are not allowed to become members of this group.
653 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
654 # - 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.
655 # - false: Google can not contact managers of this group.
656 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
657 # - true: Allows any member to post to the group forum.
658 # - false: Members only use Gmail to communicate with the group.
659 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
660 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
661 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
662 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
663 # - false: The group is active and can receive messages.
664 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
665 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
666 &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.
667 # - 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.
668 # - 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.
669 &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:
670 # - true
671 # - false
672 &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.
673 &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.
674 &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.
675 # 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.
676 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
677 # - true
678 # - false
679 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
680 # - true: Favorite replies will be displayed above other replies.
681 # - false: Favorite replies will not be displayed above other replies.
682 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
683 # - true
684 # - false
685 &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:
686 # - true: Group is included in the Global Address List.
687 # - false: Group is not included in the Global Address List.
688 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
689 # - true: Archive messages sent to the group.
690 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
691 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
692 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
693 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
694 # - 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.
695 # - false: Members can not post in behalf of the group&#x27;s email address.
696 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
697 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
698 # - 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.
699 # - 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.
700 # - 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.
701 # - 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.
702 # 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.
703 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
704 &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.
705 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
706 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
707 # 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.
708 #
709 # - REPLY_TO_SENDER: The reply sent to author of message.
710 # - REPLY_TO_LIST: This reply message is sent to the group.
711 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
712 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
713 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
714 &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:
715 # - true: When a message is rejected, send the deny message notification to the message author.
716 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
717 #
718 # - false: When a message is rejected, no notification is sent.
719 &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:
720 # - true: All groups in the account are listed in the Groups directory.
721 # - false: All groups in the account are not listed in the directory.
722 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
723 # - ALLOW: Post the message to the group.
724 # - MODERATE: Send the message to the moderation queue. This is the default.
725 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
726 # - REJECT: Immediately reject the message.
727 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
728 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
729 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
730 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
731 # - NONE_CAN_ADD: No one can directly add new members.
732 &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;.
733 &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:
734 # - ALL_MEMBERS_CAN_APPROVE
735 # - ALL_MANAGERS_CAN_APPROVE
736 # - ALL_OWNERS_CAN_APPROVE
737 # - NONE_CAN_APPROVE
738 &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:
739 # - ALL_MEMBERS
740 # - OWNERS_AND_MANAGERS
741 # - OWNERS_ONLY
742 # - NONE
743 &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:
744 # - ALL_MEMBERS
745 # - OWNERS_AND_MANAGERS
746 # - MANAGERS_ONLY
747 # - OWNERS_ONLY
748 # - NONE
749 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
750 # - ALL_MEMBERS
751 # - OWNERS_AND_MANAGERS
752 # - MANAGERS_ONLY
753 # - OWNERS_ONLY
754 # - NONE
755 &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:
756 # - ALL_MEMBERS
757 # - OWNERS_AND_MANAGERS
758 # - OWNERS_ONLY
759 # - NONE
760 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
761 # - ALL_IN_DOMAIN_CAN_CONTACT
762 # - ALL_MANAGERS_CAN_CONTACT
763 # - ALL_MEMBERS_CAN_CONTACT
764 # - ANYONE_CAN_CONTACT
765 &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:
766 # - ALL_MEMBERS
767 # - OWNERS_AND_MANAGERS
768 # - OWNERS_ONLY
769 # - NONE
770 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
771 # - ALL_MEMBERS
772 # - OWNERS_AND_MANAGERS
773 # - OWNERS_ONLY
774 # - NONE
775 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
776 # - ANYONE_CAN_DISCOVER
777 # - ALL_IN_DOMAIN_CAN_DISCOVER
778 # - ALL_MEMBERS_CAN_DISCOVER
779 &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:
780 # - ALL_MEMBERS
781 # - OWNERS_AND_MANAGERS
782 # - MANAGERS_ONLY
783 # - OWNERS_ONLY
784 # - NONE
785 &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:
786 # - ALL_MEMBERS
787 # - OWNERS_AND_MANAGERS
788 # - OWNERS_ONLY
789 # - NONE
790 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
791 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
792 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
793 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
794 # - NONE_CAN_INVITE: No one can invite a new member candidate.
795 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
796 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
797 # - 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.
798 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
799 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
800 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
801 # - ALL_MANAGERS_CAN_LEAVE
802 # - ALL_MEMBERS_CAN_LEAVE
803 # - NONE_CAN_LEAVE
804 &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:
805 # - ALL_MEMBERS
806 # - OWNERS_AND_MANAGERS
807 # - OWNERS_ONLY
808 # - NONE
809 &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:
810 # - ALL_MEMBERS
811 # - OWNERS_AND_MANAGERS
812 # - OWNERS_ONLY
813 # - NONE
814 &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:
815 # - ALL_MEMBERS
816 # - OWNERS_AND_MANAGERS
817 # - MANAGERS_ONLY
818 # - OWNERS_ONLY
819 # - NONE
820 &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:
821 # - ALL_MEMBERS
822 # - OWNERS_AND_MANAGERS
823 # - MANAGERS_ONLY
824 # - OWNERS_ONLY
825 # - NONE
826 &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:
827 # - ALL_MEMBERS
828 # - OWNERS_AND_MANAGERS
829 # - MANAGERS_ONLY
830 # - OWNERS_ONLY
831 # - NONE
832 &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:
833 # - ALL_MEMBERS
834 # - OWNERS_AND_MANAGERS
835 # - MANAGERS_ONLY
836 # - OWNERS_ONLY
837 # - NONE
838 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
839 # - ALL_MEMBERS
840 # - OWNERS_AND_MANAGERS
841 # - OWNERS_ONLY
842 # - NONE
843 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
844 # - ALL_MEMBERS
845 # - OWNERS_AND_MANAGERS
846 # - OWNERS_ONLY
847 # - NONE
848 &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:
849 # - ALL_MEMBERS
850 # - OWNERS_AND_MANAGERS
851 # - OWNERS_ONLY
852 # - NONE
853 &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:
854 # - ALL_MEMBERS
855 # - OWNERS_AND_MANAGERS
856 # - MANAGERS_ONLY
857 # - OWNERS_ONLY
858 # - NONE
859 &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:
860 # - ALL_MEMBERS
861 # - OWNERS_AND_MANAGERS
862 # - OWNERS_ONLY
863 # - NONE
864 &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:
865 # - ALL_MEMBERS
866 # - OWNERS_AND_MANAGERS
867 # - OWNERS_ONLY
868 # - NONE
869 &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:
870 # - ALL_MEMBERS
871 # - OWNERS_AND_MANAGERS
872 # - OWNERS_ONLY
873 # - NONE
874 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
875 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
876 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
877 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
878 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
879 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
880 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
881 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
882 # - 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.
883 &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:
884 # - ALL_MEMBERS
885 # - OWNERS_AND_MANAGERS
886 # - MANAGERS_ONLY
887 # - OWNERS_ONLY
888 # - NONE
889 &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:
890 # - ALL_MEMBERS
891 # - OWNERS_AND_MANAGERS
892 # - MANAGERS_ONLY
893 # - OWNERS_ONLY
894 # - NONE
895 &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:
896 # - ALL_MEMBERS
897 # - OWNERS_AND_MANAGERS
898 # - MANAGERS_ONLY
899 # - OWNERS_ONLY
900 # - NONE
901 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
902 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
903 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
904 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
905 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
906 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
907 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
908 # If a group already has external members, those members can still send email to this group.
909 #
910 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
911 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
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 Botcc94ec82021-01-15 07:10:04 -0800925 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
926 # - true: G Suite users external to your organization can become members of this group.
927 # - false: Users not belonging to the organization are not allowed to become members of this group.
928 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
929 # - 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.
930 # - false: Google can not contact managers of this group.
931 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
932 # - true: Allows any member to post to the group forum.
933 # - false: Members only use Gmail to communicate with the group.
934 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
935 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
936 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
937 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
938 # - false: The group is active and can receive messages.
939 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
940 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
941 &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.
942 # - 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.
943 # - 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.
944 &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:
945 # - true
946 # - false
947 &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.
948 &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.
949 &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.
950 # 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.
951 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
952 # - true
953 # - false
954 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
955 # - true: Favorite replies will be displayed above other replies.
956 # - false: Favorite replies will not be displayed above other replies.
957 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
958 # - true
959 # - false
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800960 &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:
961 # - true: Group is included in the Global Address List.
962 # - false: Group is not included in the Global Address List.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800963 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
964 # - true: Archive messages sent to the group.
965 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
966 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
967 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
968 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
969 # - 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.
970 # - false: Members can not post in behalf of the group&#x27;s email address.
971 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800972 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
973 # - 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.
974 # - 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.
975 # - 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.
976 # - 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.
977 # 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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800978 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
979 &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 Botb6971b02020-11-26 17:16:03 -0800980 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
981 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
982 # 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.
983 #
984 # - REPLY_TO_SENDER: The reply sent to author of message.
985 # - REPLY_TO_LIST: This reply message is sent to the group.
986 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
987 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
988 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800989 &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:
990 # - true: When a message is rejected, send the deny message notification to the message author.
991 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
992 #
993 # - false: When a message is rejected, no notification is sent.
994 &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:
995 # - true: All groups in the account are listed in the Groups directory.
996 # - false: All groups in the account are not listed in the directory.
997 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
998 # - ALLOW: Post the message to the group.
999 # - MODERATE: Send the message to the moderation queue. This is the default.
1000 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1001 # - REJECT: Immediately reject the message.
1002 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1003 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1004 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1005 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1006 # - NONE_CAN_ADD: No one can directly add new members.
1007 &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;.
1008 &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:
1009 # - ALL_MEMBERS_CAN_APPROVE
1010 # - ALL_MANAGERS_CAN_APPROVE
1011 # - ALL_OWNERS_CAN_APPROVE
1012 # - NONE_CAN_APPROVE
1013 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001014 # - ALL_MEMBERS
1015 # - OWNERS_AND_MANAGERS
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001016 # - OWNERS_ONLY
1017 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001018 &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:
1019 # - ALL_MEMBERS
1020 # - OWNERS_AND_MANAGERS
1021 # - MANAGERS_ONLY
1022 # - OWNERS_ONLY
1023 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001024 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001025 # - ALL_MEMBERS
1026 # - OWNERS_AND_MANAGERS
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001027 # - MANAGERS_ONLY
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001028 # - OWNERS_ONLY
1029 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001030 &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:
1031 # - ALL_MEMBERS
1032 # - OWNERS_AND_MANAGERS
1033 # - OWNERS_ONLY
1034 # - NONE
1035 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
1036 # - ALL_IN_DOMAIN_CAN_CONTACT
1037 # - ALL_MANAGERS_CAN_CONTACT
1038 # - ALL_MEMBERS_CAN_CONTACT
1039 # - ANYONE_CAN_CONTACT
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001040 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001041 # - ALL_MEMBERS
1042 # - OWNERS_AND_MANAGERS
1043 # - OWNERS_ONLY
1044 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001045 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001046 # - ALL_MEMBERS
1047 # - OWNERS_AND_MANAGERS
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001048 # - OWNERS_ONLY
1049 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001050 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1051 # - ANYONE_CAN_DISCOVER
1052 # - ALL_IN_DOMAIN_CAN_DISCOVER
1053 # - ALL_MEMBERS_CAN_DISCOVER
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001054 &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:
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001055 # - ALL_MEMBERS
1056 # - OWNERS_AND_MANAGERS
1057 # - MANAGERS_ONLY
1058 # - OWNERS_ONLY
1059 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001060 &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:
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001061 # - ALL_MEMBERS
1062 # - OWNERS_AND_MANAGERS
1063 # - OWNERS_ONLY
1064 # - NONE
1065 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1066 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1067 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1068 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1069 # - NONE_CAN_INVITE: No one can invite a new member candidate.
1070 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
1071 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
1072 # - 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.
1073 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
1074 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001075 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
1076 # - ALL_MANAGERS_CAN_LEAVE
1077 # - ALL_MEMBERS_CAN_LEAVE
1078 # - NONE_CAN_LEAVE
1079 &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:
1080 # - ALL_MEMBERS
1081 # - OWNERS_AND_MANAGERS
1082 # - OWNERS_ONLY
1083 # - NONE
1084 &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:
1085 # - ALL_MEMBERS
1086 # - OWNERS_AND_MANAGERS
1087 # - OWNERS_ONLY
1088 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001089 &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:
1090 # - ALL_MEMBERS
1091 # - OWNERS_AND_MANAGERS
1092 # - MANAGERS_ONLY
1093 # - OWNERS_ONLY
1094 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001095 &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:
1096 # - ALL_MEMBERS
1097 # - OWNERS_AND_MANAGERS
1098 # - MANAGERS_ONLY
1099 # - OWNERS_ONLY
1100 # - NONE
1101 &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:
1102 # - ALL_MEMBERS
1103 # - OWNERS_AND_MANAGERS
1104 # - MANAGERS_ONLY
1105 # - OWNERS_ONLY
1106 # - NONE
1107 &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:
1108 # - ALL_MEMBERS
1109 # - OWNERS_AND_MANAGERS
1110 # - MANAGERS_ONLY
1111 # - OWNERS_ONLY
1112 # - NONE
1113 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
1114 # - ALL_MEMBERS
1115 # - OWNERS_AND_MANAGERS
1116 # - OWNERS_ONLY
1117 # - NONE
1118 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
1119 # - ALL_MEMBERS
1120 # - OWNERS_AND_MANAGERS
1121 # - OWNERS_ONLY
1122 # - NONE
1123 &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:
1124 # - ALL_MEMBERS
1125 # - OWNERS_AND_MANAGERS
1126 # - OWNERS_ONLY
1127 # - NONE
1128 &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:
1129 # - ALL_MEMBERS
1130 # - OWNERS_AND_MANAGERS
1131 # - MANAGERS_ONLY
1132 # - OWNERS_ONLY
1133 # - NONE
1134 &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:
1135 # - ALL_MEMBERS
1136 # - OWNERS_AND_MANAGERS
1137 # - OWNERS_ONLY
1138 # - NONE
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001139 &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:
1140 # - ALL_MEMBERS
1141 # - OWNERS_AND_MANAGERS
1142 # - OWNERS_ONLY
1143 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001144 &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:
1145 # - ALL_MEMBERS
1146 # - OWNERS_AND_MANAGERS
1147 # - OWNERS_ONLY
1148 # - NONE
1149 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1150 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1151 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1152 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1153 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1154 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1155 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1156 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1157 # - 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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001158 &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:
1159 # - ALL_MEMBERS
1160 # - OWNERS_AND_MANAGERS
1161 # - MANAGERS_ONLY
1162 # - OWNERS_ONLY
1163 # - NONE
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001164 &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:
1165 # - ALL_MEMBERS
1166 # - OWNERS_AND_MANAGERS
1167 # - MANAGERS_ONLY
1168 # - OWNERS_ONLY
1169 # - NONE
1170 &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:
1171 # - ALL_MEMBERS
1172 # - OWNERS_AND_MANAGERS
1173 # - MANAGERS_ONLY
1174 # - OWNERS_ONLY
1175 # - NONE
1176 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
1177 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
1178 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
1179 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
1180 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
1181 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
1182 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1183 # If a group already has external members, those members can still send email to this group.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001184 #
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001185 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1186 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001187}
1188
1189
1190Returns:
1191 An object of the form:
1192
1193 { # JSON template for Group resource
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001194 &quot;allowExternalMembers&quot;: &quot;A String&quot;, # Identifies whether members external to your organization can join the group. Possible values are:
1195 # - true: G Suite users external to your organization can become members of this group.
1196 # - false: Users not belonging to the organization are not allowed to become members of this group.
1197 &quot;allowGoogleCommunication&quot;: &quot;A String&quot;, # Deprecated. Allows Google to contact administrator of the group.
1198 # - 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.
1199 # - false: Google can not contact managers of this group.
1200 &quot;allowWebPosting&quot;: &quot;A String&quot;, # Allows posting from web. Possible values are:
1201 # - true: Allows any member to post to the group forum.
1202 # - false: Members only use Gmail to communicate with the group.
1203 &quot;archiveOnly&quot;: &quot;A String&quot;, # Allows the group to be archived only. Possible values are:
1204 # - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
1205 # - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
1206 # - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1207 # - false: The group is active and can receive messages.
1208 # - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1209 &quot;customFooterText&quot;: &quot;A String&quot;, # Set the content of custom footer text. The maximum number of characters is 1,000.
1210 &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.
1211 # - 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.
1212 # - 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.
1213 &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:
1214 # - true
1215 # - false
1216 &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.
1217 &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.
1218 &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.
1219 # 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.
1220 &quot;enableCollaborativeInbox&quot;: &quot;A String&quot;, # Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
1221 # - true
1222 # - false
1223 &quot;favoriteRepliesOnTop&quot;: &quot;A String&quot;, # Indicates if favorite replies should be displayed above other replies.
1224 # - true: Favorite replies will be displayed above other replies.
1225 # - false: Favorite replies will not be displayed above other replies.
1226 &quot;includeCustomFooter&quot;: &quot;A String&quot;, # Whether to include custom footer. Possible values are:
1227 # - true
1228 # - false
1229 &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:
1230 # - true: Group is included in the Global Address List.
1231 # - false: Group is not included in the Global Address List.
1232 &quot;isArchived&quot;: &quot;A String&quot;, # Allows the Group contents to be archived. Possible values are:
1233 # - true: Archive messages sent to the group.
1234 # - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
1235 &quot;kind&quot;: &quot;groupsSettings#groups&quot;, # The type of the resource. It is always groupsSettings#groups.
1236 &quot;maxMessageBytes&quot;: 42, # Deprecated. The maximum size of a message is 25Mb.
1237 &quot;membersCanPostAsTheGroup&quot;: &quot;A String&quot;, # Enables members to post messages as the group. Possible values are:
1238 # - 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.
1239 # - false: Members can not post in behalf of the group&#x27;s email address.
1240 &quot;messageDisplayFont&quot;: &quot;A String&quot;, # Deprecated. The default message display font always has a value of &quot;DEFAULT_FONT&quot;.
1241 &quot;messageModerationLevel&quot;: &quot;A String&quot;, # Moderation level of incoming messages. Possible values are:
1242 # - 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.
1243 # - 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.
1244 # - 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.
1245 # - 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.
1246 # 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.
1247 &quot;name&quot;: &quot;A String&quot;, # Name of the group, which has a maximum size of 75 characters.
1248 &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.
1249 &quot;replyTo&quot;: &quot;A String&quot;, # Specifies who receives the default reply. Possible values are:
1250 # - REPLY_TO_CUSTOM: For replies to messages, use the group&#x27;s custom email address.
1251 # 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.
1252 #
1253 # - REPLY_TO_SENDER: The reply sent to author of message.
1254 # - REPLY_TO_LIST: This reply message is sent to the group.
1255 # - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group&#x27;s managers.
1256 # - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
1257 # - REPLY_TO_MANAGERS: This reply message is sent to the group&#x27;s managers, which includes all managers and the group owner.
1258 &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:
1259 # - true: When a message is rejected, send the deny message notification to the message author.
1260 # The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
1261 #
1262 # - false: When a message is rejected, no notification is sent.
1263 &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:
1264 # - true: All groups in the account are listed in the Groups directory.
1265 # - false: All groups in the account are not listed in the directory.
1266 &quot;spamModerationLevel&quot;: &quot;A String&quot;, # Specifies moderation levels for messages detected as spam. Possible values are:
1267 # - ALLOW: Post the message to the group.
1268 # - MODERATE: Send the message to the moderation queue. This is the default.
1269 # - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
1270 # - REJECT: Immediately reject the message.
1271 &quot;whoCanAdd&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
1272 # - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
1273 # - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group&#x27;s owner.
1274 # - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
1275 # - NONE_CAN_ADD: No one can directly add new members.
1276 &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;.
1277 &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:
1278 # - ALL_MEMBERS_CAN_APPROVE
1279 # - ALL_MANAGERS_CAN_APPROVE
1280 # - ALL_OWNERS_CAN_APPROVE
1281 # - NONE_CAN_APPROVE
1282 &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:
1283 # - ALL_MEMBERS
1284 # - OWNERS_AND_MANAGERS
1285 # - OWNERS_ONLY
1286 # - NONE
1287 &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:
1288 # - ALL_MEMBERS
1289 # - OWNERS_AND_MANAGERS
1290 # - MANAGERS_ONLY
1291 # - OWNERS_ONLY
1292 # - NONE
1293 &quot;whoCanAssistContent&quot;: &quot;A String&quot;, # Specifies who can moderate metadata. Possible values are:
1294 # - ALL_MEMBERS
1295 # - OWNERS_AND_MANAGERS
1296 # - MANAGERS_ONLY
1297 # - OWNERS_ONLY
1298 # - NONE
1299 &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:
1300 # - ALL_MEMBERS
1301 # - OWNERS_AND_MANAGERS
1302 # - OWNERS_ONLY
1303 # - NONE
1304 &quot;whoCanContactOwner&quot;: &quot;A String&quot;, # Permission to contact owner of the group via web UI. Possible values are:
1305 # - ALL_IN_DOMAIN_CAN_CONTACT
1306 # - ALL_MANAGERS_CAN_CONTACT
1307 # - ALL_MEMBERS_CAN_CONTACT
1308 # - ANYONE_CAN_CONTACT
1309 &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:
1310 # - ALL_MEMBERS
1311 # - OWNERS_AND_MANAGERS
1312 # - OWNERS_ONLY
1313 # - NONE
1314 &quot;whoCanDeleteTopics&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
1315 # - ALL_MEMBERS
1316 # - OWNERS_AND_MANAGERS
1317 # - OWNERS_ONLY
1318 # - NONE
1319 &quot;whoCanDiscoverGroup&quot;: &quot;A String&quot;, # Specifies the set of users for whom this group is discoverable. Possible values are:
1320 # - ANYONE_CAN_DISCOVER
1321 # - ALL_IN_DOMAIN_CAN_DISCOVER
1322 # - ALL_MEMBERS_CAN_DISCOVER
1323 &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:
1324 # - ALL_MEMBERS
1325 # - OWNERS_AND_MANAGERS
1326 # - MANAGERS_ONLY
1327 # - OWNERS_ONLY
1328 # - NONE
1329 &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:
1330 # - ALL_MEMBERS
1331 # - OWNERS_AND_MANAGERS
1332 # - OWNERS_ONLY
1333 # - NONE
1334 &quot;whoCanInvite&quot;: &quot;A String&quot;, # Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
1335 # - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
1336 # - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group&#x27;s owner.
1337 # - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
1338 # - NONE_CAN_INVITE: No one can invite a new member candidate.
1339 &quot;whoCanJoin&quot;: &quot;A String&quot;, # Permission to join group. Possible values are:
1340 # - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
1341 # - 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.
1342 # - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
1343 # - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
1344 &quot;whoCanLeaveGroup&quot;: &quot;A String&quot;, # Permission to leave the group. Possible values are:
1345 # - ALL_MANAGERS_CAN_LEAVE
1346 # - ALL_MEMBERS_CAN_LEAVE
1347 # - NONE_CAN_LEAVE
1348 &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:
1349 # - ALL_MEMBERS
1350 # - OWNERS_AND_MANAGERS
1351 # - OWNERS_ONLY
1352 # - NONE
1353 &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:
1354 # - ALL_MEMBERS
1355 # - OWNERS_AND_MANAGERS
1356 # - OWNERS_ONLY
1357 # - NONE
1358 &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:
1359 # - ALL_MEMBERS
1360 # - OWNERS_AND_MANAGERS
1361 # - MANAGERS_ONLY
1362 # - OWNERS_ONLY
1363 # - NONE
1364 &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:
1365 # - ALL_MEMBERS
1366 # - OWNERS_AND_MANAGERS
1367 # - MANAGERS_ONLY
1368 # - OWNERS_ONLY
1369 # - NONE
1370 &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:
1371 # - ALL_MEMBERS
1372 # - OWNERS_AND_MANAGERS
1373 # - MANAGERS_ONLY
1374 # - OWNERS_ONLY
1375 # - NONE
1376 &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:
1377 # - ALL_MEMBERS
1378 # - OWNERS_AND_MANAGERS
1379 # - MANAGERS_ONLY
1380 # - OWNERS_ONLY
1381 # - NONE
1382 &quot;whoCanModerateContent&quot;: &quot;A String&quot;, # Specifies who can moderate content. Possible values are:
1383 # - ALL_MEMBERS
1384 # - OWNERS_AND_MANAGERS
1385 # - OWNERS_ONLY
1386 # - NONE
1387 &quot;whoCanModerateMembers&quot;: &quot;A String&quot;, # Specifies who can manage members. Possible values are:
1388 # - ALL_MEMBERS
1389 # - OWNERS_AND_MANAGERS
1390 # - OWNERS_ONLY
1391 # - NONE
1392 &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:
1393 # - ALL_MEMBERS
1394 # - OWNERS_AND_MANAGERS
1395 # - OWNERS_ONLY
1396 # - NONE
1397 &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:
1398 # - ALL_MEMBERS
1399 # - OWNERS_AND_MANAGERS
1400 # - MANAGERS_ONLY
1401 # - OWNERS_ONLY
1402 # - NONE
1403 &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:
1404 # - ALL_MEMBERS
1405 # - OWNERS_AND_MANAGERS
1406 # - OWNERS_ONLY
1407 # - NONE
1408 &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:
1409 # - ALL_MEMBERS
1410 # - OWNERS_AND_MANAGERS
1411 # - OWNERS_ONLY
1412 # - NONE
1413 &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:
1414 # - ALL_MEMBERS
1415 # - OWNERS_AND_MANAGERS
1416 # - OWNERS_ONLY
1417 # - NONE
1418 &quot;whoCanPostMessage&quot;: &quot;A String&quot;, # Permissions to post messages. Possible values are:
1419 # - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
1420 # - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
1421 # - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
1422 # - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
1423 # - ALL_MEMBERS_CAN_POST: Any group member can post a message.
1424 # - ALL_OWNERS_CAN_POST: Only group owners can post a message.
1425 # - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
1426 # - 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.
1427 &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:
1428 # - ALL_MEMBERS
1429 # - OWNERS_AND_MANAGERS
1430 # - MANAGERS_ONLY
1431 # - OWNERS_ONLY
1432 # - NONE
1433 &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:
1434 # - ALL_MEMBERS
1435 # - OWNERS_AND_MANAGERS
1436 # - MANAGERS_ONLY
1437 # - OWNERS_ONLY
1438 # - NONE
1439 &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:
1440 # - ALL_MEMBERS
1441 # - OWNERS_AND_MANAGERS
1442 # - MANAGERS_ONLY
1443 # - OWNERS_ONLY
1444 # - NONE
1445 &quot;whoCanViewGroup&quot;: &quot;A String&quot;, # Permissions to view group messages. Possible values are:
1446 # - ANYONE_CAN_VIEW: Any Internet user can view the group&#x27;s messages.
1447 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group&#x27;s messages.
1448 # - ALL_MEMBERS_CAN_VIEW: All group members can view the group&#x27;s messages.
1449 # - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group&#x27;s messages.
1450 &quot;whoCanViewMembership&quot;: &quot;A String&quot;, # Permissions to view membership. Possible values are:
1451 # - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
1452 # If a group already has external members, those members can still send email to this group.
1453 #
1454 # - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
1455 # - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
1456}</pre>
John Asmuth614db982014-04-24 15:46:26 -04001457</div>
1458
1459</body></html>