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 |
Imports a new table.
See: Fusion Tables API Reference for fusiontables.table.importTable
.
Synopsis
- 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 :> (AltMedia :> Post '[JSON] Table)))))))))))
- tableImportTable :: Text -> TableImportTable
- data TableImportTable
- titName :: Lens' TableImportTable Text
- titDelimiter :: Lens' TableImportTable (Maybe Text)
- titEncoding :: Lens' TableImportTable (Maybe Text)
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 :> (AltMedia :> Post '[JSON] Table))))))))))) Source #
A resource alias for fusiontables.table.importTable
method which the
TableImportTable
request conforms to.
Creating a Request
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:
data TableImportTable Source #
Imports a new table.
See: tableImportTable
smart constructor.
Instances
Request Lenses
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.