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.ContentCategories.Insert

Contents

Description

Inserts a new content category.

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

Synopsis

REST Resource

type ContentCategoriesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ContentCategory :> Post '[JSON] ContentCategory)))))) Source #

A resource alias for dfareporting.contentCategories.insert method which the ContentCategoriesInsert request conforms to.

Creating a Request

contentCategoriesInsert Source #

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

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

data ContentCategoriesInsert Source #

Inserts a new content category.

See: contentCategoriesInsert smart constructor.

Instances
Eq ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

Data ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

Methods

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

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

toConstr :: ContentCategoriesInsert -> Constr #

dataTypeOf :: ContentCategoriesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

Generic ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

Associated Types

type Rep ContentCategoriesInsert :: Type -> Type #

GoogleRequest ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

type Rep ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

type Rep ContentCategoriesInsert = D1 (MetaData "ContentCategoriesInsert" "Network.Google.Resource.DFAReporting.ContentCategories.Insert" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "ContentCategoriesInsert'" PrefixI True) (S1 (MetaSel (Just "_cciProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_cciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentCategory)))
type Scopes ContentCategoriesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

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

Defined in Network.Google.Resource.DFAReporting.ContentCategories.Insert

Request Lenses

cciProFileId :: Lens' ContentCategoriesInsert Int64 Source #

User profile ID associated with this request.