gogol-fusiontables-0.4.0: Google Fusion Tables SDK.

Copyright(c) 2015-2016 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 :> (AltMedia :> 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:

data TableImportTable Source #

Imports a new table.

See: tableImportTable smart constructor.

Instances
Eq TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

Data TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableImportTable -> c TableImportTable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableImportTable #

toConstr :: TableImportTable -> Constr #

dataTypeOf :: TableImportTable -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableImportTable) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableImportTable) #

gmapT :: (forall b. Data b => b -> b) -> TableImportTable -> TableImportTable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableImportTable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableImportTable -> r #

gmapQ :: (forall d. Data d => d -> u) -> TableImportTable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableImportTable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableImportTable -> m TableImportTable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableImportTable -> m TableImportTable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableImportTable -> m TableImportTable #

Show TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

Generic TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

Associated Types

type Rep TableImportTable :: Type -> Type #

GoogleRequest TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

Associated Types

type Rs TableImportTable :: Type #

type Scopes TableImportTable :: [Symbol] #

GoogleRequest (MediaUpload TableImportTable) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

type Rep TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

type Rep TableImportTable = D1 (MetaData "TableImportTable" "Network.Google.Resource.FusionTables.Table.ImportTable" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "TableImportTable'" PrefixI True) (S1 (MetaSel (Just "_titName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_titDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_titEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

type Scopes TableImportTable = "https://www.googleapis.com/auth/fusiontables" ': ([] :: [Symbol])
type Rs TableImportTable Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

type Scopes (MediaUpload TableImportTable) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

type Rs (MediaUpload TableImportTable) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Table.ImportTable

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.