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

Contents

Description

Get a custom metric to which the user has access.

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

Synopsis

REST Resource

type ManagementCustomMetricsGetResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customMetrics" :> (Capture "customMetricId" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` CustomMetric))))))))) Source

A resource alias for analytics.management.customMetrics.get method which the ManagementCustomMetricsGet request conforms to.

Creating a Request

managementCustomMetricsGet Source

Creates a value of ManagementCustomMetricsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

mcmgCustomMetricId :: Lens' ManagementCustomMetricsGet Text Source

The ID of the custom metric to retrieve.

mcmgWebPropertyId :: Lens' ManagementCustomMetricsGet Text Source

Web property ID for the custom metric to retrieve.

mcmgAccountId :: Lens' ManagementCustomMetricsGet Text Source

Account ID for the custom metric to retrieve.