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

Contents

Description

Undelete a deleted user

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

Synopsis

REST Resource

type UsersUndeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("undelete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserUndelete :> Post '[JSON] ()))))))) Source #

A resource alias for directory.users.undelete method which the UsersUndelete request conforms to.

Creating a Request

usersUndelete Source #

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

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

data UsersUndelete Source #

Undelete a deleted user

See: usersUndelete smart constructor.

Instances
Eq UsersUndelete Source # 
Instance details

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

Data UsersUndelete Source # 
Instance details

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

Methods

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

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

toConstr :: UsersUndelete -> Constr #

dataTypeOf :: UsersUndelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersUndelete Source # 
Instance details

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

Generic UsersUndelete Source # 
Instance details

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

Associated Types

type Rep UsersUndelete :: Type -> Type #

GoogleRequest UsersUndelete Source # 
Instance details

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

Associated Types

type Rs UsersUndelete :: Type #

type Scopes UsersUndelete :: [Symbol] #

type Rep UsersUndelete Source # 
Instance details

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

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

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

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

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

type Rs UsersUndelete = ()

Request Lenses

uuPayload :: Lens' UsersUndelete UserUndelete Source #

Multipart request metadata.

uuUserKey :: Lens' UsersUndelete Text Source #

The immutable id of the user