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

Contents

Description

Lists goals to which the user has access.

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

Synopsis

REST Resource

type ManagementGoalsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("goals" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Goals)))))))))))) Source #

A resource alias for analytics.management.goals.list method which the ManagementGoalsList request conforms to.

Creating a Request

managementGoalsList Source #

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

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

data ManagementGoalsList Source #

Lists goals to which the user has access.

See: managementGoalsList smart constructor.

Instances
Eq ManagementGoalsList Source # 
Instance details

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

Data ManagementGoalsList Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementGoalsList -> Constr #

dataTypeOf :: ManagementGoalsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementGoalsList Source # 
Instance details

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

Generic ManagementGoalsList Source # 
Instance details

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

Associated Types

type Rep ManagementGoalsList :: Type -> Type #

GoogleRequest ManagementGoalsList Source # 
Instance details

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

Associated Types

type Rs ManagementGoalsList :: Type #

type Scopes ManagementGoalsList :: [Symbol] #

type Rep ManagementGoalsList Source # 
Instance details

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

type Rep ManagementGoalsList = D1 (MetaData "ManagementGoalsList" "Network.Google.Resource.Analytics.Management.Goals.List" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementGoalsList'" PrefixI True) ((S1 (MetaSel (Just "_mglWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mglProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mglAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mglStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_mglMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes ManagementGoalsList Source # 
Instance details

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

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

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

Request Lenses

mglWebPropertyId :: Lens' ManagementGoalsList Text Source #

Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.

mglProFileId :: Lens' ManagementGoalsList Text Source #

View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.

mglAccountId :: Lens' ManagementGoalsList Text Source #

Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.

mglStartIndex :: Lens' ManagementGoalsList (Maybe Int32) Source #

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

mglMaxResults :: Lens' ManagementGoalsList (Maybe Int32) Source #

The maximum number of goals to include in this response.