| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Analytics.Management.CustomMetrics.Get
Description
Get a custom metric to which the user has access.
See: Google Analytics API Reference for analytics.management.customMetrics.get.
- type ManagementCustomMetricsGetResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customMetrics" :> (Capture "customMetricId" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` CustomMetric)))))))))
- managementCustomMetricsGet :: Text -> Text -> Text -> ManagementCustomMetricsGet
- data ManagementCustomMetricsGet
- mcmgCustomMetricId :: Lens' ManagementCustomMetricsGet Text
- mcmgWebPropertyId :: Lens' ManagementCustomMetricsGet Text
- mcmgAccountId :: Lens' ManagementCustomMetricsGet Text
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
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ManagementCustomMetricsGet |
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:
data ManagementCustomMetricsGet Source
Get a custom metric to which the user has access.
See: managementCustomMetricsGet smart constructor.
Instances
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.