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 an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.
See: Fusion Tables API Reference for fusiontables.table.update
.
Synopsis
- type TableUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> (QueryParam "replaceViewDefinition" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Put '[JSON] Table))))))
- tableUpdate :: Table -> Text -> TableUpdate
- data TableUpdate
- tabPayload :: Lens' TableUpdate Table
- tabReplaceViewDefinition :: Lens' TableUpdate (Maybe Bool)
- tabTableId :: Lens' TableUpdate Text
REST Resource
type TableUpdateResource = "fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> (QueryParam "replaceViewDefinition" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Put '[JSON] Table)))))) Source #
A resource alias for fusiontables.table.update
method which the
TableUpdate
request conforms to.
Creating a Request
Creates a value of TableUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TableUpdate Source #
Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.
See: tableUpdate
smart constructor.
Instances
Request Lenses
tabPayload :: Lens' TableUpdate Table Source #
Multipart request metadata.
tabReplaceViewDefinition :: Lens' TableUpdate (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.
tabTableId :: Lens' TableUpdate Text Source #
ID of the table that is being updated.