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.Update

Contents

Description

Updates an existing custom metric.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.customMetrics.update method which the ManagementCustomMetricsUpdate request conforms to.

Creating a Request

data ManagementCustomMetricsUpdate Source #

Updates an existing custom metric.

See: managementCustomMetricsUpdate smart constructor.

Instances
Eq ManagementCustomMetricsUpdate Source # 
Instance details

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

Data ManagementCustomMetricsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementCustomMetricsUpdate -> Constr #

dataTypeOf :: ManagementCustomMetricsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementCustomMetricsUpdate Source # 
Instance details

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

Generic ManagementCustomMetricsUpdate Source # 
Instance details

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

Associated Types

type Rep ManagementCustomMetricsUpdate :: Type -> Type #

GoogleRequest ManagementCustomMetricsUpdate Source # 
Instance details

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

type Rep ManagementCustomMetricsUpdate Source # 
Instance details

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

type Rep ManagementCustomMetricsUpdate = D1 (MetaData "ManagementCustomMetricsUpdate" "Network.Google.Resource.Analytics.Management.CustomMetrics.Update" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementCustomMetricsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_mcmuCustomMetricId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mcmuWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mcmuIgnoreCustomDataSourceLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: (S1 (MetaSel (Just "_mcmuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomMetric) :*: S1 (MetaSel (Just "_mcmuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementCustomMetricsUpdate Source # 
Instance details

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

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

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

Request Lenses

mcmuCustomMetricId :: Lens' ManagementCustomMetricsUpdate Text Source #

Custom metric ID for the custom metric to update.

mcmuWebPropertyId :: Lens' ManagementCustomMetricsUpdate Text Source #

Web property ID for the custom metric to update.

mcmuIgnoreCustomDataSourceLinks :: Lens' ManagementCustomMetricsUpdate Bool Source #

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

mcmuAccountId :: Lens' ManagementCustomMetricsUpdate Text Source #

Account ID for the custom metric to update.