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

Contents

Description

Updates an existing advertiser. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.advertisers.patch method which the AdvertisersPatch request conforms to.

Creating a Request

advertisersPatch Source #

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

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

data AdvertisersPatch Source #

Updates an existing advertiser. This method supports patch semantics.

See: advertisersPatch smart constructor.

Instances
Eq AdvertisersPatch Source # 
Instance details

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

Data AdvertisersPatch Source # 
Instance details

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

Methods

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

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

toConstr :: AdvertisersPatch -> Constr #

dataTypeOf :: AdvertisersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdvertisersPatch Source # 
Instance details

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

Generic AdvertisersPatch Source # 
Instance details

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

Associated Types

type Rep AdvertisersPatch :: Type -> Type #

GoogleRequest AdvertisersPatch Source # 
Instance details

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

Associated Types

type Rs AdvertisersPatch :: Type #

type Scopes AdvertisersPatch :: [Symbol] #

type Rep AdvertisersPatch Source # 
Instance details

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

type Rep AdvertisersPatch = D1 (MetaData "AdvertisersPatch" "Network.Google.Resource.DFAReporting.Advertisers.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AdvertisersPatch'" PrefixI True) (S1 (MetaSel (Just "_apProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_apPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Advertiser) :*: S1 (MetaSel (Just "_apId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes AdvertisersPatch Source # 
Instance details

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

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

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

Request Lenses

apProFileId :: Lens' AdvertisersPatch Int64 Source #

User profile ID associated with this request.

apPayload :: Lens' AdvertisersPatch Advertiser Source #

Multipart request metadata.