| 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 |
Network.Google.Resource.FusionTables.Column.Insert
Description
Adds a new column to the table.
See: Fusion Tables API Reference for fusiontables.column.insert.
Synopsis
- type ColumnInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Column :> Post '[JSON] Column))))))
- columnInsert :: Column -> Text -> ColumnInsert
- data ColumnInsert
- ciPayload :: Lens' ColumnInsert Column
- ciTableId :: Lens' ColumnInsert Text
REST Resource
type ColumnInsertResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Column :> Post '[JSON] Column)))))) Source #
A resource alias for fusiontables.column.insert method which the
ColumnInsert request conforms to.
Creating a Request
Arguments
| :: Column | |
| -> Text | |
| -> ColumnInsert |
Creates a value of ColumnInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ColumnInsert Source #
Adds a new column to the table.
See: columnInsert smart constructor.