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.TargetingTemplates.Patch

Contents

Description

Updates an existing targeting template. This method supports patch semantics.

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

Synopsis

REST Resource

type TargetingTemplatesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("targetingTemplates" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TargetingTemplate :> Patch '[JSON] TargetingTemplate))))))) Source #

A resource alias for dfareporting.targetingTemplates.patch method which the TargetingTemplatesPatch request conforms to.

Creating a Request

targetingTemplatesPatch Source #

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

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

data TargetingTemplatesPatch Source #

Updates an existing targeting template. This method supports patch semantics.

See: targetingTemplatesPatch smart constructor.

Instances
Eq TargetingTemplatesPatch Source # 
Instance details

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

Data TargetingTemplatesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: TargetingTemplatesPatch -> Constr #

dataTypeOf :: TargetingTemplatesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TargetingTemplatesPatch Source # 
Instance details

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

Generic TargetingTemplatesPatch Source # 
Instance details

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

Associated Types

type Rep TargetingTemplatesPatch :: Type -> Type #

GoogleRequest TargetingTemplatesPatch Source # 
Instance details

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

type Rep TargetingTemplatesPatch Source # 
Instance details

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

type Rep TargetingTemplatesPatch = D1 (MetaData "TargetingTemplatesPatch" "Network.Google.Resource.DFAReporting.TargetingTemplates.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "TargetingTemplatesPatch'" PrefixI True) (S1 (MetaSel (Just "_ttpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_ttpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TargetingTemplate) :*: S1 (MetaSel (Just "_ttpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes TargetingTemplatesPatch Source # 
Instance details

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

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

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

Request Lenses

ttpProFileId :: Lens' TargetingTemplatesPatch Int64 Source #

User profile ID associated with this request.

ttpId :: Lens' TargetingTemplatesPatch Int64 Source #

Targeting template ID.