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 parent ids of the specified layer.
See: Google Maps Engine API Reference for mapsengine.layers.parents.list
.
- type LayersParentsListResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> ("parents" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ParentsListResponse)))))))
- layersParentsList :: Text -> LayersParentsList
- data LayersParentsList
- lId :: Lens' LayersParentsList Text
- lPageToken :: Lens' LayersParentsList (Maybe Text)
- lMaxResults :: Lens' LayersParentsList (Maybe Word32)
REST Resource
type LayersParentsListResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> ("parents" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ParentsListResponse))))))) Source
A resource alias for mapsengine.layers.parents.list
method which the
LayersParentsList
request conforms to.
Creating a Request
:: Text | |
-> LayersParentsList |
Creates a value of LayersParentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LayersParentsList Source
Return all parent ids of the specified layer.
See: layersParentsList
smart constructor.
Request Lenses
lId :: Lens' LayersParentsList Text Source
The ID of the layer whose parents will be listed.
lPageToken :: Lens' LayersParentsList (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.
lMaxResults :: Lens' LayersParentsList (Maybe Word32) Source
The maximum number of items to include in a single response page. The maximum supported value is 50.