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 |
Returns an experiment to which the user has access.
See: Google Analytics API Reference for analytics.management.experiments.get
.
Synopsis
- type ManagementExperimentsGetResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Experiment)))))))))))
- managementExperimentsGet :: Text -> Text -> Text -> Text -> ManagementExperimentsGet
- data ManagementExperimentsGet
- megWebPropertyId :: Lens' ManagementExperimentsGet Text
- megProFileId :: Lens' ManagementExperimentsGet Text
- megAccountId :: Lens' ManagementExperimentsGet Text
- megExperimentId :: Lens' ManagementExperimentsGet Text
REST Resource
type ManagementExperimentsGetResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Experiment))))))))))) Source #
A resource alias for analytics.management.experiments.get
method which the
ManagementExperimentsGet
request conforms to.
Creating a Request
managementExperimentsGet Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ManagementExperimentsGet |
Creates a value of ManagementExperimentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsGet Source #
Returns an experiment to which the user has access.
See: managementExperimentsGet
smart constructor.
Instances
Request Lenses
megWebPropertyId :: Lens' ManagementExperimentsGet Text Source #
Web property ID to retrieve the experiment for.
megProFileId :: Lens' ManagementExperimentsGet Text Source #
View (Profile) ID to retrieve the experiment for.
megAccountId :: Lens' ManagementExperimentsGet Text Source #
Account ID to retrieve the experiment for.
megExperimentId :: Lens' ManagementExperimentsGet Text Source #
Experiment ID to retrieve the experiment for.