gogol-admin-directory-0.3.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.Asps.Delete

Contents

Description

Delete an ASP issued by a user.

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

Synopsis

REST Resource

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

A resource alias for directory.asps.delete method which the AspsDelete request conforms to.

Creating a Request

aspsDelete Source #

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

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

data AspsDelete Source #

Delete an ASP issued by a user.

See: aspsDelete smart constructor.

Instances

Eq AspsDelete Source # 
Data AspsDelete Source # 

Methods

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

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

toConstr :: AspsDelete -> Constr #

dataTypeOf :: AspsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AspsDelete Source # 
Generic AspsDelete Source # 

Associated Types

type Rep AspsDelete :: * -> * #

GoogleRequest AspsDelete Source # 

Associated Types

type Rs AspsDelete :: * #

type Scopes AspsDelete :: [Symbol] #

type Rep AspsDelete Source # 
type Rep AspsDelete = D1 (MetaData "AspsDelete" "Network.Google.Resource.Directory.Asps.Delete" "gogol-admin-directory-0.3.0-JrdiABG5d519qiNpH4uyxk" False) (C1 (MetaCons "AspsDelete'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_adCodeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))) (S1 (MetaSel (Just Symbol "_adUserKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AspsDelete Source # 
type Scopes AspsDelete = (:) Symbol "https://www.googleapis.com/auth/admin.directory.user.security" ([] Symbol)
type Rs AspsDelete Source # 
type Rs AspsDelete = ()

Request Lenses

adCodeId :: Lens' AspsDelete Int32 Source #

The unique ID of the ASP to be deleted.

adUserKey :: Lens' AspsDelete Text Source #

Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.