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. This method supports patch semantics.
See: Google Analytics API Reference for analytics.management.experiments.patch
.
Synopsis
- type ManagementExperimentsPatchResource = "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 :> Patch '[JSON] Experiment))))))))))))
- managementExperimentsPatch :: Text -> Text -> Experiment -> Text -> Text -> ManagementExperimentsPatch
- data ManagementExperimentsPatch
- mepWebPropertyId :: Lens' ManagementExperimentsPatch Text
- mepProFileId :: Lens' ManagementExperimentsPatch Text
- mepPayload :: Lens' ManagementExperimentsPatch Experiment
- mepAccountId :: Lens' ManagementExperimentsPatch Text
- mepExperimentId :: Lens' ManagementExperimentsPatch Text
REST Resource
type ManagementExperimentsPatchResource = "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 :> Patch '[JSON] Experiment)))))))))))) Source #
A resource alias for analytics.management.experiments.patch
method which the
ManagementExperimentsPatch
request conforms to.
Creating a Request
managementExperimentsPatch Source #
:: Text | |
-> Text | |
-> Experiment | |
-> Text | |
-> Text | |
-> ManagementExperimentsPatch |
Creates a value of ManagementExperimentsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsPatch Source #
Update an existing experiment. This method supports patch semantics.
See: managementExperimentsPatch
smart constructor.
Instances
Request Lenses
mepWebPropertyId :: Lens' ManagementExperimentsPatch Text Source #
Web property ID of the experiment to update.
mepProFileId :: Lens' ManagementExperimentsPatch Text Source #
View (Profile) ID of the experiment to update.
mepPayload :: Lens' ManagementExperimentsPatch Experiment Source #
Multipart request metadata.
mepAccountId :: Lens' ManagementExperimentsPatch Text Source #
Account ID of the experiment to update.
mepExperimentId :: Lens' ManagementExperimentsPatch Text Source #
Experiment ID of the experiment to update.