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 |
Lists experiments to which the user has access.
See: Google Analytics API Reference for analytics.management.experiments.list
.
Synopsis
- type ManagementExperimentsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Experiments))))))))))))
- managementExperimentsList :: Text -> Text -> Text -> ManagementExperimentsList
- data ManagementExperimentsList
- melWebPropertyId :: Lens' ManagementExperimentsList Text
- melProFileId :: Lens' ManagementExperimentsList Text
- melAccountId :: Lens' ManagementExperimentsList Text
- melStartIndex :: Lens' ManagementExperimentsList (Maybe Int32)
- melMaxResults :: Lens' ManagementExperimentsList (Maybe Int32)
REST Resource
type ManagementExperimentsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Experiments)))))))))))) Source #
A resource alias for analytics.management.experiments.list
method which the
ManagementExperimentsList
request conforms to.
Creating a Request
managementExperimentsList Source #
Creates a value of ManagementExperimentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsList Source #
Lists experiments to which the user has access.
See: managementExperimentsList
smart constructor.
Instances
Request Lenses
melWebPropertyId :: Lens' ManagementExperimentsList Text Source #
Web property ID to retrieve experiments for.
melProFileId :: Lens' ManagementExperimentsList Text Source #
View (Profile) ID to retrieve experiments for.
melAccountId :: Lens' ManagementExperimentsList Text Source #
Account ID to retrieve experiments for.
melStartIndex :: Lens' ManagementExperimentsList (Maybe Int32) Source #
An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
melMaxResults :: Lens' ManagementExperimentsList (Maybe Int32) Source #
The maximum number of experiments to include in this response.