| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.DFAReporting.Reports.Insert
Description
Creates a report.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.insert.
Synopsis
- type ReportsInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Post '[JSON] Report))))))
- reportsInsert :: Int64 -> Report -> ReportsInsert
- data ReportsInsert
- riProFileId :: Lens' ReportsInsert Int64
- riPayload :: Lens' ReportsInsert Report
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
Arguments
| :: Int64 | |
| -> Report | |
| -> ReportsInsert |
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
Request Lenses
riProFileId :: Lens' ReportsInsert Int64 Source #
The DFA user profile ID.