gogol-groups-settings-0.2.0: Google Groups Settings SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.GroupsSettings

Contents

Description

Lets you manage permission levels and related settings of a group.

See: Groups Settings API Reference

Synopsis

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 Google Apps 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

data Groups Source #

JSON template for Group resource

See: groups smart constructor.

Instances

Eq Groups Source # 

Methods

(==) :: Groups -> Groups -> Bool #

(/=) :: Groups -> Groups -> Bool #

Data Groups Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Groups -> c Groups #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Groups #

toConstr :: Groups -> Constr #

dataTypeOf :: Groups -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Groups) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Groups) #

gmapT :: (forall b. Data b => b -> b) -> Groups -> Groups #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Groups -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Groups -> r #

gmapQ :: (forall d. Data d => d -> u) -> Groups -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Groups -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Groups -> m Groups #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Groups -> m Groups #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Groups -> m Groups #

Show Groups Source # 
Generic Groups Source # 

Associated Types

type Rep Groups :: * -> * #

Methods

from :: Groups -> Rep Groups x #

to :: Rep Groups x -> Groups #

ToJSON Groups Source # 
FromJSON Groups Source # 
type Rep Groups Source # 
type Rep Groups = D1 (MetaData "Groups" "Network.Google.GroupsSettings.Types.Product" "gogol-groups-settings-0.2.0-4G4dJFPtgN4KC3vpaycvIC" False) (C1 (MetaCons "Groups'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gSendMessageDenyNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gWhoCanPostMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gAllowExternalMembers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gShowInGroupDirectory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gSpamModerationLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gWhoCanViewMembership") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gMembersCanPostAsTheGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gWhoCanViewGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gWhoCanJoin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gArchiveOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gMaxMessageBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_gReplyTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gMessageModerationLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gIncludeInGlobalAddressList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gIsArchived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gMessageDisplayFont") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gIncludeCustomFooter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gCustomReplyTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gWhoCanContactOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gWhoCanAdd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gWhoCanInvite") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gWhoCanLeaveGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gAllowGoogleCommunication") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gCustomFooterText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gPrimaryLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gDefaultMessageDenyNotificationText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gAllowWebPosting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

gEmail :: Lens' Groups (Maybe Text) Source #

Email id of the group

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.

gShowInGroupDirectory :: Lens' Groups (Maybe Text) Source #

Is the group listed in groups directory

gSpamModerationLevel :: Lens' Groups (Maybe Text) Source #

Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT

gKind :: Lens' Groups Text Source #

The type of the resource.

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

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

gArchiveOnly :: Lens' Groups (Maybe Text) Source #

If the group is archive only

gMaxMessageBytes :: Lens' Groups (Maybe Int32) Source #

Maximum message size allowed.

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.

gIsArchived :: Lens' Groups (Maybe Text) Source #

If the contents of the group are archived.

gName :: Lens' Groups (Maybe Text) Source #

Name of the Group

gMessageDisplayFont :: Lens' Groups (Maybe Text) Source #

Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT

gIncludeCustomFooter :: Lens' Groups (Maybe Text) Source #

Whether to include custom footer.

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. 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_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 NONE_CAN_INVITE

gWhoCanLeaveGroup :: Lens' Groups (Maybe Text) Source #

Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE

gAllowGoogleCommunication :: Lens' Groups (Maybe Text) Source #

Is google allowed to contact admins.

gCustomFooterText :: Lens' Groups (Maybe Text) Source #

Custom footer text.

gPrimaryLanguage :: Lens' Groups (Maybe Text) Source #

Primary language for the group.

gDescription :: Lens' Groups (Maybe Text) Source #

Description of the group

gDefaultMessageDenyNotificationText :: Lens' Groups (Maybe Text) Source #

Default message deny notification message

gAllowWebPosting :: Lens' Groups (Maybe Text) Source #

If posting from web is allowed.