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 a single feature, given its ID.
See: Google Maps Engine API Reference for mapsengine.tables.features.get
.
- type TablesFeaturesGetResource = "mapsengine" :> ("v1" :> ("tables" :> (Capture "tableId" Text :> ("features" :> (Capture "id" Text :> (QueryParam "version" TablesFeaturesGetVersion :> (QueryParam "select" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Feature))))))))
- tablesFeaturesGet :: Text -> Text -> TablesFeaturesGet
- data TablesFeaturesGet
- tfgVersion :: Lens' TablesFeaturesGet (Maybe TablesFeaturesGetVersion)
- tfgId :: Lens' TablesFeaturesGet Text
- tfgSelect :: Lens' TablesFeaturesGet (Maybe Text)
- tfgTableId :: Lens' TablesFeaturesGet Text
REST Resource
type TablesFeaturesGetResource = "mapsengine" :> ("v1" :> ("tables" :> (Capture "tableId" Text :> ("features" :> (Capture "id" Text :> (QueryParam "version" TablesFeaturesGetVersion :> (QueryParam "select" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Feature)))))))) Source #
A resource alias for mapsengine.tables.features.get
method which the
TablesFeaturesGet
request conforms to.
Creating a Request
Creates a value of TablesFeaturesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TablesFeaturesGet Source #
Return a single feature, given its ID.
See: tablesFeaturesGet
smart constructor.
Request Lenses
tfgVersion :: Lens' TablesFeaturesGet (Maybe TablesFeaturesGetVersion) Source #
The table version to access. See Accessing Public Data for information.
tfgSelect :: Lens' TablesFeaturesGet (Maybe Text) Source #
A SQL-like projection clause used to specify returned properties. If this parameter is not included, all properties are returned.
tfgTableId :: Lens' TablesFeaturesGet Text Source #
The ID of the table.