gogol-fusiontables-0.0.1: Google Fusion Tables SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.FusionTables.Table.Patch

Contents

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

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

tablePatch Source

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.

Request Lenses

tpPayload :: Lens' TablePatch Table Source

Multipart request metadata.

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.

tpTableId :: Lens' TablePatch Text Source

ID of the table that is being updated.