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

Contents

Description

Lists custom metrics to which the user has access.

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

Synopsis

REST Resource

type ManagementCustomMetricsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customMetrics" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CustomMetrics)))))))))) Source

A resource alias for analytics.management.customMetrics.list method which the ManagementCustomMetricsList request conforms to.

Creating a Request

managementCustomMetricsList Source

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

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

Request Lenses

mcmlWebPropertyId :: Lens' ManagementCustomMetricsList Text Source

Web property ID for the custom metrics to retrieve.

mcmlAccountId :: Lens' ManagementCustomMetricsList Text Source

Account ID for the custom metrics to retrieve.

mcmlStartIndex :: Lens' ManagementCustomMetricsList (Maybe Int32) Source

An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.

mcmlMaxResults :: Lens' ManagementCustomMetricsList (Maybe Int32) Source

The maximum number of custom metrics to include in this response.