gogol-analytics-0.0.1: Google Analytics SDK.

Copyright(c) 2015 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

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.