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

Contents

Description

Creates a report.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.reports.insert method which the ReportsInsert request conforms to.

Creating a Request

reportsInsert Source #

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

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

data ReportsInsert Source #

Creates a report.

See: reportsInsert smart constructor.

Instances
Eq ReportsInsert Source # 
Instance details

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

Data ReportsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ReportsInsert -> Constr #

dataTypeOf :: ReportsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportsInsert Source # 
Instance details

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

Generic ReportsInsert Source # 
Instance details

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

Associated Types

type Rep ReportsInsert :: Type -> Type #

GoogleRequest ReportsInsert Source # 
Instance details

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

Associated Types

type Rs ReportsInsert :: Type #

type Scopes ReportsInsert :: [Symbol] #

type Rep ReportsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

riProFileId :: Lens' ReportsInsert Int64 Source #

The DFA user profile ID.

riPayload :: Lens' ReportsInsert Report Source #

Multipart request metadata.