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

Contents

Description

Updates an existing view (profile).

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

Synopsis

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

managementGoalsUpdate Source

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:

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.