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 published maps readable by the current user.
See: Google Maps Engine API Reference for mapsengine.maps.listPublished
.
- type MapsListPublishedResource = "mapsengine" :> ("v1" :> ("maps" :> ("published" :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PublishedMapsListResponse)))))))
- mapsListPublished :: MapsListPublished
- data MapsListPublished
- mlpPageToken :: Lens' MapsListPublished (Maybe Text)
- mlpProjectId :: Lens' MapsListPublished (Maybe Text)
- mlpMaxResults :: Lens' MapsListPublished (Maybe Word32)
REST Resource
type MapsListPublishedResource = "mapsengine" :> ("v1" :> ("maps" :> ("published" :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PublishedMapsListResponse))))))) Source #
A resource alias for mapsengine.maps.listPublished
method which the
MapsListPublished
request conforms to.
Creating a Request
mapsListPublished :: MapsListPublished Source #
Creates a value of MapsListPublished
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MapsListPublished Source #
Return all published maps readable by the current user.
See: mapsListPublished
smart constructor.
Request Lenses
mlpPageToken :: Lens' MapsListPublished (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.
mlpProjectId :: Lens' MapsListPublished (Maybe Text) Source #
The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
mlpMaxResults :: Lens' MapsListPublished (Maybe Word32) Source #
The maximum number of items to include in a single response page. The maximum supported value is 100.