gogol-fusiontables-0.3.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.ImportRows

Contents

Description

Imports more rows into a table.

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

Synopsis

REST Resource

type TableImportRowsResource = ("fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("import" :> (QueryParam "startLine" (Textual Int32) :> (QueryParam "endLine" (Textual Int32) :> (QueryParam "delimiter" Text :> (QueryParam "encoding" Text :> (QueryParam "isStrict" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Import))))))))))) :<|> ("upload" :> ("fusiontables" :> ("v2" :> ("tables" :> (Capture "tableId" Text :> ("import" :> (QueryParam "startLine" (Textual Int32) :> (QueryParam "endLine" (Textual Int32) :> (QueryParam "delimiter" Text :> (QueryParam "encoding" Text :> (QueryParam "isStrict" Bool :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Import)))))))))))))) Source #

A resource alias for fusiontables.table.importRows method which the TableImportRows request conforms to.

Creating a Request

tableImportRows Source #

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

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

data TableImportRows Source #

Imports more rows into a table.

See: tableImportRows smart constructor.

Instances

Eq TableImportRows Source # 
Data TableImportRows Source # 

Methods

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

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

toConstr :: TableImportRows -> Constr #

dataTypeOf :: TableImportRows -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableImportRows Source # 
Generic TableImportRows Source # 
GoogleRequest TableImportRows Source # 
GoogleRequest (MediaUpload TableImportRows) Source # 
type Rep TableImportRows Source # 
type Rep TableImportRows = D1 (MetaData "TableImportRows" "Network.Google.Resource.FusionTables.Table.ImportRows" "gogol-fusiontables-0.3.0-ESl5hmDbwFz97NzJeoZzZf" False) (C1 (MetaCons "TableImportRows'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tirStartLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_tirEndLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_tirTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tirDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tirEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tirIsStrict") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))
type Scopes TableImportRows Source # 
type Scopes TableImportRows = (:) Symbol "https://www.googleapis.com/auth/fusiontables" ([] Symbol)
type Rs TableImportRows Source # 
type Scopes (MediaUpload TableImportRows) Source # 
type Rs (MediaUpload TableImportRows) Source # 

Request Lenses

tirStartLine :: Lens' TableImportRows (Maybe Int32) Source #

The index of the first line from which to start importing, inclusive. Default is 0.

tirEndLine :: Lens' TableImportRows (Maybe Int32) Source #

The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.

tirTableId :: Lens' TableImportRows Text Source #

The table into which new rows are being imported.

tirDelimiter :: Lens' TableImportRows (Maybe Text) Source #

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

tirEncoding :: Lens' TableImportRows (Maybe Text) Source #

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

tirIsStrict :: Lens' TableImportRows (Maybe Bool) Source #

Whether the imported CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.