Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a goal to which the user has access.
See: Google Analytics API Reference for analytics.management.goals.get
.
Synopsis
- 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)))))))))))
- managementGoalsGet :: Text -> Text -> Text -> Text -> ManagementGoalsGet
- data ManagementGoalsGet
- mggWebPropertyId :: Lens' ManagementGoalsGet Text
- mggGoalId :: Lens' ManagementGoalsGet Text
- mggProFileId :: Lens' ManagementGoalsGet Text
- mggAccountId :: Lens' ManagementGoalsGet Text
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
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
Request Lenses
mggWebPropertyId :: Lens' ManagementGoalsGet Text Source #
Web property 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.