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

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.