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 an icon or its associated metadata
See: Google Maps Engine API Reference for mapsengine.projects.icons.get
.
- type ProjectsIconsGetResource = ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Icon))))))) :<|> ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (Capture "id" Text :> (QueryParam "alt" AltMedia :> Get `[OctetStream]` Stream)))))))
- projectsIconsGet :: Text -> Text -> ProjectsIconsGet
- data ProjectsIconsGet
- pigId :: Lens' ProjectsIconsGet Text
- pigProjectId :: Lens' ProjectsIconsGet Text
REST Resource
type ProjectsIconsGetResource = ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Icon))))))) :<|> ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (Capture "id" Text :> (QueryParam "alt" AltMedia :> Get `[OctetStream]` Stream))))))) Source
A resource alias for mapsengine.projects.icons.get
method which the
ProjectsIconsGet
request conforms to.
Creating a Request
Creates a value of ProjectsIconsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIconsGet Source
Return an icon or its associated metadata
See: projectsIconsGet
smart constructor.
Request Lenses
pigId :: Lens' ProjectsIconsGet Text Source
The ID of the icon.
pigProjectId :: Lens' ProjectsIconsGet Text Source
The ID of the project.