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

Contents

Description

Updates an existing view (profile). This method supports patch semantics.

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

Synopsis

REST Resource

type ManagementGoalsPatchResource = "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 :> Patch `[JSON]` Goal)))))))))))) Source

A resource alias for analytics.management.goals.patch method which the ManagementGoalsPatch request conforms to.

Creating a Request

managementGoalsPatch Source

Creates a value of ManagementGoalsPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

mgpWebPropertyId :: Lens' ManagementGoalsPatch Text Source

Web property ID to update the goal.

mgpGoalId :: Lens' ManagementGoalsPatch Text Source

Index of the goal to be updated.

mgpProFileId :: Lens' ManagementGoalsPatch Text Source

View (Profile) ID to update the goal.

mgpPayload :: Lens' ManagementGoalsPatch Goal Source

Multipart request metadata.

mgpAccountId :: Lens' ManagementGoalsPatch Text Source

Account ID to update the goal.