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 |
Upload data for a custom data source.
See: Google Analytics API Reference for analytics.management.uploads.uploadData
.
Synopsis
- type ManagementUploadsUploadDataResource = ("analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "alt" AltJSON :> Post '[JSON] Upload))))))))))) :<|> ("upload" :> ("analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Upload))))))))))))))
- managementUploadsUploadData :: Text -> Text -> Text -> ManagementUploadsUploadData
- data ManagementUploadsUploadData
- muudWebPropertyId :: Lens' ManagementUploadsUploadData Text
- muudCustomDataSourceId :: Lens' ManagementUploadsUploadData Text
- muudAccountId :: Lens' ManagementUploadsUploadData Text
REST Resource
type ManagementUploadsUploadDataResource = ("analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "alt" AltJSON :> Post '[JSON] Upload))))))))))) :<|> ("upload" :> ("analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Upload)))))))))))))) Source #
A resource alias for analytics.management.uploads.uploadData
method which the
ManagementUploadsUploadData
request conforms to.
Creating a Request
managementUploadsUploadData Source #
:: Text | |
-> Text | |
-> Text | |
-> ManagementUploadsUploadData |
Creates a value of ManagementUploadsUploadData
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementUploadsUploadData Source #
Upload data for a custom data source.
See: managementUploadsUploadData
smart constructor.
Instances
Request Lenses
muudWebPropertyId :: Lens' ManagementUploadsUploadData Text Source #
Web property UA-string associated with the upload.
muudCustomDataSourceId :: Lens' ManagementUploadsUploadData Text Source #
Custom data source Id to which the data being uploaded belongs.
muudAccountId :: Lens' ManagementUploadsUploadData Text Source #
Account Id associated with the upload.