gogol-dfareporting-0.3.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.Patch

Contents

Description

Updates an existing placement strategy. This method supports patch semantics.

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

Synopsis

REST Resource

type PlacementStrategiesPatchResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Patch '[JSON] PlacementStrategy))))))) Source #

A resource alias for dfareporting.placementStrategies.patch method which the PlacementStrategiesPatch request conforms to.

Creating a Request

placementStrategiesPatch Source #

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

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

data PlacementStrategiesPatch Source #

Updates an existing placement strategy. This method supports patch semantics.

See: placementStrategiesPatch smart constructor.

Instances

Eq PlacementStrategiesPatch Source # 
Data PlacementStrategiesPatch Source # 

Methods

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

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

toConstr :: PlacementStrategiesPatch -> Constr #

dataTypeOf :: PlacementStrategiesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementStrategiesPatch Source # 
Generic PlacementStrategiesPatch Source # 
GoogleRequest PlacementStrategiesPatch Source # 
type Rep PlacementStrategiesPatch Source # 
type Rep PlacementStrategiesPatch = D1 (MetaData "PlacementStrategiesPatch" "Network.Google.Resource.DFAReporting.PlacementStrategies.Patch" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "PlacementStrategiesPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pspProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_pspPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PlacementStrategy)) (S1 (MetaSel (Just Symbol "_pspId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes PlacementStrategiesPatch Source # 
type Scopes PlacementStrategiesPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs PlacementStrategiesPatch Source # 

Request Lenses

pspProFileId :: Lens' PlacementStrategiesPatch Int64 Source #

User profile ID associated with this request.