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 |
Returns the Analytics data.
See: Analytics Reporting API Reference for analyticsreporting.reports.batchGet
.
Synopsis
- type ReportsBatchGetResource = "v4" :> ("reports:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetReportsRequest :> Post '[JSON] GetReportsResponse))))))))
- reportsBatchGet :: GetReportsRequest -> ReportsBatchGet
- data ReportsBatchGet
- rbgXgafv :: Lens' ReportsBatchGet (Maybe Xgafv)
- rbgUploadProtocol :: Lens' ReportsBatchGet (Maybe Text)
- rbgAccessToken :: Lens' ReportsBatchGet (Maybe Text)
- rbgUploadType :: Lens' ReportsBatchGet (Maybe Text)
- rbgPayload :: Lens' ReportsBatchGet GetReportsRequest
- rbgCallback :: Lens' ReportsBatchGet (Maybe Text)
REST Resource
type ReportsBatchGetResource = "v4" :> ("reports:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetReportsRequest :> Post '[JSON] GetReportsResponse)))))))) Source #
A resource alias for analyticsreporting.reports.batchGet
method which the
ReportsBatchGet
request conforms to.
Creating a Request
Creates a value of ReportsBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsBatchGet Source #
Returns the Analytics data.
See: reportsBatchGet
smart constructor.
Instances
Request Lenses
rbgUploadProtocol :: Lens' ReportsBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rbgAccessToken :: Lens' ReportsBatchGet (Maybe Text) Source #
OAuth access token.
rbgUploadType :: Lens' ReportsBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rbgPayload :: Lens' ReportsBatchGet GetReportsRequest Source #
Multipart request metadata.
rbgCallback :: Lens' ReportsBatchGet (Maybe Text) Source #
JSONP