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

Contents

Description

Deletes a domain of the customer.

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

Synopsis

REST Resource

type DomainsDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domains" :> (Capture "domainName" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #

A resource alias for directory.domains.delete method which the DomainsDelete request conforms to.

Creating a Request

domainsDelete Source #

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

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

data DomainsDelete Source #

Deletes a domain of the customer.

See: domainsDelete smart constructor.

Instances
Eq DomainsDelete Source # 
Instance details

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

Data DomainsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: DomainsDelete -> Constr #

dataTypeOf :: DomainsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DomainsDelete Source # 
Instance details

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

Generic DomainsDelete Source # 
Instance details

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

Associated Types

type Rep DomainsDelete :: Type -> Type #

GoogleRequest DomainsDelete Source # 
Instance details

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

Associated Types

type Rs DomainsDelete :: Type #

type Scopes DomainsDelete :: [Symbol] #

type Rep DomainsDelete Source # 
Instance details

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

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

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

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

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

type Rs DomainsDelete = ()

Request Lenses

ddCustomer :: Lens' DomainsDelete Text Source #

Immutable ID of the G Suite account.

ddDomainName :: Lens' DomainsDelete Text Source #

Name of domain to be deleted