Copyright | (c) 2015 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 |
Updates an existing view (profile).
See: Google Analytics API Reference for analytics.management.goals.update
.
- type ManagementGoalsUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("goals" :> (Capture "goalId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Goal :> Put `[JSON]` Goal))))))))))))
- managementGoalsUpdate :: Text -> Text -> Text -> Goal -> Text -> ManagementGoalsUpdate
- data ManagementGoalsUpdate
- mguWebPropertyId :: Lens' ManagementGoalsUpdate Text
- mguGoalId :: Lens' ManagementGoalsUpdate Text
- mguProFileId :: Lens' ManagementGoalsUpdate Text
- mguPayload :: Lens' ManagementGoalsUpdate Goal
- mguAccountId :: Lens' ManagementGoalsUpdate Text
REST Resource
type ManagementGoalsUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("goals" :> (Capture "goalId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Goal :> Put `[JSON]` Goal)))))))))))) Source
A resource alias for analytics.management.goals.update
method which the
ManagementGoalsUpdate
request conforms to.
Creating a Request
Creates a value of ManagementGoalsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementGoalsUpdate Source
Updates an existing view (profile).
See: managementGoalsUpdate
smart constructor.
Request Lenses
mguWebPropertyId :: Lens' ManagementGoalsUpdate Text Source
Web property ID to update the goal.
mguGoalId :: Lens' ManagementGoalsUpdate Text Source
Index of the goal to be updated.
mguProFileId :: Lens' ManagementGoalsUpdate Text Source
View (Profile) ID to update the goal.
mguPayload :: Lens' ManagementGoalsUpdate Goal Source
Multipart request metadata.
mguAccountId :: Lens' ManagementGoalsUpdate Text Source
Account ID to update the goal.