| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.GroupsSettings
Contents
Description
Lets you manage permission levels and related settings of a group.
Synopsis
- groupsSettingsService :: ServiceConfig
- appsGroupsSettingsScope :: Proxy '["https://www.googleapis.com/auth/apps.groups.settings"]
- type GroupsSettingsAPI = GroupsPatchResource :<|> (GroupsGetResource :<|> GroupsUpdateResource)
- module Network.Google.Resource.GroupsSettings.Groups.Get
- module Network.Google.Resource.GroupsSettings.Groups.Patch
- module Network.Google.Resource.GroupsSettings.Groups.Update
- data Groups
- groups :: Groups
- gEmail :: Lens' Groups (Maybe Text)
- gSendMessageDenyNotification :: Lens' Groups (Maybe Text)
- gWhoCanEnterFreeFormTags :: Lens' Groups (Maybe Text)
- gWhoCanAssignTopics :: Lens' Groups (Maybe Text)
- gWhoCanPostMessage :: Lens' Groups (Maybe Text)
- gAllowExternalMembers :: Lens' Groups (Maybe Text)
- gShowInGroupDirectory :: Lens' Groups (Maybe Text)
- gWhoCanUnmarkFavoriteReplyOnAnyTopic :: Lens' Groups (Maybe Text)
- gWhoCanTakeTopics :: Lens' Groups (Maybe Text)
- gSpamModerationLevel :: Lens' Groups (Maybe Text)
- gKind :: Lens' Groups Text
- gWhoCanViewMembership :: Lens' Groups (Maybe Text)
- gMembersCanPostAsTheGroup :: Lens' Groups (Maybe Text)
- gWhoCanViewGroup :: Lens' Groups (Maybe Text)
- gWhoCanJoin :: Lens' Groups (Maybe Text)
- gArchiveOnly :: Lens' Groups (Maybe Text)
- gMaxMessageBytes :: Lens' Groups (Maybe Int32)
- gReplyTo :: Lens' Groups (Maybe Text)
- gMessageModerationLevel :: Lens' Groups (Maybe Text)
- gWhoCanMarkFavoriteReplyOnAnyTopic :: Lens' Groups (Maybe Text)
- gIncludeInGlobalAddressList :: Lens' Groups (Maybe Text)
- gIsArchived :: Lens' Groups (Maybe Text)
- gName :: Lens' Groups (Maybe Text)
- gWhoCanUnassignTopic :: Lens' Groups (Maybe Text)
- gMessageDisplayFont :: Lens' Groups (Maybe Text)
- gIncludeCustomFooter :: Lens' Groups (Maybe Text)
- gFavoriteRepliesOnTop :: Lens' Groups (Maybe Text)
- gCustomReplyTo :: Lens' Groups (Maybe Text)
- gWhoCanAddReferences :: Lens' Groups (Maybe Text)
- gWhoCanContactOwner :: Lens' Groups (Maybe Text)
- gWhoCanAdd :: Lens' Groups (Maybe Text)
- gWhoCanInvite :: Lens' Groups (Maybe Text)
- gWhoCanLeaveGroup :: Lens' Groups (Maybe Text)
- gWhoCanModifyTagsAndCategories :: Lens' Groups (Maybe Text)
- gAllowGoogleCommunication :: Lens' Groups (Maybe Text)
- gWhoCanMarkNoResponseNeeded :: Lens' Groups (Maybe Text)
- gCustomFooterText :: Lens' Groups (Maybe Text)
- gWhoCanMarkDuplicate :: Lens' Groups (Maybe Text)
- gPrimaryLanguage :: Lens' Groups (Maybe Text)
- gDescription :: Lens' Groups (Maybe Text)
- gDefaultMessageDenyNotificationText :: Lens' Groups (Maybe Text)
- gWhoCanMarkFavoriteReplyOnOwnTopic :: Lens' Groups (Maybe Text)
- gAllowWebPosting :: Lens' Groups (Maybe Text)
Service Configuration
groupsSettingsService :: ServiceConfig Source #
Default request referring to version v1 of the Groups Settings API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
appsGroupsSettingsScope :: Proxy '["https://www.googleapis.com/auth/apps.groups.settings"] Source #
View and manage the settings of a G Suite group
API Declaration
type GroupsSettingsAPI = GroupsPatchResource :<|> (GroupsGetResource :<|> GroupsUpdateResource) Source #
Represents the entirety of the methods and resources available for the Groups Settings API service.
Resources
groupsSettings.groups.get
groupsSettings.groups.patch
groupsSettings.groups.update
Types
Groups
JSON template for Group resource
See: groups smart constructor.
Instances
Creates a value of Groups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gEmailgSendMessageDenyNotificationgWhoCanEnterFreeFormTagsgWhoCanAssignTopicsgWhoCanPostMessagegAllowExternalMembersgShowInGroupDirectorygWhoCanUnmarkFavoriteReplyOnAnyTopicgWhoCanTakeTopicsgSpamModerationLevelgKindgWhoCanViewMembershipgMembersCanPostAsTheGroupgWhoCanViewGroupgWhoCanJoingArchiveOnlygMaxMessageBytesgReplyTogMessageModerationLevelgWhoCanMarkFavoriteReplyOnAnyTopicgIncludeInGlobalAddressListgIsArchivedgNamegWhoCanUnassignTopicgMessageDisplayFontgIncludeCustomFootergFavoriteRepliesOnTopgCustomReplyTogWhoCanAddReferencesgWhoCanContactOwnergWhoCanAddgWhoCanInvitegWhoCanLeaveGroupgWhoCanModifyTagsAndCategoriesgAllowGoogleCommunicationgWhoCanMarkNoResponseNeededgCustomFooterTextgWhoCanMarkDuplicategPrimaryLanguagegDescriptiongDefaultMessageDenyNotificationTextgWhoCanMarkFavoriteReplyOnOwnTopicgAllowWebPosting
gSendMessageDenyNotification :: Lens' Groups (Maybe Text) Source #
Should the member be notified if his message is denied by owner.
gWhoCanEnterFreeFormTags :: Lens' Groups (Maybe Text) Source #
Permission to enter free form tags for topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanAssignTopics :: Lens' Groups (Maybe Text) Source #
Permission to assign topics in a forum to another user. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanPostMessage :: Lens' Groups (Maybe Text) Source #
Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
gAllowExternalMembers :: Lens' Groups (Maybe Text) Source #
Are external members allowed to join the group.
gWhoCanUnmarkFavoriteReplyOnAnyTopic :: Lens' Groups (Maybe Text) Source #
Permission to unmark any post from a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanTakeTopics :: Lens' Groups (Maybe Text) Source #
Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gSpamModerationLevel :: Lens' Groups (Maybe Text) Source #
Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT
gWhoCanViewMembership :: Lens' Groups (Maybe Text) Source #
Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
gMembersCanPostAsTheGroup :: Lens' Groups (Maybe Text) Source #
Can members post using the group email address.
gWhoCanViewGroup :: Lens' Groups (Maybe Text) Source #
Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW ALL_OWNERS_CAN_VIEW
gWhoCanJoin :: Lens' Groups (Maybe Text) Source #
Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
gReplyTo :: Lens' Groups (Maybe Text) Source #
Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS
gMessageModerationLevel :: Lens' Groups (Maybe Text) Source #
Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE
gWhoCanMarkFavoriteReplyOnAnyTopic :: Lens' Groups (Maybe Text) Source #
Permission to mark any other user's post as a favorite reply. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gIncludeInGlobalAddressList :: Lens' Groups (Maybe Text) Source #
If this groups should be included in global address list or not.
gWhoCanUnassignTopic :: Lens' Groups (Maybe Text) Source #
Permission to unassign any topic in a forum. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gMessageDisplayFont :: Lens' Groups (Maybe Text) Source #
Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT
gFavoriteRepliesOnTop :: Lens' Groups (Maybe Text) Source #
If favorite replies should be displayed above other replies.
gCustomReplyTo :: Lens' Groups (Maybe Text) Source #
Default email to which reply to any message should go.
gWhoCanAddReferences :: Lens' Groups (Maybe Text) Source #
Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanContactOwner :: Lens' Groups (Maybe Text) Source #
Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT
gWhoCanAdd :: Lens' Groups (Maybe Text) Source #
Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
gWhoCanInvite :: Lens' Groups (Maybe Text) Source #
Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE
gWhoCanLeaveGroup :: Lens' Groups (Maybe Text) Source #
Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
gWhoCanModifyTagsAndCategories :: Lens' Groups (Maybe Text) Source #
Permission to change tags and categories. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanMarkNoResponseNeeded :: Lens' Groups (Maybe Text) Source #
Permission to mark a topic as not needing a response. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gWhoCanMarkDuplicate :: Lens' Groups (Maybe Text) Source #
Permission to mark a topic as a duplicate of another topic. Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
gDefaultMessageDenyNotificationText :: Lens' Groups (Maybe Text) Source #
Default message deny notification message