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

Contents

Description

Lists views (profiles) to which the user has access.

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

Synopsis

REST Resource

type ManagementProFilesListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ProFiles)))))))))) Source

A resource alias for analytics.management.profiles.list method which the ManagementProFilesList request conforms to.

Creating a Request

managementProFilesList Source

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

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

Request Lenses

mpflWebPropertyId :: Lens' ManagementProFilesList Text Source

Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access.

mpflAccountId :: Lens' ManagementProFilesList Text Source

Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.

mpflStartIndex :: Lens' ManagementProFilesList (Maybe Int32) Source

An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.

mpflMaxResults :: Lens' ManagementProFilesList (Maybe Int32) Source

The maximum number of views (profiles) to include in this response.