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.ImportTable

Contents

Description

Imports a new table.

See: Fusion Tables API Reference for fusiontables.table.importTable.

Synopsis

REST Resource

type TableImportTableResource = ("fusiontables" :> ("v2" :> ("tables" :> ("import" :> (QueryParam "name" Text :> (QueryParam "delimiter" Text :> (QueryParam "encoding" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` Table)))))))) :<|> ("upload" :> ("fusiontables" :> ("v2" :> ("tables" :> ("import" :> (QueryParam "name" Text :> (QueryParam "delimiter" Text :> (QueryParam "encoding" Text :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (ReqBody `[OctetStream]` RequestBody :> Post `[JSON]` Table))))))))))) Source

A resource alias for fusiontables.table.importTable method which the TableImportTable request conforms to.

Creating a Request

tableImportTable Source

Creates a value of TableImportTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

titName :: Lens' TableImportTable Text Source

The name to be assigned to the new table.

titDelimiter :: Lens' TableImportTable (Maybe Text) Source

The delimiter used to separate cell values. This can only consist of a single character. Default is ,.

titEncoding :: Lens' TableImportTable (Maybe Text) Source

The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding.