| 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.Table.Patch
Description
Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.
See: Fusion Tables API Reference for fusiontables.table.patch.
Synopsis
- type TablePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> (QueryParam "replaceViewDefinition" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Patch '[JSON] Table))))))
- tablePatch :: Table -> Text -> TablePatch
- data TablePatch
- tpPayload :: Lens' TablePatch Table
- tpReplaceViewDefinition :: Lens' TablePatch (Maybe Bool)
- tpTableId :: Lens' TablePatch Text
REST Resource
type TablePatchResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> (QueryParam "replaceViewDefinition" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Patch '[JSON] Table)))))) Source #
A resource alias for fusiontables.table.patch method which the
TablePatch request conforms to.
Creating a Request
Arguments
| :: Table | |
| -> Text | |
| -> TablePatch |
Creates a value of TablePatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TablePatch Source #
Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.
See: tablePatch smart constructor.
Instances
Request Lenses
tpReplaceViewDefinition :: Lens' TablePatch (Maybe Bool) Source #
Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.