gogol-analytics-0.0.1: Google Analytics SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Analytics.Management.Uploads.UploadData

Contents

Description

Upload data for a custom data source.

See: Google Analytics API Reference for analytics.management.uploads.uploadData.

Synopsis

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 :> (ReqBody `[OctetStream]` RequestBody :> Post `[JSON]` Upload)))))))))))))) Source

A resource alias for analytics.management.uploads.uploadData method which the ManagementUploadsUploadData request conforms to.

Creating a Request

managementUploadsUploadData Source

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:

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.