Copyright | (c) 2015 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 web properties to which the user has access.
See: Google Analytics API Reference for analytics.management.webproperties.list
.
- type ManagementWebPropertiesListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` WebProperties))))))))
- managementWebPropertiesList :: Text -> ManagementWebPropertiesList
- data ManagementWebPropertiesList
- mwplAccountId :: Lens' ManagementWebPropertiesList Text
- mwplStartIndex :: Lens' ManagementWebPropertiesList (Maybe Int32)
- mwplMaxResults :: Lens' ManagementWebPropertiesList (Maybe Int32)
REST Resource
type ManagementWebPropertiesListResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` WebProperties)))))))) Source
A resource alias for analytics.management.webproperties.list
method which the
ManagementWebPropertiesList
request conforms to.
Creating a Request
managementWebPropertiesList Source
Creates a value of ManagementWebPropertiesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementWebPropertiesList Source
Lists web properties to which the user has access.
See: managementWebPropertiesList
smart constructor.
Request Lenses
mwplAccountId :: Lens' ManagementWebPropertiesList Text Source
Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
mwplStartIndex :: Lens' ManagementWebPropertiesList (Maybe Int32) Source
An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
mwplMaxResults :: Lens' ManagementWebPropertiesList (Maybe Int32) Source
The maximum number of web properties to include in this response.