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

data ManagementProFilesList Source #

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

See: managementProFilesList smart constructor.

Instances
Eq ManagementProFilesList Source # 
Instance details

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

Data ManagementProFilesList Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementProFilesList -> Constr #

dataTypeOf :: ManagementProFilesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementProFilesList Source # 
Instance details

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

Generic ManagementProFilesList Source # 
Instance details

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

Associated Types

type Rep ManagementProFilesList :: Type -> Type #

GoogleRequest ManagementProFilesList Source # 
Instance details

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

type Rep ManagementProFilesList Source # 
Instance details

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

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

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

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

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

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.