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

Contents

Description

Inserts a new account user profile.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.accountUserProfiles.insert method which the AccountUserProFilesInsert request conforms to.

Creating a Request

accountUserProFilesInsert Source #

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

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

data AccountUserProFilesInsert Source #

Inserts a new account user profile.

See: accountUserProFilesInsert smart constructor.

Instances

Eq AccountUserProFilesInsert Source # 
Data AccountUserProFilesInsert Source # 

Methods

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

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

toConstr :: AccountUserProFilesInsert -> Constr #

dataTypeOf :: AccountUserProFilesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

aupfiProFileId :: Lens' AccountUserProFilesInsert Int64 Source #

User profile ID associated with this request.