gogol-analytics-0.4.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.Patch

Contents

Description

Update an existing experiment. This method supports patch semantics.

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

Synopsis

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 #

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
Eq ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

Data ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

Methods

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

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

toConstr :: ManagementExperimentsPatch -> Constr #

dataTypeOf :: ManagementExperimentsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

Generic ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

Associated Types

type Rep ManagementExperimentsPatch :: Type -> Type #

GoogleRequest ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

type Rep ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

type Rep ManagementExperimentsPatch = D1 (MetaData "ManagementExperimentsPatch" "Network.Google.Resource.Analytics.Management.Experiments.Patch" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementExperimentsPatch'" PrefixI True) ((S1 (MetaSel (Just "_mepWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mepProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mepPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Experiment) :*: (S1 (MetaSel (Just "_mepAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mepExperimentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

type Scopes ManagementExperimentsPatch = "https://www.googleapis.com/auth/analytics" ': ("https://www.googleapis.com/auth/analytics.edit" ': ([] :: [Symbol]))
type Rs ManagementExperimentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Experiments.Patch

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.

mepAccountId :: Lens' ManagementExperimentsPatch Text Source #

Account ID of the experiment to update.

mepExperimentId :: Lens' ManagementExperimentsPatch Text Source #

Experiment ID of the experiment to update.