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