gogol-dfareporting-0.4.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.DirectorySites.Insert

Contents

Description

Inserts a new directory site.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.directorySites.insert.

Synopsis

REST Resource

type DirectorySitesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("directorySites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DirectorySite :> Post '[JSON] DirectorySite)))))) Source #

A resource alias for dfareporting.directorySites.insert method which the DirectorySitesInsert request conforms to.

Creating a Request

directorySitesInsert Source #

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

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

data DirectorySitesInsert Source #

Inserts a new directory site.

See: directorySitesInsert smart constructor.

Instances
Eq DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Data DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Methods

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

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

toConstr :: DirectorySitesInsert -> Constr #

dataTypeOf :: DirectorySitesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Generic DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Associated Types

type Rep DirectorySitesInsert :: Type -> Type #

GoogleRequest DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Associated Types

type Rs DirectorySitesInsert :: Type #

type Scopes DirectorySitesInsert :: [Symbol] #

type Rep DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

type Rep DirectorySitesInsert = D1 (MetaData "DirectorySitesInsert" "Network.Google.Resource.DFAReporting.DirectorySites.Insert" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "DirectorySitesInsert'" PrefixI True) (S1 (MetaSel (Just "_dsiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_dsiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DirectorySite)))
type Scopes DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

type Scopes DirectorySitesInsert = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs DirectorySitesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.DirectorySites.Insert

Request Lenses

dsiProFileId :: Lens' DirectorySitesInsert Int64 Source #

User profile ID associated with this request.