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