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.Users.Aliases.Delete

Contents

Description

Remove a alias for the user

See: Admin Directory API Reference for directory.users.aliases.delete.

Synopsis

REST Resource

type UsersAliasesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> (Capture "alias" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for directory.users.aliases.delete method which the UsersAliasesDelete request conforms to.

Creating a Request

usersAliasesDelete Source #

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

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

data UsersAliasesDelete Source #

Remove a alias for the user

See: usersAliasesDelete smart constructor.

Instances
Eq UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Data UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Methods

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

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

toConstr :: UsersAliasesDelete -> Constr #

dataTypeOf :: UsersAliasesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Generic UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Associated Types

type Rep UsersAliasesDelete :: Type -> Type #

GoogleRequest UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Associated Types

type Rs UsersAliasesDelete :: Type #

type Scopes UsersAliasesDelete :: [Symbol] #

type Rep UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

type Rep UsersAliasesDelete = D1 (MetaData "UsersAliasesDelete" "Network.Google.Resource.Directory.Users.Aliases.Delete" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" False) (C1 (MetaCons "UsersAliasesDelete'" PrefixI True) (S1 (MetaSel (Just "_uadAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uadUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersAliasesDelete Source # 
Instance details

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

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

Defined in Network.Google.Resource.Directory.Users.Aliases.Delete

Request Lenses

uadAlias :: Lens' UsersAliasesDelete Text Source #

The alias to be removed

uadUserKey :: Lens' UsersAliasesDelete Text Source #

Email or immutable ID of the user