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 |
Create a new unsampled report.
See: Google Analytics API Reference for analytics.management.unsampledReports.insert
.
Synopsis
- type ManagementUnSampledReportsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("unsampledReports" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnSampledReport :> Post '[JSON] UnSampledReport)))))))))))
- managementUnSampledReportsInsert :: Text -> Text -> UnSampledReport -> Text -> ManagementUnSampledReportsInsert
- data ManagementUnSampledReportsInsert
- musriWebPropertyId :: Lens' ManagementUnSampledReportsInsert Text
- musriProFileId :: Lens' ManagementUnSampledReportsInsert Text
- musriPayload :: Lens' ManagementUnSampledReportsInsert UnSampledReport
- musriAccountId :: Lens' ManagementUnSampledReportsInsert Text
REST Resource
type ManagementUnSampledReportsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("unsampledReports" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UnSampledReport :> Post '[JSON] UnSampledReport))))))))))) Source #
A resource alias for analytics.management.unsampledReports.insert
method which the
ManagementUnSampledReportsInsert
request conforms to.
Creating a Request
managementUnSampledReportsInsert Source #
:: Text | |
-> Text | |
-> UnSampledReport | |
-> Text | |
-> ManagementUnSampledReportsInsert |
Creates a value of ManagementUnSampledReportsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementUnSampledReportsInsert Source #
Create a new unsampled report.
See: managementUnSampledReportsInsert
smart constructor.
Instances
Request Lenses
musriWebPropertyId :: Lens' ManagementUnSampledReportsInsert Text Source #
Web property ID to create the unsampled report for.
musriProFileId :: Lens' ManagementUnSampledReportsInsert Text Source #
View (Profile) ID to create the unsampled report for.
musriPayload :: Lens' ManagementUnSampledReportsInsert UnSampledReport Source #
Multipart request metadata.
musriAccountId :: Lens' ManagementUnSampledReportsInsert Text Source #
Account ID to create the unsampled report for.