gogol-admin-directory-0.4.0: Google Admin Directory 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.Resource.Directory.Groups.Aliases.Insert

Contents

Description

Add a alias for the group

See: Admin Directory API Reference for directory.groups.aliases.insert.

Synopsis

REST Resource

type GroupsAliasesInsertResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("aliases" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Alias :> Post '[JSON] Alias))))))) Source #

A resource alias for directory.groups.aliases.insert method which the GroupsAliasesInsert request conforms to.

Creating a Request

groupsAliasesInsert Source #

Creates a value of GroupsAliasesInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GroupsAliasesInsert Source #

Add a alias for the group

See: groupsAliasesInsert smart constructor.

Instances
Eq GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Data GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Methods

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

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

toConstr :: GroupsAliasesInsert -> Constr #

dataTypeOf :: GroupsAliasesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Generic GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Associated Types

type Rep GroupsAliasesInsert :: Type -> Type #

GoogleRequest GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Associated Types

type Rs GroupsAliasesInsert :: Type #

type Scopes GroupsAliasesInsert :: [Symbol] #

type Rep GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

type Rep GroupsAliasesInsert = D1 (MetaData "GroupsAliasesInsert" "Network.Google.Resource.Directory.Groups.Aliases.Insert" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "GroupsAliasesInsert'" PrefixI True) (S1 (MetaSel (Just "_gaiGroupKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gaiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Alias)))
type Scopes GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

type Scopes GroupsAliasesInsert = "https://www.googleapis.com/auth/admin.directory.group" ': ([] :: [Symbol])
type Rs GroupsAliasesInsert Source # 
Instance details

Defined in Network.Google.Resource.Directory.Groups.Aliases.Insert

Request Lenses

gaiGroupKey :: Lens' GroupsAliasesInsert Text Source #

Email or immutable ID of the group

gaiPayload :: Lens' GroupsAliasesInsert Alias Source #

Multipart request metadata.