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 |
Lists all accounts to which the user has access.
See: Google Analytics API Reference for analytics.management.accounts.list
.
- type ManagementAccountsListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts))))))
- managementAccountsList :: ManagementAccountsList
- data ManagementAccountsList
- malStartIndex :: Lens' ManagementAccountsList (Maybe Int32)
- malMaxResults :: Lens' ManagementAccountsList (Maybe Int32)
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.
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.