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.CustomMetrics.Patch

Contents

Description

Updates an existing custom metric. This method supports patch semantics.

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

Synopsis

REST Resource

type ManagementCustomMetricsPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customMetrics" :> (Capture "customMetricId" Text :> (QueryParam "ignoreCustomDataSourceLinks" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomMetric :> Patch '[JSON] CustomMetric))))))))))) Source #

A resource alias for analytics.management.customMetrics.patch method which the ManagementCustomMetricsPatch request conforms to.

Creating a Request

data ManagementCustomMetricsPatch Source #

Updates an existing custom metric. This method supports patch semantics.

See: managementCustomMetricsPatch smart constructor.

Instances
Eq ManagementCustomMetricsPatch Source # 
Instance details

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

Data ManagementCustomMetricsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementCustomMetricsPatch -> Constr #

dataTypeOf :: ManagementCustomMetricsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementCustomMetricsPatch Source # 
Instance details

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

Generic ManagementCustomMetricsPatch Source # 
Instance details

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

Associated Types

type Rep ManagementCustomMetricsPatch :: Type -> Type #

GoogleRequest ManagementCustomMetricsPatch Source # 
Instance details

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

type Rep ManagementCustomMetricsPatch Source # 
Instance details

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

type Rep ManagementCustomMetricsPatch = D1 (MetaData "ManagementCustomMetricsPatch" "Network.Google.Resource.Analytics.Management.CustomMetrics.Patch" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementCustomMetricsPatch'" PrefixI True) ((S1 (MetaSel (Just "_mcmpCustomMetricId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcmpWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mcmpIgnoreCustomDataSourceLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: (S1 (MetaSel (Just "_mcmpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomMetric) :*: S1 (MetaSel (Just "_mcmpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementCustomMetricsPatch Source # 
Instance details

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

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

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

Request Lenses

mcmpCustomMetricId :: Lens' ManagementCustomMetricsPatch Text Source #

Custom metric ID for the custom metric to update.

mcmpWebPropertyId :: Lens' ManagementCustomMetricsPatch Text Source #

Web property ID for the custom metric to update.

mcmpIgnoreCustomDataSourceLinks :: Lens' ManagementCustomMetricsPatch Bool Source #

Force the update and ignore any warnings related to the custom metric being linked to a custom data source / data set.

mcmpAccountId :: Lens' ManagementCustomMetricsPatch Text Source #

Account ID for the custom metric to update.