gogol-maps-engine-0.0.1: Google Maps Engine SDK.

Copyright(c) 2015 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 :> (ReqBody `[OctetStream]` RequestBody :> Post `[JSON]` ())))))))))) Source

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

Creating a Request

tablesFilesInsert Source

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 Source

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.

Request Lenses

tfiId :: Lens' TablesFilesInsert Text Source

The ID of the table asset.

tfiFilename :: Lens' TablesFilesInsert Text Source

The file name of this uploaded file.