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 |
List uploads to which the user has access.
See: Google Analytics API Reference for analytics.management.uploads.list
.
Synopsis
- type ManagementUploadsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Uploads))))))))))))
- managementUploadsList :: Text -> Text -> Text -> ManagementUploadsList
- data ManagementUploadsList
- mulWebPropertyId :: Lens' ManagementUploadsList Text
- mulCustomDataSourceId :: Lens' ManagementUploadsList Text
- mulAccountId :: Lens' ManagementUploadsList Text
- mulStartIndex :: Lens' ManagementUploadsList (Maybe Int32)
- mulMaxResults :: Lens' ManagementUploadsList (Maybe Int32)
REST Resource
type ManagementUploadsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDataSources" :> (Capture "customDataSourceId" Text :> ("uploads" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Uploads)))))))))))) Source #
A resource alias for analytics.management.uploads.list
method which the
ManagementUploadsList
request conforms to.
Creating a Request
managementUploadsList Source #
Creates a value of ManagementUploadsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementUploadsList Source #
List uploads to which the user has access.
See: managementUploadsList
smart constructor.
Instances
Request Lenses
mulWebPropertyId :: Lens' ManagementUploadsList Text Source #
Web property Id for the uploads to retrieve.
mulCustomDataSourceId :: Lens' ManagementUploadsList Text Source #
Custom data source Id for uploads to retrieve.
mulAccountId :: Lens' ManagementUploadsList Text Source #
Account Id for the uploads to retrieve.
mulStartIndex :: Lens' ManagementUploadsList (Maybe Int32) Source #
A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
mulMaxResults :: Lens' ManagementUploadsList (Maybe Int32) Source #
The maximum number of uploads to include in this response.