gogol-analytics-0.2.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.Accounts.List

Contents

Description

Lists all accounts to which the user has access.

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

Synopsis

REST Resource

type ManagementAccountsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts)))))) Source #

A resource alias for analytics.management.accounts.list method which the ManagementAccountsList request conforms to.

Creating a Request

managementAccountsList :: ManagementAccountsList Source #

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

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

data ManagementAccountsList Source #

Lists all accounts to which the user has access.

See: managementAccountsList smart constructor.

Instances

Eq ManagementAccountsList Source # 
Data ManagementAccountsList Source # 

Methods

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

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

toConstr :: ManagementAccountsList -> Constr #

dataTypeOf :: ManagementAccountsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementAccountsList Source # 
Generic ManagementAccountsList Source # 
GoogleRequest ManagementAccountsList Source # 
type Rep ManagementAccountsList Source # 
type Rep ManagementAccountsList = D1 (MetaData "ManagementAccountsList" "Network.Google.Resource.Analytics.Management.Accounts.List" "gogol-analytics-0.2.0-3FrcqldgScuFeT7P3430HZ" False) (C1 (MetaCons "ManagementAccountsList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_malStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_malMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes ManagementAccountsList Source # 
type Scopes ManagementAccountsList = (:) Symbol "https://www.googleapis.com/auth/analytics" ((:) Symbol "https://www.googleapis.com/auth/analytics.edit" ((:) Symbol "https://www.googleapis.com/auth/analytics.readonly" ([] Symbol)))
type Rs ManagementAccountsList Source # 

Request Lenses

malStartIndex :: Lens' ManagementAccountsList (Maybe Int32) Source #

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

malMaxResults :: Lens' ManagementAccountsList (Maybe Int32) Source #

The maximum number of accounts to include in this response.