gogol-analytics-0.2.0: Google Analytics SDK.

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

data ManagementCustomMetricsGet Source #

Get a custom metric to which the user has access.

See: managementCustomMetricsGet smart constructor.

Instances

Eq ManagementCustomMetricsGet Source # 
Data ManagementCustomMetricsGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagementCustomMetricsGet -> c ManagementCustomMetricsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagementCustomMetricsGet #

toConstr :: ManagementCustomMetricsGet -> Constr #

dataTypeOf :: ManagementCustomMetricsGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ManagementCustomMetricsGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagementCustomMetricsGet) #

gmapT :: (forall b. Data b => b -> b) -> ManagementCustomMetricsGet -> ManagementCustomMetricsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagementCustomMetricsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagementCustomMetricsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagementCustomMetricsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagementCustomMetricsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagementCustomMetricsGet -> m ManagementCustomMetricsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementCustomMetricsGet -> m ManagementCustomMetricsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementCustomMetricsGet -> m ManagementCustomMetricsGet #

Show ManagementCustomMetricsGet Source # 
Generic ManagementCustomMetricsGet Source # 
GoogleRequest ManagementCustomMetricsGet Source # 
type Rep ManagementCustomMetricsGet Source # 
type Rep ManagementCustomMetricsGet = D1 (MetaData "ManagementCustomMetricsGet" "Network.Google.Resource.Analytics.Management.CustomMetrics.Get" "gogol-analytics-0.2.0-3FrcqldgScuFeT7P3430HZ" False) (C1 (MetaCons "ManagementCustomMetricsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcmgCustomMetricId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_mcmgWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcmgAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementCustomMetricsGet Source # 
type Scopes ManagementCustomMetricsGet = (:) Symbol "https://www.googleapis.com/auth/analytics.edit" ((:) Symbol "https://www.googleapis.com/auth/analytics.readonly" ([] Symbol))
type Rs ManagementCustomMetricsGet Source # 

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.