gogol-maps-engine-0.3.0: Google Maps Engine 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.MapsEngine.Tables.Files.Insert

Contents

Description

Upload a file to a placeholder table asset. See Table Upload in the Developer's Guide for more information. Supported file types are listed in the Supported data formats and limits article of the Google Maps Engine help center.

See: Google Maps Engine API Reference for mapsengine.tables.files.insert.

Synopsis

REST Resource

type TablesFilesInsertResource = ("mapsengine" :> ("v1" :> ("tables" :> (Capture "id" Text :> ("files" :> (QueryParam "filename" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) :<|> ("upload" :> ("mapsengine" :> ("v1" :> ("tables" :> (Capture "id" Text :> ("files" :> (QueryParam "filename" Text :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ())))))))))) #

A resource alias for mapsengine.tables.files.insert method which the TablesFilesInsert request conforms to.

Creating a Request

tablesFilesInsert #

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

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

data TablesFilesInsert #

Upload a file to a placeholder table asset. See Table Upload in the Developer's Guide for more information. Supported file types are listed in the Supported data formats and limits article of the Google Maps Engine help center.

See: tablesFilesInsert smart constructor.

Instances

Eq TablesFilesInsert # 
Data TablesFilesInsert # 

Methods

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

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

toConstr :: TablesFilesInsert -> Constr #

dataTypeOf :: TablesFilesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TablesFilesInsert # 
Generic TablesFilesInsert # 
GoogleRequest TablesFilesInsert # 
GoogleRequest (MediaUpload TablesFilesInsert) # 
type Rep TablesFilesInsert # 
type Rep TablesFilesInsert = D1 (MetaData "TablesFilesInsert" "Network.Google.Resource.MapsEngine.Tables.Files.Insert" "gogol-maps-engine-0.3.0-4Eb4GwFnVyLkfZLmBNKgP" False) (C1 (MetaCons "TablesFilesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tfiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tfiFilename") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TablesFilesInsert # 
type Scopes TablesFilesInsert = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs TablesFilesInsert # 
type Scopes (MediaUpload TablesFilesInsert) # 
type Rs (MediaUpload TablesFilesInsert) # 

Request Lenses

tfiId :: Lens' TablesFilesInsert Text #

The ID of the table asset.

tfiFilename :: Lens' TablesFilesInsert Text #

The file name of this uploaded file.