| 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 |
Network.Google.Resource.FusionTables.Column.Patch
Description
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
Arguments
| :: Column | |
| -> Text | |
| -> Text | |
| -> ColumnPatch |
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.
Instances
Request Lenses
cpPayload :: Lens' ColumnPatch Column Source
Multipart request metadata.
cpTableId :: Lens' ColumnPatch Text Source
Table for which the column is being updated.
cpColumnId :: Lens' ColumnPatch Text Source
Name or identifier for the column that is being updated.