gogol-analytics-0.4.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.Goals.Get

Contents

Description

Gets a goal to which the user has access.

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

Synopsis

REST Resource

type ManagementGoalsGetResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("goals" :> (Capture "goalId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Goal))))))))))) Source #

A resource alias for analytics.management.goals.get method which the ManagementGoalsGet request conforms to.

Creating a Request

managementGoalsGet Source #

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

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

data ManagementGoalsGet Source #

Gets a goal to which the user has access.

See: managementGoalsGet smart constructor.

Instances
Eq ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Data ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Methods

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

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

toConstr :: ManagementGoalsGet -> Constr #

dataTypeOf :: ManagementGoalsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Generic ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Associated Types

type Rep ManagementGoalsGet :: Type -> Type #

GoogleRequest ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Associated Types

type Rs ManagementGoalsGet :: Type #

type Scopes ManagementGoalsGet :: [Symbol] #

type Rep ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

type Rep ManagementGoalsGet = D1 (MetaData "ManagementGoalsGet" "Network.Google.Resource.Analytics.Management.Goals.Get" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementGoalsGet'" PrefixI True) ((S1 (MetaSel (Just "_mggWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mggGoalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mggProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mggAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

type Scopes ManagementGoalsGet = "https://www.googleapis.com/auth/analytics.edit" ': ("https://www.googleapis.com/auth/analytics.readonly" ': ([] :: [Symbol]))
type Rs ManagementGoalsGet Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Goals.Get

Request Lenses

mggWebPropertyId :: Lens' ManagementGoalsGet Text Source #

Web property ID to retrieve the goal for.

mggGoalId :: Lens' ManagementGoalsGet Text Source #

Goal ID to retrieve the goal for.

mggProFileId :: Lens' ManagementGoalsGet Text Source #

View (Profile) ID to retrieve the goal for.

mggAccountId :: Lens' ManagementGoalsGet Text Source #

Account ID to retrieve the goal for.