| 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.Run
Description
Runs a report.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.run.
Synopsis
- type ReportsRunResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("run" :> (QueryParam "synchronous" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] File))))))))
- reportsRun :: Int64 -> Int64 -> ReportsRun
- data ReportsRun
- rrSynchronous :: Lens' ReportsRun Bool
- rrReportId :: Lens' ReportsRun Int64
- rrProFileId :: Lens' ReportsRun Int64
REST Resource
type ReportsRunResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("run" :> (QueryParam "synchronous" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] File)))))))) Source #
A resource alias for dfareporting.reports.run method which the
ReportsRun request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> Int64 | |
| -> ReportsRun |
Creates a value of ReportsRun with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsRun Source #
Runs a report.
See: reportsRun smart constructor.
Instances
Request Lenses
rrSynchronous :: Lens' ReportsRun Bool Source #
If set and true, tries to run the report synchronously.
rrReportId :: Lens' ReportsRun Int64 Source #
The ID of the report.
rrProFileId :: Lens' ReportsRun Int64 Source #
The DFA profile ID.