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

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

Data PlacementStrategiesPatch Source # 
Instance details

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

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

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

Generic PlacementStrategiesPatch Source # 
Instance details

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

Associated Types

type Rep PlacementStrategiesPatch :: Type -> Type #

GoogleRequest PlacementStrategiesPatch Source # 
Instance details

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

type Rep PlacementStrategiesPatch Source # 
Instance details

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

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

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

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

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

Request Lenses

pspProFileId :: Lens' PlacementStrategiesPatch Int64 Source #

User profile ID associated with this request.