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

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.