| 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.Files.Get
Description
Retrieves a report file. This method supports media download.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.files.get.
Synopsis
- type ReportsFilesGetResource = ("dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] File))))))))) :<|> ("dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))))))
- reportsFilesGet :: Int64 -> Int64 -> Int64 -> ReportsFilesGet
- data ReportsFilesGet
- rfgReportId :: Lens' ReportsFilesGet Int64
- rfgProFileId :: Lens' ReportsFilesGet Int64
- rfgFileId :: Lens' ReportsFilesGet Int64
REST Resource
type ReportsFilesGetResource = ("dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] File))))))))) :<|> ("dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))))) Source #
A resource alias for dfareporting.reports.files.get method which the
ReportsFilesGet request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> Int64 | |
| -> Int64 | |
| -> ReportsFilesGet |
Creates a value of ReportsFilesGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsFilesGet Source #
Retrieves a report file. This method supports media download.
See: reportsFilesGet smart constructor.
Instances
Request Lenses
rfgReportId :: Lens' ReportsFilesGet Int64 Source #
The ID of the report.
rfgProFileId :: Lens' ReportsFilesGet Int64 Source #
The DFA profile ID.