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 maps readable by the current user.
See: Google Maps Engine API Reference for mapsengine.maps.list
.
- type MapsListResource = "mapsengine" :> ("v1" :> ("maps" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" MapsListRole :> (QueryParam "bbox" Text :> (QueryParam "processingStatus" MapsListProcessingStatus :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] MapsListResponse))))))))))))))))
- mapsList :: MapsList
- data MapsList
- mlCreatedAfter :: Lens' MapsList (Maybe UTCTime)
- mlCreatorEmail :: Lens' MapsList (Maybe Text)
- mlRole :: Lens' MapsList (Maybe MapsListRole)
- mlBbox :: Lens' MapsList (Maybe Text)
- mlProcessingStatus :: Lens' MapsList (Maybe MapsListProcessingStatus)
- mlModifiedAfter :: Lens' MapsList (Maybe UTCTime)
- mlModifiedBefore :: Lens' MapsList (Maybe UTCTime)
- mlPageToken :: Lens' MapsList (Maybe Text)
- mlProjectId :: Lens' MapsList (Maybe Text)
- mlSearch :: Lens' MapsList (Maybe Text)
- mlMaxResults :: Lens' MapsList (Maybe Word32)
- mlTags :: Lens' MapsList (Maybe Text)
- mlCreatedBefore :: Lens' MapsList (Maybe UTCTime)
REST Resource
type MapsListResource = "mapsengine" :> ("v1" :> ("maps" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" MapsListRole :> (QueryParam "bbox" Text :> (QueryParam "processingStatus" MapsListProcessingStatus :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] MapsListResponse)))))))))))))))) Source #
A resource alias for mapsengine.maps.list
method which the
MapsList
request conforms to.
Creating a Request
Creates a value of MapsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Return all maps readable by the current user.
See: mapsList
smart constructor.
Request Lenses
mlCreatedAfter :: Lens' MapsList (Maybe UTCTime) Source #
An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.
mlCreatorEmail :: Lens' MapsList (Maybe Text) Source #
An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
mlRole :: Lens' MapsList (Maybe MapsListRole) Source #
The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
mlBbox :: Lens' MapsList (Maybe Text) Source #
A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
mlModifiedAfter :: Lens' MapsList (Maybe UTCTime) Source #
An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.
mlModifiedBefore :: Lens' MapsList (Maybe UTCTime) Source #
An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.
mlPageToken :: Lens' MapsList (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.
mlProjectId :: Lens' MapsList (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.
mlSearch :: Lens' MapsList (Maybe Text) Source #
An unstructured search string used to filter the set of results based on asset metadata.
mlMaxResults :: Lens' MapsList (Maybe Word32) Source #
The maximum number of items to include in a single response page. The maximum supported value is 100.