gogol-analytics-0.2.0: Google Analytics SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Analytics.Management.Experiments.Insert

Contents

Description

Create a new experiment.

See: Google Analytics API Reference for analytics.management.experiments.insert.

Synopsis

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 #

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.

Instances

Eq ManagementExperimentsInsert Source # 
Data ManagementExperimentsInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagementExperimentsInsert -> c ManagementExperimentsInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagementExperimentsInsert #

toConstr :: ManagementExperimentsInsert -> Constr #

dataTypeOf :: ManagementExperimentsInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ManagementExperimentsInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagementExperimentsInsert) #

gmapT :: (forall b. Data b => b -> b) -> ManagementExperimentsInsert -> ManagementExperimentsInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagementExperimentsInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagementExperimentsInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagementExperimentsInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagementExperimentsInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagementExperimentsInsert -> m ManagementExperimentsInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementExperimentsInsert -> m ManagementExperimentsInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementExperimentsInsert -> m ManagementExperimentsInsert #

Show ManagementExperimentsInsert Source # 
Generic ManagementExperimentsInsert Source # 
GoogleRequest ManagementExperimentsInsert Source # 
type Rep ManagementExperimentsInsert Source # 
type Rep ManagementExperimentsInsert = D1 (MetaData "ManagementExperimentsInsert" "Network.Google.Resource.Analytics.Management.Experiments.Insert" "gogol-analytics-0.2.0-3FrcqldgScuFeT7P3430HZ" False) (C1 (MetaCons "ManagementExperimentsInsert'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_meiWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_meiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_meiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Experiment)) (S1 (MetaSel (Just Symbol "_meiAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementExperimentsInsert Source # 
type Scopes ManagementExperimentsInsert = (:) Symbol "https://www.googleapis.com/auth/analytics" ((:) Symbol "https://www.googleapis.com/auth/analytics.edit" ([] Symbol))
type Rs ManagementExperimentsInsert Source # 

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.

meiAccountId :: Lens' ManagementExperimentsInsert Text Source #

Account ID to create the experiment for.