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 |
Update an existing experiment.
See: Google Analytics API Reference for analytics.management.experiments.update
.
Synopsis
- type ManagementExperimentsUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Experiment :> Put '[JSON] Experiment))))))))))))
- managementExperimentsUpdate :: Text -> Text -> Experiment -> Text -> Text -> ManagementExperimentsUpdate
- data ManagementExperimentsUpdate
- meuWebPropertyId :: Lens' ManagementExperimentsUpdate Text
- meuProFileId :: Lens' ManagementExperimentsUpdate Text
- meuPayload :: Lens' ManagementExperimentsUpdate Experiment
- meuAccountId :: Lens' ManagementExperimentsUpdate Text
- meuExperimentId :: Lens' ManagementExperimentsUpdate Text
REST Resource
type ManagementExperimentsUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Experiment :> Put '[JSON] Experiment)))))))))))) Source #
A resource alias for analytics.management.experiments.update
method which the
ManagementExperimentsUpdate
request conforms to.
Creating a Request
managementExperimentsUpdate Source #
:: Text | |
-> Text | |
-> Experiment | |
-> Text | |
-> Text | |
-> ManagementExperimentsUpdate |
Creates a value of ManagementExperimentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsUpdate Source #
Update an existing experiment.
See: managementExperimentsUpdate
smart constructor.
Instances
Request Lenses
meuWebPropertyId :: Lens' ManagementExperimentsUpdate Text Source #
Web property ID of the experiment to update.
meuProFileId :: Lens' ManagementExperimentsUpdate Text Source #
View (Profile) ID of the experiment to update.
meuPayload :: Lens' ManagementExperimentsUpdate Experiment Source #
Multipart request metadata.
meuAccountId :: Lens' ManagementExperimentsUpdate Text Source #
Account ID of the experiment to update.
meuExperimentId :: Lens' ManagementExperimentsUpdate Text Source #
Experiment ID of the experiment to update.