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 layers readable by the current user.
See: Google Maps Engine API Reference for mapsengine.layers.listPublished
.
- type LayersListPublishedResource = "mapsengine" :> ("v1" :> ("layers" :> ("published" :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PublishedLayersListResponse)))))))
- layersListPublished :: LayersListPublished
- data LayersListPublished
- llpPageToken :: Lens' LayersListPublished (Maybe Text)
- llpProjectId :: Lens' LayersListPublished (Maybe Text)
- llpMaxResults :: Lens' LayersListPublished (Maybe Word32)
REST Resource
type LayersListPublishedResource = "mapsengine" :> ("v1" :> ("layers" :> ("published" :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PublishedLayersListResponse))))))) Source #
A resource alias for mapsengine.layers.listPublished
method which the
LayersListPublished
request conforms to.
Creating a Request
layersListPublished :: LayersListPublished Source #
Creates a value of LayersListPublished
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LayersListPublished Source #
Return all published layers readable by the current user.
See: layersListPublished
smart constructor.
Request Lenses
llpPageToken :: Lens' LayersListPublished (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.
llpProjectId :: Lens' LayersListPublished (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.
llpMaxResults :: Lens' LayersListPublished (Maybe Word32) Source #
The maximum number of items to include in a single response page. The maximum supported value is 100.