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

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.