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.ProFiles.Insert

Contents

Description

Create a new view (profile).

See: Google Analytics API Reference for analytics.management.profiles.insert.

Synopsis

REST Resource

type ManagementProFilesInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ProFile :> Post `[JSON]` ProFile))))))))) Source

A resource alias for analytics.management.profiles.insert method which the ManagementProFilesInsert request conforms to.

Creating a Request

managementProFilesInsert Source

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

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

Request Lenses

mpfiWebPropertyId :: Lens' ManagementProFilesInsert Text Source

Web property ID to create the view (profile) for.

mpfiAccountId :: Lens' ManagementProFilesInsert Text Source

Account ID to create the view (profile) for.