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