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.Placements.Update

Contents

Description

Updates an existing placement.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placements.update.

Synopsis

REST Resource

type PlacementsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placements" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Placement :> Put '[JSON] Placement)))))) Source #

A resource alias for dfareporting.placements.update method which the PlacementsUpdate request conforms to.

Creating a Request

placementsUpdate Source #

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

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

data PlacementsUpdate Source #

Updates an existing placement.

See: placementsUpdate smart constructor.

Instances
Eq PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Data PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Methods

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

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

toConstr :: PlacementsUpdate -> Constr #

dataTypeOf :: PlacementsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Generic PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Associated Types

type Rep PlacementsUpdate :: Type -> Type #

GoogleRequest PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Associated Types

type Rs PlacementsUpdate :: Type #

type Scopes PlacementsUpdate :: [Symbol] #

type Rep PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

type Rep PlacementsUpdate = D1 (MetaData "PlacementsUpdate" "Network.Google.Resource.DFAReporting.Placements.Update" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "PlacementsUpdate'" PrefixI True) (S1 (MetaSel (Just "_puProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_puPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Placement)))
type Scopes PlacementsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Update

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

Defined in Network.Google.Resource.DFAReporting.Placements.Update

Request Lenses

puProFileId :: Lens' PlacementsUpdate Int64 Source #

User profile ID associated with this request.

puPayload :: Lens' PlacementsUpdate Placement Source #

Multipart request metadata.