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

Contents

Description

Inserts a domain of the customer.

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

Synopsis

REST Resource

type DomainsInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("domains" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domains :> Post '[JSON] Domains))))))) Source #

A resource alias for directory.domains.insert method which the DomainsInsert request conforms to.

Creating a Request

domainsInsert Source #

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

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

data DomainsInsert Source #

Inserts a domain of the customer.

See: domainsInsert smart constructor.

Instances
Eq DomainsInsert Source # 
Instance details

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

Data DomainsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: DomainsInsert -> Constr #

dataTypeOf :: DomainsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DomainsInsert Source # 
Instance details

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

Generic DomainsInsert Source # 
Instance details

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

Associated Types

type Rep DomainsInsert :: Type -> Type #

GoogleRequest DomainsInsert Source # 
Instance details

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

Associated Types

type Rs DomainsInsert :: Type #

type Scopes DomainsInsert :: [Symbol] #

type Rep DomainsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

diPayload :: Lens' DomainsInsert Domains Source #

Multipart request metadata.

diCustomer :: Lens' DomainsInsert Text Source #

Immutable ID of the G Suite account.