gogol-adsense-host-0.5.0: Google AdSense Host 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.AdSenseHost.CustomChannels.Patch

Contents

Description

Update a custom channel in the host AdSense account. This method supports patch semantics.

See: AdSense Host API Reference for adsensehost.customchannels.patch.

Synopsis

REST Resource

type CustomChannelsPatchResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "customChannelId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomChannel :> Patch '[JSON] CustomChannel))))))) Source #

A resource alias for adsensehost.customchannels.patch method which the CustomChannelsPatch request conforms to.

Creating a Request

customChannelsPatch Source #

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

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

data CustomChannelsPatch Source #

Update a custom channel in the host AdSense account. This method supports patch semantics.

See: customChannelsPatch smart constructor.

Instances
Eq CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Data CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Methods

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

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

toConstr :: CustomChannelsPatch -> Constr #

dataTypeOf :: CustomChannelsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Generic CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Associated Types

type Rep CustomChannelsPatch :: Type -> Type #

GoogleRequest CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Associated Types

type Rs CustomChannelsPatch :: Type #

type Scopes CustomChannelsPatch :: [Symbol] #

type Rep CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

type Rep CustomChannelsPatch = D1 (MetaData "CustomChannelsPatch" "Network.Google.Resource.AdSenseHost.CustomChannels.Patch" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "CustomChannelsPatch'" PrefixI True) (S1 (MetaSel (Just "_ccpCustomChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ccpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomChannel) :*: S1 (MetaSel (Just "_ccpAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CustomChannelsPatch Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

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

Defined in Network.Google.Resource.AdSenseHost.CustomChannels.Patch

Request Lenses

ccpAdClientId :: Lens' CustomChannelsPatch Text Source #

Ad client in which the custom channel will be updated.