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

Contents

Description

Updates an existing campaign. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.campaigns.patch method which the CampaignsPatch request conforms to.

Creating a Request

campaignsPatch Source #

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

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

data CampaignsPatch Source #

Updates an existing campaign. This method supports patch semantics.

See: campaignsPatch smart constructor.

Instances
Eq CampaignsPatch Source # 
Instance details

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

Data CampaignsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: CampaignsPatch -> Constr #

dataTypeOf :: CampaignsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CampaignsPatch Source # 
Instance details

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

Generic CampaignsPatch Source # 
Instance details

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

Associated Types

type Rep CampaignsPatch :: Type -> Type #

GoogleRequest CampaignsPatch Source # 
Instance details

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

Associated Types

type Rs CampaignsPatch :: Type #

type Scopes CampaignsPatch :: [Symbol] #

type Rep CampaignsPatch Source # 
Instance details

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

type Rep CampaignsPatch = D1 (MetaData "CampaignsPatch" "Network.Google.Resource.DFAReporting.Campaigns.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "CampaignsPatch'" PrefixI True) (S1 (MetaSel (Just "_cpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Campaign) :*: S1 (MetaSel (Just "_cpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes CampaignsPatch Source # 
Instance details

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

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

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

Request Lenses

cpProFileId :: Lens' CampaignsPatch Int64 Source #

User profile ID associated with this request.

cpPayload :: Lens' CampaignsPatch Campaign Source #

Multipart request metadata.