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.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" :> ("v3.2" :> ("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 # 
Instance details

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

Data PlacementGroupsInsert Source # 
Instance details

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

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 # 
Instance details

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

Generic PlacementGroupsInsert Source # 
Instance details

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

Associated Types

type Rep PlacementGroupsInsert :: Type -> Type #

GoogleRequest PlacementGroupsInsert Source # 
Instance details

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

type Rep PlacementGroupsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

pgiProFileId :: Lens' PlacementGroupsInsert Int64 Source #

User profile ID associated with this request.