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 |
Updates the name or type of an existing column.
See: Fusion Tables API Reference for fusiontables.column.update
.
Synopsis
- type ColumnUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (Capture "columnId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Column :> Put '[JSON] Column)))))))
- columnUpdate :: Column -> Text -> Text -> ColumnUpdate
- data ColumnUpdate
- cuPayload :: Lens' ColumnUpdate Column
- cuTableId :: Lens' ColumnUpdate Text
- cuColumnId :: Lens' ColumnUpdate Text
REST Resource
type ColumnUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("columns" :> (Capture "columnId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Column :> Put '[JSON] Column))))))) Source #
A resource alias for fusiontables.column.update
method which the
ColumnUpdate
request conforms to.
Creating a Request
Creates a value of ColumnUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ColumnUpdate Source #
Updates the name or type of an existing column.
See: columnUpdate
smart constructor.
Instances
Request Lenses
cuColumnId :: Lens' ColumnUpdate Text Source #
Name or identifier for the column that is being updated.