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

Contents

Description

Delete user

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

Synopsis

REST Resource

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

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

Creating a Request

usersDelete Source #

Arguments

:: Text

udUserKey

-> UsersDelete 

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

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

data UsersDelete Source #

Delete user

See: usersDelete smart constructor.

Instances
Eq UsersDelete Source # 
Instance details

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

Data UsersDelete Source # 
Instance details

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

Methods

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

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

toConstr :: UsersDelete -> Constr #

dataTypeOf :: UsersDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersDelete Source # 
Instance details

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

Generic UsersDelete Source # 
Instance details

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

Associated Types

type Rep UsersDelete :: Type -> Type #

GoogleRequest UsersDelete Source # 
Instance details

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

Associated Types

type Rs UsersDelete :: Type #

type Scopes UsersDelete :: [Symbol] #

type Rep UsersDelete Source # 
Instance details

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

type Rep UsersDelete = D1 (MetaData "UsersDelete" "Network.Google.Resource.Directory.Users.Delete" "gogol-admin-directory-0.4.0-18Kt4WHsDGO3AIyYatQRRN" True) (C1 (MetaCons "UsersDelete'" PrefixI True) (S1 (MetaSel (Just "_udUserKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersDelete Source # 
Instance details

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

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

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

type Rs UsersDelete = ()

Request Lenses

udUserKey :: Lens' UsersDelete Text Source #

Email or immutable ID of the user