v1.d.ts
54.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
/// <reference types="node" />
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
export declare namespace groupssettings_v1 {
export interface Options extends GlobalOptions {
version: 'v1';
}
interface StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth;
/**
* Data format for the response.
*/
alt?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
*/
quotaUser?: string;
/**
* Deprecated. Please use quotaUser instead.
*/
userIp?: string;
}
/**
* Groups Settings API
*
* Manages permission levels and related settings of a group.
*
* @example
* ```js
* const {google} = require('googleapis');
* const groupssettings = google.groupssettings('v1');
* ```
*/
export class Groupssettings {
context: APIRequestContext;
groups: Resource$Groups;
constructor(options: GlobalOptions, google?: GoogleConfigurable);
}
/**
* JSON template for Group resource
*/
export interface Schema$Groups {
/**
* Identifies whether members external to your organization can join the group. Possible values are:
* - true: G Suite users external to your organization can become members of this group.
* - false: Users not belonging to the organization are not allowed to become members of this group.
*/
allowExternalMembers?: string | null;
/**
* Deprecated. Allows Google to contact administrator of the group.
* - 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.
* - false: Google can not contact managers of this group.
*/
allowGoogleCommunication?: string | null;
/**
* Allows posting from web. Possible values are:
* - true: Allows any member to post to the group forum.
* - false: Members only use Gmail to communicate with the group.
*/
allowWebPosting?: string | null;
/**
* Allows the group to be archived only. Possible values are:
* - true: Group is archived and the group is inactive. New messages to this group are rejected. The older archived messages are browseable and searchable.
* - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
* - If reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
* - false: The group is active and can receive messages.
* - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
*/
archiveOnly?: string | null;
/**
* Set the content of custom footer text. The maximum number of characters is 1,000.
*/
customFooterText?: string | null;
/**
* 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.
* - When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property holds a custom email address used when replying to a message.
* - If the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a text value or an error is returned.
*/
customReplyTo?: string | null;
/**
* Specifies whether the group has a custom role that'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:
* - true
* - false
*/
customRolesEnabledForSettingsToBeMerged?: string | null;
/**
* When a message is rejected, this is text for the rejection notification sent to the message's author. By default, this property is empty and has no value in the API's response body. The maximum notification text size is 10,000 characters. Note: Requires sendMessageDenyNotification property to be true.
*/
defaultMessageDenyNotificationText?: string | null;
/**
* 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.
*/
description?: string | null;
/**
* The group's email address. This property can be updated using the Directory API. Note: Only a group owner can change a group's email address. A group manager can't do this.
* When you change your group'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't reach your group by visiting the old address.
*/
email?: string | null;
/**
* Specifies whether a collaborative inbox will remain turned on for the group. Possible values are:
* - true
* - false
*/
enableCollaborativeInbox?: string | null;
/**
* Indicates if favorite replies should be displayed above other replies.
* - true: Favorite replies will be displayed above other replies.
* - false: Favorite replies will not be displayed above other replies.
*/
favoriteRepliesOnTop?: string | null;
/**
* Whether to include custom footer. Possible values are:
* - true
* - false
*/
includeCustomFooter?: string | null;
/**
* Enables the group to be included in the Global Address List. For more information, see the help center. Possible values are:
* - true: Group is included in the Global Address List.
* - false: Group is not included in the Global Address List.
*/
includeInGlobalAddressList?: string | null;
/**
* Allows the Group contents to be archived. Possible values are:
* - true: Archive messages sent to the group.
* - false: Do not keep an archive of messages sent to this group. If false, previously archived messages remain in the archive.
*/
isArchived?: string | null;
/**
* The type of the resource. It is always groupsSettings#groups.
*/
kind?: string | null;
/**
* Deprecated. The maximum size of a message is 25Mb.
*/
maxMessageBytes?: number | null;
/**
* Enables members to post messages as the group. Possible values are:
* - true: Group member can post messages using the group'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.
* - false: Members can not post in behalf of the group's email address.
*/
membersCanPostAsTheGroup?: string | null;
/**
* Deprecated. The default message display font always has a value of "DEFAULT_FONT".
*/
messageDisplayFont?: string | null;
/**
* Moderation level of incoming messages. Possible values are:
* - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email address for approval. If approved, the message is sent to the group.
* - MODERATE_NON_MEMBERS: All messages from non group members are sent to the group owner's email address for approval. If approved, the message is sent to the group.
* - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group owner's email address for approval. If approved, the message is sent to the group.
* - 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.
* 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.
*/
messageModerationLevel?: string | null;
/**
* Name of the group, which has a maximum size of 75 characters.
*/
name?: string | null;
/**
* The primary language for group. For a group's primary language use the language tags from the G Suite languages found at G Suite Email Settings API Email Language Tags.
*/
primaryLanguage?: string | null;
/**
* Specifies who receives the default reply. Possible values are:
* - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email address.
* When the group'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's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo property must have a value. Otherwise an error is returned.
*
* - REPLY_TO_SENDER: The reply sent to author of message.
* - REPLY_TO_LIST: This reply message is sent to the group.
* - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does not include the group's managers.
* - REPLY_TO_IGNORE: Group users individually decide where the message reply is sent.
* - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which includes all managers and the group owner.
*/
replyTo?: string | null;
/**
* Allows a member to be notified if the member's message to the group is denied by the group owner. Possible values are:
* - true: When a message is rejected, send the deny message notification to the message author.
* The defaultMessageDenyNotificationText property is dependent on the sendMessageDenyNotification property being true.
*
* - false: When a message is rejected, no notification is sent.
*/
sendMessageDenyNotification?: string | null;
/**
* Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows the group to be visible in the Groups Directory. Possible values are:
* - true: All groups in the account are listed in the Groups directory.
* - false: All groups in the account are not listed in the directory.
*/
showInGroupDirectory?: string | null;
/**
* Specifies moderation levels for messages detected as spam. Possible values are:
* - ALLOW: Post the message to the group.
* - MODERATE: Send the message to the moderation queue. This is the default.
* - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send notification to moderators.
* - REJECT: Immediately reject the message.
*/
spamModerationLevel?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to add members. Possible values are:
* - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
* - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this includes the group's owner.
* - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
* - NONE_CAN_ADD: No one can directly add new members.
*/
whoCanAdd?: string | null;
/**
* Deprecated. This functionality is no longer supported in the Google Groups UI. The value is always "NONE".
*/
whoCanAddReferences?: string | null;
/**
* 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:
* - ALL_MEMBERS_CAN_APPROVE
* - ALL_MANAGERS_CAN_APPROVE
* - ALL_OWNERS_CAN_APPROVE
* - NONE_CAN_APPROVE
*/
whoCanApproveMembers?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can approve pending messages in the moderation queue. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanApproveMessages?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to assign topics in a forum to another user. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanAssignTopics?: string | null;
/**
* Specifies who can moderate metadata. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanAssistContent?: string | null;
/**
* Specifies who can deny membership to users. This permission will be deprecated once it is merged into the new whoCanModerateMembers setting. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanBanUsers?: string | null;
/**
* Permission to contact owner of the group via web UI. Possible values are:
* - ALL_IN_DOMAIN_CAN_CONTACT
* - ALL_MANAGERS_CAN_CONTACT
* - ALL_MEMBERS_CAN_CONTACT
* - ANYONE_CAN_CONTACT
* - ALL_OWNERS_CAN_CONTACT
*/
whoCanContactOwner?: string | null;
/**
* 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:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanDeleteAnyPost?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can delete topics. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanDeleteTopics?: string | null;
/**
* Specifies the set of users for whom this group is discoverable. Possible values are:
* - ANYONE_CAN_DISCOVER
* - ALL_IN_DOMAIN_CAN_DISCOVER
* - ALL_MEMBERS_CAN_DISCOVER
*/
whoCanDiscoverGroup?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to enter free form tags for topics in a forum. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanEnterFreeFormTags?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can hide posts by reporting them as abuse. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanHideAbuse?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateMembers setting. Permissions to invite new members. Possible values are:
* - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member candidate.
* - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This includes the group's owner.
* - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
* - NONE_CAN_INVITE: No one can invite a new member candidate.
*/
whoCanInvite?: string | null;
/**
* Permission to join group. Possible values are:
* - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes accounts with multiple domains.
* - 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' groups remain in those groups.
* - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
* - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
*/
whoCanJoin?: string | null;
/**
* Permission to leave the group. Possible values are:
* - ALL_MANAGERS_CAN_LEAVE
* - ALL_MEMBERS_CAN_LEAVE
* - NONE_CAN_LEAVE
*/
whoCanLeaveGroup?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can prevent users from posting replies to topics. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanLockTopics?: string | null;
/**
* 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:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanMakeTopicsSticky?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as a duplicate of another topic. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanMarkDuplicate?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark any other user's post as a favorite reply. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanMarkFavoriteReplyOnAnyTopic?: string | null;
/**
* 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:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanMarkFavoriteReplyOnOwnTopic?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to mark a topic as not needing a response. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanMarkNoResponseNeeded?: string | null;
/**
* Specifies who can moderate content. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanModerateContent?: string | null;
/**
* Specifies who can manage members. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanModerateMembers?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateMembers setting. Specifies who can change group members' roles. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanModifyMembers?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to change tags and categories. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanModifyTagsAndCategories?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics into the group or forum. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanMoveTopicsIn?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can move topics out of the group or forum. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanMoveTopicsOut?: string | null;
/**
* Deprecated. This is merged into the new whoCanModerateContent setting. Specifies who can post announcements, a special topic type. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - OWNERS_ONLY
* - NONE
*/
whoCanPostAnnouncements?: string | null;
/**
* Permissions to post messages. Possible values are:
* - NONE_CAN_POST: The group is disabled and archived. No one can post a message to this group.
* - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
* - If archiveOnly is reverted from true to false, whoCanPostMessages is set to ALL_MANAGERS_CAN_POST.
* - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
* - ALL_MEMBERS_CAN_POST: Any group member can post a message.
* - ALL_OWNERS_CAN_POST: Only group owners can post a message.
* - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
* - 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.
*/
whoCanPostMessage?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to take topics in a forum. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanTakeTopics?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unassign any topic in a forum. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanUnassignTopic?: string | null;
/**
* Deprecated. This is merged into the new whoCanAssistContent setting. Permission to unmark any post from a favorite reply. Possible values are:
* - ALL_MEMBERS
* - OWNERS_AND_MANAGERS
* - MANAGERS_ONLY
* - OWNERS_ONLY
* - NONE
*/
whoCanUnmarkFavoriteReplyOnAnyTopic?: string | null;
/**
* Permissions to view group messages. Possible values are:
* - ANYONE_CAN_VIEW: Any Internet user can view the group's messages.
* - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's messages.
* - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages.
* - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages.
*/
whoCanViewGroup?: string | null;
/**
* Permissions to view membership. Possible values are:
* - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members list.
* If a group already has external members, those members can still send email to this group.
*
* - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
* - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
*/
whoCanViewMembership?: string | null;
}
export class Resource$Groups {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* Gets one resource by id.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/groupssettings.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const groupssettings = google.groupssettings('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/apps.groups.settings'],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await groupsSettings.groups.get({
* // The group's email address.
* groupUniqueId: 'placeholder-value',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "allowExternalMembers": "my_allowExternalMembers",
* // "allowGoogleCommunication": "my_allowGoogleCommunication",
* // "allowWebPosting": "my_allowWebPosting",
* // "archiveOnly": "my_archiveOnly",
* // "customFooterText": "my_customFooterText",
* // "customReplyTo": "my_customReplyTo",
* // "customRolesEnabledForSettingsToBeMerged": "my_customRolesEnabledForSettingsToBeMerged",
* // "defaultMessageDenyNotificationText": "my_defaultMessageDenyNotificationText",
* // "description": "my_description",
* // "email": "my_email",
* // "enableCollaborativeInbox": "my_enableCollaborativeInbox",
* // "favoriteRepliesOnTop": "my_favoriteRepliesOnTop",
* // "includeCustomFooter": "my_includeCustomFooter",
* // "includeInGlobalAddressList": "my_includeInGlobalAddressList",
* // "isArchived": "my_isArchived",
* // "kind": "my_kind",
* // "maxMessageBytes": 0,
* // "membersCanPostAsTheGroup": "my_membersCanPostAsTheGroup",
* // "messageDisplayFont": "my_messageDisplayFont",
* // "messageModerationLevel": "my_messageModerationLevel",
* // "name": "my_name",
* // "primaryLanguage": "my_primaryLanguage",
* // "replyTo": "my_replyTo",
* // "sendMessageDenyNotification": "my_sendMessageDenyNotification",
* // "showInGroupDirectory": "my_showInGroupDirectory",
* // "spamModerationLevel": "my_spamModerationLevel",
* // "whoCanAdd": "my_whoCanAdd",
* // "whoCanAddReferences": "my_whoCanAddReferences",
* // "whoCanApproveMembers": "my_whoCanApproveMembers",
* // "whoCanApproveMessages": "my_whoCanApproveMessages",
* // "whoCanAssignTopics": "my_whoCanAssignTopics",
* // "whoCanAssistContent": "my_whoCanAssistContent",
* // "whoCanBanUsers": "my_whoCanBanUsers",
* // "whoCanContactOwner": "my_whoCanContactOwner",
* // "whoCanDeleteAnyPost": "my_whoCanDeleteAnyPost",
* // "whoCanDeleteTopics": "my_whoCanDeleteTopics",
* // "whoCanDiscoverGroup": "my_whoCanDiscoverGroup",
* // "whoCanEnterFreeFormTags": "my_whoCanEnterFreeFormTags",
* // "whoCanHideAbuse": "my_whoCanHideAbuse",
* // "whoCanInvite": "my_whoCanInvite",
* // "whoCanJoin": "my_whoCanJoin",
* // "whoCanLeaveGroup": "my_whoCanLeaveGroup",
* // "whoCanLockTopics": "my_whoCanLockTopics",
* // "whoCanMakeTopicsSticky": "my_whoCanMakeTopicsSticky",
* // "whoCanMarkDuplicate": "my_whoCanMarkDuplicate",
* // "whoCanMarkFavoriteReplyOnAnyTopic": "my_whoCanMarkFavoriteReplyOnAnyTopic",
* // "whoCanMarkFavoriteReplyOnOwnTopic": "my_whoCanMarkFavoriteReplyOnOwnTopic",
* // "whoCanMarkNoResponseNeeded": "my_whoCanMarkNoResponseNeeded",
* // "whoCanModerateContent": "my_whoCanModerateContent",
* // "whoCanModerateMembers": "my_whoCanModerateMembers",
* // "whoCanModifyMembers": "my_whoCanModifyMembers",
* // "whoCanModifyTagsAndCategories": "my_whoCanModifyTagsAndCategories",
* // "whoCanMoveTopicsIn": "my_whoCanMoveTopicsIn",
* // "whoCanMoveTopicsOut": "my_whoCanMoveTopicsOut",
* // "whoCanPostAnnouncements": "my_whoCanPostAnnouncements",
* // "whoCanPostMessage": "my_whoCanPostMessage",
* // "whoCanTakeTopics": "my_whoCanTakeTopics",
* // "whoCanUnassignTopic": "my_whoCanUnassignTopic",
* // "whoCanUnmarkFavoriteReplyOnAnyTopic": "my_whoCanUnmarkFavoriteReplyOnAnyTopic",
* // "whoCanViewGroup": "my_whoCanViewGroup",
* // "whoCanViewMembership": "my_whoCanViewMembership"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
get(params: Params$Resource$Groups$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
get(params?: Params$Resource$Groups$Get, options?: MethodOptions): GaxiosPromise<Schema$Groups>;
get(params: Params$Resource$Groups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
get(params: Params$Resource$Groups$Get, options: MethodOptions | BodyResponseCallback<Schema$Groups>, callback: BodyResponseCallback<Schema$Groups>): void;
get(params: Params$Resource$Groups$Get, callback: BodyResponseCallback<Schema$Groups>): void;
get(callback: BodyResponseCallback<Schema$Groups>): void;
/**
* Updates an existing resource. This method supports patch semantics.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/groupssettings.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const groupssettings = google.groupssettings('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/apps.groups.settings'],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await groupsSettings.groups.patch({
* // The group's email address.
* groupUniqueId: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "allowExternalMembers": "my_allowExternalMembers",
* // "allowGoogleCommunication": "my_allowGoogleCommunication",
* // "allowWebPosting": "my_allowWebPosting",
* // "archiveOnly": "my_archiveOnly",
* // "customFooterText": "my_customFooterText",
* // "customReplyTo": "my_customReplyTo",
* // "customRolesEnabledForSettingsToBeMerged": "my_customRolesEnabledForSettingsToBeMerged",
* // "defaultMessageDenyNotificationText": "my_defaultMessageDenyNotificationText",
* // "description": "my_description",
* // "email": "my_email",
* // "enableCollaborativeInbox": "my_enableCollaborativeInbox",
* // "favoriteRepliesOnTop": "my_favoriteRepliesOnTop",
* // "includeCustomFooter": "my_includeCustomFooter",
* // "includeInGlobalAddressList": "my_includeInGlobalAddressList",
* // "isArchived": "my_isArchived",
* // "kind": "my_kind",
* // "maxMessageBytes": 0,
* // "membersCanPostAsTheGroup": "my_membersCanPostAsTheGroup",
* // "messageDisplayFont": "my_messageDisplayFont",
* // "messageModerationLevel": "my_messageModerationLevel",
* // "name": "my_name",
* // "primaryLanguage": "my_primaryLanguage",
* // "replyTo": "my_replyTo",
* // "sendMessageDenyNotification": "my_sendMessageDenyNotification",
* // "showInGroupDirectory": "my_showInGroupDirectory",
* // "spamModerationLevel": "my_spamModerationLevel",
* // "whoCanAdd": "my_whoCanAdd",
* // "whoCanAddReferences": "my_whoCanAddReferences",
* // "whoCanApproveMembers": "my_whoCanApproveMembers",
* // "whoCanApproveMessages": "my_whoCanApproveMessages",
* // "whoCanAssignTopics": "my_whoCanAssignTopics",
* // "whoCanAssistContent": "my_whoCanAssistContent",
* // "whoCanBanUsers": "my_whoCanBanUsers",
* // "whoCanContactOwner": "my_whoCanContactOwner",
* // "whoCanDeleteAnyPost": "my_whoCanDeleteAnyPost",
* // "whoCanDeleteTopics": "my_whoCanDeleteTopics",
* // "whoCanDiscoverGroup": "my_whoCanDiscoverGroup",
* // "whoCanEnterFreeFormTags": "my_whoCanEnterFreeFormTags",
* // "whoCanHideAbuse": "my_whoCanHideAbuse",
* // "whoCanInvite": "my_whoCanInvite",
* // "whoCanJoin": "my_whoCanJoin",
* // "whoCanLeaveGroup": "my_whoCanLeaveGroup",
* // "whoCanLockTopics": "my_whoCanLockTopics",
* // "whoCanMakeTopicsSticky": "my_whoCanMakeTopicsSticky",
* // "whoCanMarkDuplicate": "my_whoCanMarkDuplicate",
* // "whoCanMarkFavoriteReplyOnAnyTopic": "my_whoCanMarkFavoriteReplyOnAnyTopic",
* // "whoCanMarkFavoriteReplyOnOwnTopic": "my_whoCanMarkFavoriteReplyOnOwnTopic",
* // "whoCanMarkNoResponseNeeded": "my_whoCanMarkNoResponseNeeded",
* // "whoCanModerateContent": "my_whoCanModerateContent",
* // "whoCanModerateMembers": "my_whoCanModerateMembers",
* // "whoCanModifyMembers": "my_whoCanModifyMembers",
* // "whoCanModifyTagsAndCategories": "my_whoCanModifyTagsAndCategories",
* // "whoCanMoveTopicsIn": "my_whoCanMoveTopicsIn",
* // "whoCanMoveTopicsOut": "my_whoCanMoveTopicsOut",
* // "whoCanPostAnnouncements": "my_whoCanPostAnnouncements",
* // "whoCanPostMessage": "my_whoCanPostMessage",
* // "whoCanTakeTopics": "my_whoCanTakeTopics",
* // "whoCanUnassignTopic": "my_whoCanUnassignTopic",
* // "whoCanUnmarkFavoriteReplyOnAnyTopic": "my_whoCanUnmarkFavoriteReplyOnAnyTopic",
* // "whoCanViewGroup": "my_whoCanViewGroup",
* // "whoCanViewMembership": "my_whoCanViewMembership"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "allowExternalMembers": "my_allowExternalMembers",
* // "allowGoogleCommunication": "my_allowGoogleCommunication",
* // "allowWebPosting": "my_allowWebPosting",
* // "archiveOnly": "my_archiveOnly",
* // "customFooterText": "my_customFooterText",
* // "customReplyTo": "my_customReplyTo",
* // "customRolesEnabledForSettingsToBeMerged": "my_customRolesEnabledForSettingsToBeMerged",
* // "defaultMessageDenyNotificationText": "my_defaultMessageDenyNotificationText",
* // "description": "my_description",
* // "email": "my_email",
* // "enableCollaborativeInbox": "my_enableCollaborativeInbox",
* // "favoriteRepliesOnTop": "my_favoriteRepliesOnTop",
* // "includeCustomFooter": "my_includeCustomFooter",
* // "includeInGlobalAddressList": "my_includeInGlobalAddressList",
* // "isArchived": "my_isArchived",
* // "kind": "my_kind",
* // "maxMessageBytes": 0,
* // "membersCanPostAsTheGroup": "my_membersCanPostAsTheGroup",
* // "messageDisplayFont": "my_messageDisplayFont",
* // "messageModerationLevel": "my_messageModerationLevel",
* // "name": "my_name",
* // "primaryLanguage": "my_primaryLanguage",
* // "replyTo": "my_replyTo",
* // "sendMessageDenyNotification": "my_sendMessageDenyNotification",
* // "showInGroupDirectory": "my_showInGroupDirectory",
* // "spamModerationLevel": "my_spamModerationLevel",
* // "whoCanAdd": "my_whoCanAdd",
* // "whoCanAddReferences": "my_whoCanAddReferences",
* // "whoCanApproveMembers": "my_whoCanApproveMembers",
* // "whoCanApproveMessages": "my_whoCanApproveMessages",
* // "whoCanAssignTopics": "my_whoCanAssignTopics",
* // "whoCanAssistContent": "my_whoCanAssistContent",
* // "whoCanBanUsers": "my_whoCanBanUsers",
* // "whoCanContactOwner": "my_whoCanContactOwner",
* // "whoCanDeleteAnyPost": "my_whoCanDeleteAnyPost",
* // "whoCanDeleteTopics": "my_whoCanDeleteTopics",
* // "whoCanDiscoverGroup": "my_whoCanDiscoverGroup",
* // "whoCanEnterFreeFormTags": "my_whoCanEnterFreeFormTags",
* // "whoCanHideAbuse": "my_whoCanHideAbuse",
* // "whoCanInvite": "my_whoCanInvite",
* // "whoCanJoin": "my_whoCanJoin",
* // "whoCanLeaveGroup": "my_whoCanLeaveGroup",
* // "whoCanLockTopics": "my_whoCanLockTopics",
* // "whoCanMakeTopicsSticky": "my_whoCanMakeTopicsSticky",
* // "whoCanMarkDuplicate": "my_whoCanMarkDuplicate",
* // "whoCanMarkFavoriteReplyOnAnyTopic": "my_whoCanMarkFavoriteReplyOnAnyTopic",
* // "whoCanMarkFavoriteReplyOnOwnTopic": "my_whoCanMarkFavoriteReplyOnOwnTopic",
* // "whoCanMarkNoResponseNeeded": "my_whoCanMarkNoResponseNeeded",
* // "whoCanModerateContent": "my_whoCanModerateContent",
* // "whoCanModerateMembers": "my_whoCanModerateMembers",
* // "whoCanModifyMembers": "my_whoCanModifyMembers",
* // "whoCanModifyTagsAndCategories": "my_whoCanModifyTagsAndCategories",
* // "whoCanMoveTopicsIn": "my_whoCanMoveTopicsIn",
* // "whoCanMoveTopicsOut": "my_whoCanMoveTopicsOut",
* // "whoCanPostAnnouncements": "my_whoCanPostAnnouncements",
* // "whoCanPostMessage": "my_whoCanPostMessage",
* // "whoCanTakeTopics": "my_whoCanTakeTopics",
* // "whoCanUnassignTopic": "my_whoCanUnassignTopic",
* // "whoCanUnmarkFavoriteReplyOnAnyTopic": "my_whoCanUnmarkFavoriteReplyOnAnyTopic",
* // "whoCanViewGroup": "my_whoCanViewGroup",
* // "whoCanViewMembership": "my_whoCanViewMembership"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
patch(params: Params$Resource$Groups$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
patch(params?: Params$Resource$Groups$Patch, options?: MethodOptions): GaxiosPromise<Schema$Groups>;
patch(params: Params$Resource$Groups$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
patch(params: Params$Resource$Groups$Patch, options: MethodOptions | BodyResponseCallback<Schema$Groups>, callback: BodyResponseCallback<Schema$Groups>): void;
patch(params: Params$Resource$Groups$Patch, callback: BodyResponseCallback<Schema$Groups>): void;
patch(callback: BodyResponseCallback<Schema$Groups>): void;
/**
* Updates an existing resource.
* @example
* ```js
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/groupssettings.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const groupssettings = google.groupssettings('v1');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: ['https://www.googleapis.com/auth/apps.groups.settings'],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options({auth: authClient});
*
* // Do the magic
* const res = await groupsSettings.groups.update({
* // The group's email address.
* groupUniqueId: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "allowExternalMembers": "my_allowExternalMembers",
* // "allowGoogleCommunication": "my_allowGoogleCommunication",
* // "allowWebPosting": "my_allowWebPosting",
* // "archiveOnly": "my_archiveOnly",
* // "customFooterText": "my_customFooterText",
* // "customReplyTo": "my_customReplyTo",
* // "customRolesEnabledForSettingsToBeMerged": "my_customRolesEnabledForSettingsToBeMerged",
* // "defaultMessageDenyNotificationText": "my_defaultMessageDenyNotificationText",
* // "description": "my_description",
* // "email": "my_email",
* // "enableCollaborativeInbox": "my_enableCollaborativeInbox",
* // "favoriteRepliesOnTop": "my_favoriteRepliesOnTop",
* // "includeCustomFooter": "my_includeCustomFooter",
* // "includeInGlobalAddressList": "my_includeInGlobalAddressList",
* // "isArchived": "my_isArchived",
* // "kind": "my_kind",
* // "maxMessageBytes": 0,
* // "membersCanPostAsTheGroup": "my_membersCanPostAsTheGroup",
* // "messageDisplayFont": "my_messageDisplayFont",
* // "messageModerationLevel": "my_messageModerationLevel",
* // "name": "my_name",
* // "primaryLanguage": "my_primaryLanguage",
* // "replyTo": "my_replyTo",
* // "sendMessageDenyNotification": "my_sendMessageDenyNotification",
* // "showInGroupDirectory": "my_showInGroupDirectory",
* // "spamModerationLevel": "my_spamModerationLevel",
* // "whoCanAdd": "my_whoCanAdd",
* // "whoCanAddReferences": "my_whoCanAddReferences",
* // "whoCanApproveMembers": "my_whoCanApproveMembers",
* // "whoCanApproveMessages": "my_whoCanApproveMessages",
* // "whoCanAssignTopics": "my_whoCanAssignTopics",
* // "whoCanAssistContent": "my_whoCanAssistContent",
* // "whoCanBanUsers": "my_whoCanBanUsers",
* // "whoCanContactOwner": "my_whoCanContactOwner",
* // "whoCanDeleteAnyPost": "my_whoCanDeleteAnyPost",
* // "whoCanDeleteTopics": "my_whoCanDeleteTopics",
* // "whoCanDiscoverGroup": "my_whoCanDiscoverGroup",
* // "whoCanEnterFreeFormTags": "my_whoCanEnterFreeFormTags",
* // "whoCanHideAbuse": "my_whoCanHideAbuse",
* // "whoCanInvite": "my_whoCanInvite",
* // "whoCanJoin": "my_whoCanJoin",
* // "whoCanLeaveGroup": "my_whoCanLeaveGroup",
* // "whoCanLockTopics": "my_whoCanLockTopics",
* // "whoCanMakeTopicsSticky": "my_whoCanMakeTopicsSticky",
* // "whoCanMarkDuplicate": "my_whoCanMarkDuplicate",
* // "whoCanMarkFavoriteReplyOnAnyTopic": "my_whoCanMarkFavoriteReplyOnAnyTopic",
* // "whoCanMarkFavoriteReplyOnOwnTopic": "my_whoCanMarkFavoriteReplyOnOwnTopic",
* // "whoCanMarkNoResponseNeeded": "my_whoCanMarkNoResponseNeeded",
* // "whoCanModerateContent": "my_whoCanModerateContent",
* // "whoCanModerateMembers": "my_whoCanModerateMembers",
* // "whoCanModifyMembers": "my_whoCanModifyMembers",
* // "whoCanModifyTagsAndCategories": "my_whoCanModifyTagsAndCategories",
* // "whoCanMoveTopicsIn": "my_whoCanMoveTopicsIn",
* // "whoCanMoveTopicsOut": "my_whoCanMoveTopicsOut",
* // "whoCanPostAnnouncements": "my_whoCanPostAnnouncements",
* // "whoCanPostMessage": "my_whoCanPostMessage",
* // "whoCanTakeTopics": "my_whoCanTakeTopics",
* // "whoCanUnassignTopic": "my_whoCanUnassignTopic",
* // "whoCanUnmarkFavoriteReplyOnAnyTopic": "my_whoCanUnmarkFavoriteReplyOnAnyTopic",
* // "whoCanViewGroup": "my_whoCanViewGroup",
* // "whoCanViewMembership": "my_whoCanViewMembership"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "allowExternalMembers": "my_allowExternalMembers",
* // "allowGoogleCommunication": "my_allowGoogleCommunication",
* // "allowWebPosting": "my_allowWebPosting",
* // "archiveOnly": "my_archiveOnly",
* // "customFooterText": "my_customFooterText",
* // "customReplyTo": "my_customReplyTo",
* // "customRolesEnabledForSettingsToBeMerged": "my_customRolesEnabledForSettingsToBeMerged",
* // "defaultMessageDenyNotificationText": "my_defaultMessageDenyNotificationText",
* // "description": "my_description",
* // "email": "my_email",
* // "enableCollaborativeInbox": "my_enableCollaborativeInbox",
* // "favoriteRepliesOnTop": "my_favoriteRepliesOnTop",
* // "includeCustomFooter": "my_includeCustomFooter",
* // "includeInGlobalAddressList": "my_includeInGlobalAddressList",
* // "isArchived": "my_isArchived",
* // "kind": "my_kind",
* // "maxMessageBytes": 0,
* // "membersCanPostAsTheGroup": "my_membersCanPostAsTheGroup",
* // "messageDisplayFont": "my_messageDisplayFont",
* // "messageModerationLevel": "my_messageModerationLevel",
* // "name": "my_name",
* // "primaryLanguage": "my_primaryLanguage",
* // "replyTo": "my_replyTo",
* // "sendMessageDenyNotification": "my_sendMessageDenyNotification",
* // "showInGroupDirectory": "my_showInGroupDirectory",
* // "spamModerationLevel": "my_spamModerationLevel",
* // "whoCanAdd": "my_whoCanAdd",
* // "whoCanAddReferences": "my_whoCanAddReferences",
* // "whoCanApproveMembers": "my_whoCanApproveMembers",
* // "whoCanApproveMessages": "my_whoCanApproveMessages",
* // "whoCanAssignTopics": "my_whoCanAssignTopics",
* // "whoCanAssistContent": "my_whoCanAssistContent",
* // "whoCanBanUsers": "my_whoCanBanUsers",
* // "whoCanContactOwner": "my_whoCanContactOwner",
* // "whoCanDeleteAnyPost": "my_whoCanDeleteAnyPost",
* // "whoCanDeleteTopics": "my_whoCanDeleteTopics",
* // "whoCanDiscoverGroup": "my_whoCanDiscoverGroup",
* // "whoCanEnterFreeFormTags": "my_whoCanEnterFreeFormTags",
* // "whoCanHideAbuse": "my_whoCanHideAbuse",
* // "whoCanInvite": "my_whoCanInvite",
* // "whoCanJoin": "my_whoCanJoin",
* // "whoCanLeaveGroup": "my_whoCanLeaveGroup",
* // "whoCanLockTopics": "my_whoCanLockTopics",
* // "whoCanMakeTopicsSticky": "my_whoCanMakeTopicsSticky",
* // "whoCanMarkDuplicate": "my_whoCanMarkDuplicate",
* // "whoCanMarkFavoriteReplyOnAnyTopic": "my_whoCanMarkFavoriteReplyOnAnyTopic",
* // "whoCanMarkFavoriteReplyOnOwnTopic": "my_whoCanMarkFavoriteReplyOnOwnTopic",
* // "whoCanMarkNoResponseNeeded": "my_whoCanMarkNoResponseNeeded",
* // "whoCanModerateContent": "my_whoCanModerateContent",
* // "whoCanModerateMembers": "my_whoCanModerateMembers",
* // "whoCanModifyMembers": "my_whoCanModifyMembers",
* // "whoCanModifyTagsAndCategories": "my_whoCanModifyTagsAndCategories",
* // "whoCanMoveTopicsIn": "my_whoCanMoveTopicsIn",
* // "whoCanMoveTopicsOut": "my_whoCanMoveTopicsOut",
* // "whoCanPostAnnouncements": "my_whoCanPostAnnouncements",
* // "whoCanPostMessage": "my_whoCanPostMessage",
* // "whoCanTakeTopics": "my_whoCanTakeTopics",
* // "whoCanUnassignTopic": "my_whoCanUnassignTopic",
* // "whoCanUnmarkFavoriteReplyOnAnyTopic": "my_whoCanUnmarkFavoriteReplyOnAnyTopic",
* // "whoCanViewGroup": "my_whoCanViewGroup",
* // "whoCanViewMembership": "my_whoCanViewMembership"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* ```
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
* @param callback - Optional callback that handles the response.
* @returns A promise if used with async/await, or void if used with a callback.
*/
update(params: Params$Resource$Groups$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
update(params?: Params$Resource$Groups$Update, options?: MethodOptions): GaxiosPromise<Schema$Groups>;
update(params: Params$Resource$Groups$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
update(params: Params$Resource$Groups$Update, options: MethodOptions | BodyResponseCallback<Schema$Groups>, callback: BodyResponseCallback<Schema$Groups>): void;
update(params: Params$Resource$Groups$Update, callback: BodyResponseCallback<Schema$Groups>): void;
update(callback: BodyResponseCallback<Schema$Groups>): void;
}
export interface Params$Resource$Groups$Get extends StandardParameters {
/**
* The group's email address.
*/
groupUniqueId?: string;
}
export interface Params$Resource$Groups$Patch extends StandardParameters {
/**
* The group's email address.
*/
groupUniqueId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Groups;
}
export interface Params$Resource$Groups$Update extends StandardParameters {
/**
* The group's email address.
*/
groupUniqueId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$Groups;
}
export {};
}