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 views (profiles) to which the user has access.
See: Google Analytics API Reference for analytics.management.profiles.list
.
Synopsis
- 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))))))))))
- managementProFilesList :: Text -> Text -> ManagementProFilesList
- data ManagementProFilesList
- mpflWebPropertyId :: Lens' ManagementProFilesList Text
- mpflAccountId :: Lens' ManagementProFilesList Text
- mpflStartIndex :: Lens' ManagementProFilesList (Maybe Int32)
- mpflMaxResults :: Lens' ManagementProFilesList (Maybe Int32)
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
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.