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 |
Return all assets readable by the current user.
See: Google Maps Engine API Reference for mapsengine.assets.list
.
- type AssetsListResource = "mapsengine" :> ("v1" :> ("assets" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" AssetsListRole :> (QueryParam "bbox" Text :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "type" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get `[JSON]` AssetsListResponse))))))))))))))))
- assetsList :: AssetsList
- data AssetsList
- alCreatedAfter :: Lens' AssetsList (Maybe UTCTime)
- alCreatorEmail :: Lens' AssetsList (Maybe Text)
- alRole :: Lens' AssetsList (Maybe AssetsListRole)
- alBbox :: Lens' AssetsList (Maybe Text)
- alModifiedAfter :: Lens' AssetsList (Maybe UTCTime)
- alModifiedBefore :: Lens' AssetsList (Maybe UTCTime)
- alPageToken :: Lens' AssetsList (Maybe Text)
- alProjectId :: Lens' AssetsList (Maybe Text)
- alType :: Lens' AssetsList (Maybe Text)
- alSearch :: Lens' AssetsList (Maybe Text)
- alMaxResults :: Lens' AssetsList (Maybe Word32)
- alTags :: Lens' AssetsList (Maybe Text)
- alCreatedBefore :: Lens' AssetsList (Maybe UTCTime)
REST Resource
type AssetsListResource = "mapsengine" :> ("v1" :> ("assets" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" AssetsListRole :> (QueryParam "bbox" Text :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "type" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get `[JSON]` AssetsListResponse)))))))))))))))) Source
A resource alias for mapsengine.assets.list
method which the
AssetsList
request conforms to.
Creating a Request
assetsList :: AssetsList Source
Creates a value of AssetsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AssetsList Source
Return all assets readable by the current user.
See: assetsList
smart constructor.
Request Lenses
alCreatedAfter :: Lens' AssetsList (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.
alCreatorEmail :: Lens' AssetsList (Maybe Text) Source
An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
alRole :: Lens' AssetsList (Maybe AssetsListRole) Source
The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
alBbox :: Lens' AssetsList (Maybe Text) Source
A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
alModifiedAfter :: Lens' AssetsList (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.
alModifiedBefore :: Lens' AssetsList (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.
alPageToken :: Lens' AssetsList (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.
alProjectId :: Lens' AssetsList (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.
alType :: Lens' AssetsList (Maybe Text) Source
A comma separated list of asset types. Returned assets will have one of the types from the provided list. Supported values are 'map', 'layer', 'rasterCollection' and 'table'.
alSearch :: Lens' AssetsList (Maybe Text) Source
An unstructured search string used to filter the set of results based on asset metadata.
alMaxResults :: Lens' AssetsList (Maybe Word32) Source
The maximum number of items to include in a single response page. The maximum supported value is 100.
alTags :: Lens' AssetsList (Maybe Text) Source
A comma separated list of tags. Returned assets will contain all the tags from the list.
alCreatedBefore :: Lens' AssetsList (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 before this time.