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

Contents

Description

Inserts a Domain alias of the customer.

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

Synopsis

REST Resource

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

A resource alias for directory.domainAliases.insert method which the DomainAliasesInsert request conforms to.

Creating a Request

domainAliasesInsert Source #

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

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

data DomainAliasesInsert Source #

Inserts a Domain alias of the customer.

See: domainAliasesInsert smart constructor.

Instances
Eq DomainAliasesInsert Source # 
Instance details

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

Data DomainAliasesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: DomainAliasesInsert -> Constr #

dataTypeOf :: DomainAliasesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DomainAliasesInsert Source # 
Instance details

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

Generic DomainAliasesInsert Source # 
Instance details

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

Associated Types

type Rep DomainAliasesInsert :: Type -> Type #

GoogleRequest DomainAliasesInsert Source # 
Instance details

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

Associated Types

type Rs DomainAliasesInsert :: Type #

type Scopes DomainAliasesInsert :: [Symbol] #

type Rep DomainAliasesInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

daiPayload :: Lens' DomainAliasesInsert DomainAlias Source #

Multipart request metadata.

daiCustomer :: Lens' DomainAliasesInsert Text Source #

Immutable ID of the G Suite account.