gogol-dfareporting-0.2.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.PlacementGroups.Insert

Contents

Description

Inserts a new placement group.

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

Synopsis

REST Resource

type PlacementGroupsInsertResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementGroups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementGroup :> Post '[JSON] PlacementGroup)))))) Source #

A resource alias for dfareporting.placementGroups.insert method which the PlacementGroupsInsert request conforms to.

Creating a Request

placementGroupsInsert Source #

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

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

data PlacementGroupsInsert Source #

Inserts a new placement group.

See: placementGroupsInsert smart constructor.

Instances

Eq PlacementGroupsInsert Source # 
Data PlacementGroupsInsert Source # 

Methods

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

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

toConstr :: PlacementGroupsInsert -> Constr #

dataTypeOf :: PlacementGroupsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementGroupsInsert Source # 
Generic PlacementGroupsInsert Source # 
GoogleRequest PlacementGroupsInsert Source # 
type Rep PlacementGroupsInsert Source # 
type Rep PlacementGroupsInsert = D1 (MetaData "PlacementGroupsInsert" "Network.Google.Resource.DFAReporting.PlacementGroups.Insert" "gogol-dfareporting-0.2.0-3vkytqIdbR4DxGH3Av8E8" False) (C1 (MetaCons "PlacementGroupsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pgiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_pgiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PlacementGroup))))
type Scopes PlacementGroupsInsert Source # 
type Scopes PlacementGroupsInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs PlacementGroupsInsert Source # 

Request Lenses

pgiProFileId :: Lens' PlacementGroupsInsert Int64 Source #

User profile ID associated with this request.