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.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 # 
Instance details

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

Data TableImportRows Source # 
Instance details

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

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 # 
Instance details

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

Generic TableImportRows Source # 
Instance details

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

Associated Types

type Rep TableImportRows :: Type -> Type #

GoogleRequest TableImportRows Source # 
Instance details

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

Associated Types

type Rs TableImportRows :: Type #

type Scopes TableImportRows :: [Symbol] #

GoogleRequest (MediaUpload TableImportRows) Source # 
Instance details

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

type Rep TableImportRows Source # 
Instance details

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

type Rep TableImportRows = D1 (MetaData "TableImportRows" "Network.Google.Resource.FusionTables.Table.ImportRows" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "TableImportRows'" PrefixI True) ((S1 (MetaSel (Just "_tirStartLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_tirEndLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_tirTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_tirDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tirEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tirIsStrict") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes TableImportRows Source # 
Instance details

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

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

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

type Scopes (MediaUpload TableImportRows) Source # 
Instance details

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

type Rs (MediaUpload TableImportRows) Source # 
Instance details

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

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.