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 |
Create a new experiment.
See: Google Analytics API Reference for analytics.management.experiments.insert
.
- type ManagementExperimentsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Experiment :> Post '[JSON] Experiment)))))))))))
- managementExperimentsInsert :: Text -> Text -> Experiment -> Text -> ManagementExperimentsInsert
- data ManagementExperimentsInsert
- meiWebPropertyId :: Lens' ManagementExperimentsInsert Text
- meiProFileId :: Lens' ManagementExperimentsInsert Text
- meiPayload :: Lens' ManagementExperimentsInsert Experiment
- meiAccountId :: Lens' ManagementExperimentsInsert Text
REST Resource
type ManagementExperimentsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Experiment :> Post '[JSON] Experiment))))))))))) Source #
A resource alias for analytics.management.experiments.insert
method which the
ManagementExperimentsInsert
request conforms to.
Creating a Request
managementExperimentsInsert Source #
:: Text | |
-> Text | |
-> Experiment | |
-> Text | |
-> ManagementExperimentsInsert |
Creates a value of ManagementExperimentsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsInsert Source #
Create a new experiment.
See: managementExperimentsInsert
smart constructor.
Request Lenses
meiWebPropertyId :: Lens' ManagementExperimentsInsert Text Source #
Web property ID to create the experiment for.
meiProFileId :: Lens' ManagementExperimentsInsert Text Source #
View (Profile) ID to create the experiment for.
meiPayload :: Lens' ManagementExperimentsInsert Experiment Source #
Multipart request metadata.
meiAccountId :: Lens' ManagementExperimentsInsert Text Source #
Account ID to create the experiment for.