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 |
Return all icons in the current project
See: Google Maps Engine API Reference for mapsengine.projects.icons.list
.
- type ProjectsIconsListResource = "mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] IconsListResponse)))))))
- projectsIconsList :: Text -> ProjectsIconsList
- data ProjectsIconsList
- pilPageToken :: Lens' ProjectsIconsList (Maybe Text)
- pilProjectId :: Lens' ProjectsIconsList Text
- pilMaxResults :: Lens' ProjectsIconsList (Maybe Word32)
REST Resource
type ProjectsIconsListResource = "mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] IconsListResponse))))))) Source #
A resource alias for mapsengine.projects.icons.list
method which the
ProjectsIconsList
request conforms to.
Creating a Request
Creates a value of ProjectsIconsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIconsList Source #
Return all icons in the current project
See: projectsIconsList
smart constructor.
Request Lenses
pilPageToken :: Lens' ProjectsIconsList (Maybe Text) Source #
The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
pilProjectId :: Lens' ProjectsIconsList Text Source #
The ID of the project.
pilMaxResults :: Lens' ProjectsIconsList (Maybe Word32) Source #
The maximum number of items to include in a single response page. The maximum supported value is 50.