gogol-dfareporting-0.2.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.ContentCategories.Update

Contents

Description

Updates an existing content category.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.contentCategories.update.

Synopsis

REST Resource

type ContentCategoriesUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ContentCategory :> Put '[JSON] ContentCategory)))))) Source #

A resource alias for dfareporting.contentCategories.update method which the ContentCategoriesUpdate request conforms to.

Creating a Request

contentCategoriesUpdate Source #

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

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

data ContentCategoriesUpdate Source #

Updates an existing content category.

See: contentCategoriesUpdate smart constructor.

Instances

Eq ContentCategoriesUpdate Source # 
Data ContentCategoriesUpdate Source # 

Methods

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

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

toConstr :: ContentCategoriesUpdate -> Constr #

dataTypeOf :: ContentCategoriesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContentCategoriesUpdate Source # 
Generic ContentCategoriesUpdate Source # 
GoogleRequest ContentCategoriesUpdate Source # 
type Rep ContentCategoriesUpdate Source # 
type Rep ContentCategoriesUpdate = D1 (MetaData "ContentCategoriesUpdate" "Network.Google.Resource.DFAReporting.ContentCategories.Update" "gogol-dfareporting-0.2.0-3vkytqIdbR4DxGH3Av8E8" False) (C1 (MetaCons "ContentCategoriesUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccuProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_ccuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentCategory))))
type Scopes ContentCategoriesUpdate Source # 
type Scopes ContentCategoriesUpdate = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs ContentCategoriesUpdate Source # 

Request Lenses

ccuProFileId :: Lens' ContentCategoriesUpdate Int64 Source #

User profile ID associated with this request.