| 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 |
Network.Google.Resource.BigQuery.TableData.InsertAll
Description
Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.
See: BigQuery API Reference for bigquery.tabledata.insertAll.
- type TableDataInsertAllResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("insertAll" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TableDataInsertAllRequest :> Post `[JSON]` TableDataInsertAllResponse))))))))))
- tableDataInsertAll :: TableDataInsertAllRequest -> Text -> Text -> Text -> TableDataInsertAll
- data TableDataInsertAll
- tdiaPayload :: Lens' TableDataInsertAll TableDataInsertAllRequest
- tdiaDataSetId :: Lens' TableDataInsertAll Text
- tdiaProjectId :: Lens' TableDataInsertAll Text
- tdiaTableId :: Lens' TableDataInsertAll Text
REST Resource
type TableDataInsertAllResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("insertAll" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TableDataInsertAllRequest :> Post `[JSON]` TableDataInsertAllResponse)))))))))) Source
A resource alias for bigquery.tabledata.insertAll method which the
TableDataInsertAll request conforms to.
Creating a Request
Arguments
| :: TableDataInsertAllRequest | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> TableDataInsertAll |
Creates a value of TableDataInsertAll with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TableDataInsertAll Source
Streams data into BigQuery one record at a time without needing to run a load job. Requires the WRITER dataset role.
See: tableDataInsertAll smart constructor.
Request Lenses
tdiaPayload :: Lens' TableDataInsertAll TableDataInsertAllRequest Source
Multipart request metadata.
tdiaDataSetId :: Lens' TableDataInsertAll Text Source
Dataset ID of the destination table.
tdiaProjectId :: Lens' TableDataInsertAll Text Source
Project ID of the destination table.
tdiaTableId :: Lens' TableDataInsertAll Text Source
Table ID of the destination table.