| 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.Patch
Description
Updates a report. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.patch.
Synopsis
- type ReportsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Patch '[JSON] Report)))))))
- reportsPatch :: Int64 -> Int64 -> Report -> ReportsPatch
- data ReportsPatch
- rpReportId :: Lens' ReportsPatch Int64
- rpProFileId :: Lens' ReportsPatch Int64
- rpPayload :: Lens' ReportsPatch Report
REST Resource
type ReportsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Patch '[JSON] Report))))))) Source #
A resource alias for dfareporting.reports.patch method which the
ReportsPatch request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> Int64 | |
| -> Report | |
| -> ReportsPatch |
Creates a value of ReportsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsPatch Source #
Updates a report. This method supports patch semantics.
See: reportsPatch smart constructor.
Instances
Request Lenses
rpReportId :: Lens' ReportsPatch Int64 Source #
The ID of the report.
rpProFileId :: Lens' ReportsPatch Int64 Source #
The DFA user profile ID.