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

Contents

Description

Lists segments to which the user has access.

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

Synopsis

REST Resource

type ManagementSegmentsListResource = "analytics" :> ("v3" :> ("management" :> ("segments" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Segments)))))) Source

A resource alias for analytics.management.segments.list method which the ManagementSegmentsList request conforms to.

Creating a Request

managementSegmentsList :: ManagementSegmentsList Source

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

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

Request Lenses

mslStartIndex :: Lens' ManagementSegmentsList (Maybe Int32) Source

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

mslMaxResults :: Lens' ManagementSegmentsList (Maybe Int32) Source

The maximum number of segments to include in this response.