| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Analytics.Management.Segments.List
Description
Lists segments to which the user has access.
See: Google Analytics API Reference for analytics.management.segments.list.
Synopsis
- type ManagementSegmentsListResource = "analytics" :> ("v3" :> ("management" :> ("segments" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Segments))))))
- managementSegmentsList :: ManagementSegmentsList
- data ManagementSegmentsList
- mslStartIndex :: Lens' ManagementSegmentsList (Maybe Int32)
- mslMaxResults :: Lens' ManagementSegmentsList (Maybe Int32)
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:
data ManagementSegmentsList Source #
Lists segments to which the user has access.
See: managementSegmentsList smart constructor.
Instances
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.