gogol-dfareporting-0.3.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.EventTags.Insert

Contents

Description

Inserts a new event tag.

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

Synopsis

REST Resource

type EventTagsInsertResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("eventTags" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EventTag :> Post '[JSON] EventTag)))))) Source #

A resource alias for dfareporting.eventTags.insert method which the EventTagsInsert request conforms to.

Creating a Request

eventTagsInsert Source #

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

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

data EventTagsInsert Source #

Inserts a new event tag.

See: eventTagsInsert smart constructor.

Instances

Eq EventTagsInsert Source # 
Data EventTagsInsert Source # 

Methods

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

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

toConstr :: EventTagsInsert -> Constr #

dataTypeOf :: EventTagsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventTagsInsert Source # 
Generic EventTagsInsert Source # 
GoogleRequest EventTagsInsert Source # 
type Rep EventTagsInsert Source # 
type Rep EventTagsInsert = D1 (MetaData "EventTagsInsert" "Network.Google.Resource.DFAReporting.EventTags.Insert" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "EventTagsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_etiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_etiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EventTag))))
type Scopes EventTagsInsert Source # 
type Scopes EventTagsInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs EventTagsInsert Source # 

Request Lenses

etiProFileId :: Lens' EventTagsInsert Int64 Source #

User profile ID associated with this request.

etiPayload :: Lens' EventTagsInsert EventTag Source #

Multipart request metadata.