gogol-analytics-0.4.0: Google Analytics SDK.

Copyright(c) 2015-2016 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:

data ManagementSegmentsList Source #

Lists segments to which the user has access.

See: managementSegmentsList smart constructor.

Instances
Eq ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

Data ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagementSegmentsList -> c ManagementSegmentsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagementSegmentsList #

toConstr :: ManagementSegmentsList -> Constr #

dataTypeOf :: ManagementSegmentsList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagementSegmentsList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagementSegmentsList) #

gmapT :: (forall b. Data b => b -> b) -> ManagementSegmentsList -> ManagementSegmentsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagementSegmentsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagementSegmentsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagementSegmentsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagementSegmentsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagementSegmentsList -> m ManagementSegmentsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementSegmentsList -> m ManagementSegmentsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagementSegmentsList -> m ManagementSegmentsList #

Show ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

Generic ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

Associated Types

type Rep ManagementSegmentsList :: Type -> Type #

GoogleRequest ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

type Rep ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

type Rep ManagementSegmentsList = D1 (MetaData "ManagementSegmentsList" "Network.Google.Resource.Analytics.Management.Segments.List" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementSegmentsList'" PrefixI True) (S1 (MetaSel (Just "_mslStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_mslMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))
type Scopes ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

type Scopes ManagementSegmentsList = "https://www.googleapis.com/auth/analytics" ': ("https://www.googleapis.com/auth/analytics.edit" ': ("https://www.googleapis.com/auth/analytics.readonly" ': ([] :: [Symbol])))
type Rs ManagementSegmentsList Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Segments.List

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.