Copyright | (c) 2015 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 |
Lets you manage permission levels and related settings of a group.
- groupsSettingsService :: Service
- 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)
- gWhoCanPostMessage :: Lens' Groups (Maybe Text)
- gAllowExternalMembers :: Lens' Groups (Maybe Text)
- gShowInGroupDirectory :: 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)
- gIncludeInGlobalAddressList :: Lens' Groups (Maybe Text)
- gIsArchived :: Lens' Groups (Maybe Text)
- gName :: Lens' Groups (Maybe Text)
- gMessageDisplayFont :: Lens' Groups (Maybe Text)
- gCustomReplyTo :: Lens' Groups (Maybe Text)
- gWhoCanContactOwner :: Lens' Groups (Maybe Text)
- gWhoCanInvite :: Lens' Groups (Maybe Text)
- gWhoCanLeaveGroup :: Lens' Groups (Maybe Text)
- gAllowGoogleCommunication :: Lens' Groups (Maybe Text)
- gPrimaryLanguage :: Lens' Groups (Maybe Text)
- gDescription :: Lens' Groups (Maybe Text)
- gDefaultMessageDenyNotificationText :: Lens' Groups (Maybe Text)
- gAllowWebPosting :: Lens' Groups (Maybe Text)
Service Configuration
groupsSettingsService :: Service 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.
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.
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:
gEmail
gSendMessageDenyNotification
gWhoCanPostMessage
gAllowExternalMembers
gShowInGroupDirectory
gSpamModerationLevel
gKind
gWhoCanViewMembership
gMembersCanPostAsTheGroup
gWhoCanViewGroup
gWhoCanJoin
gArchiveOnly
gMaxMessageBytes
gReplyTo
gMessageModerationLevel
gIncludeInGlobalAddressList
gIsArchived
gName
gMessageDisplayFont
gCustomReplyTo
gWhoCanContactOwner
gWhoCanInvite
gWhoCanLeaveGroup
gAllowGoogleCommunication
gPrimaryLanguage
gDescription
gDefaultMessageDenyNotificationText
gAllowWebPosting
gSendMessageDenyNotification :: Lens' Groups (Maybe Text) Source
Should the member be notified if his message is denied by owner.
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_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
gAllowExternalMembers :: Lens' Groups (Maybe Text) Source
Are external members allowed to join the group.
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. Possbile 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. Possbile values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_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
gIncludeInGlobalAddressList :: Lens' Groups (Maybe Text) Source
If this groups should be included in global address list or not.
gMessageDisplayFont :: Lens' Groups (Maybe Text) Source
Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT
gCustomReplyTo :: Lens' Groups (Maybe Text) Source
Default email to which reply to any message should go.
gWhoCanContactOwner :: Lens' Groups (Maybe Text) Source
Permission to contact owner of the group via web UI. Possbile values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT
gWhoCanInvite :: Lens' Groups (Maybe Text) Source
Permissions to invite members. Possbile values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE
gWhoCanLeaveGroup :: Lens' Groups (Maybe Text) Source
Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE