Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- 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]` ()))))))))))
- tablesFilesInsert :: Text -> Text -> TablesFilesInsert
- data TablesFilesInsert
- tfiId :: Lens' TablesFilesInsert Text
- tfiFilename :: Lens' TablesFilesInsert Text
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
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.