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

Contents

Description

Inserts a new placement strategy.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.placementStrategies.insert method which the PlacementStrategiesInsert request conforms to.

Creating a Request

placementStrategiesInsert Source #

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

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

data PlacementStrategiesInsert Source #

Inserts a new placement strategy.

See: placementStrategiesInsert smart constructor.

Instances
Eq PlacementStrategiesInsert Source # 
Instance details

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

Data PlacementStrategiesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: PlacementStrategiesInsert -> Constr #

dataTypeOf :: PlacementStrategiesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementStrategiesInsert Source # 
Instance details

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

Generic PlacementStrategiesInsert Source # 
Instance details

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

Associated Types

type Rep PlacementStrategiesInsert :: Type -> Type #

GoogleRequest PlacementStrategiesInsert Source # 
Instance details

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

type Rep PlacementStrategiesInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

psiProFileId :: Lens' PlacementStrategiesInsert Int64 Source #

User profile ID associated with this request.