Copyright | (c) 2015-2016 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 |
Creates a new, empty table in the dataset.
See: BigQuery API Reference for bigquery.tables.insert
.
Synopsis
- type TablesInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Post '[JSON] Table))))))))
- tablesInsert :: Table -> Text -> Text -> TablesInsert
- data TablesInsert
- tiPayload :: Lens' TablesInsert Table
- tiDataSetId :: Lens' TablesInsert Text
- tiProjectId :: Lens' TablesInsert Text
REST Resource
type TablesInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Table :> Post '[JSON] Table)))))))) Source #
A resource alias for bigquery.tables.insert
method which the
TablesInsert
request conforms to.
Creating a Request
Creates a value of TablesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TablesInsert Source #
Creates a new, empty table in the dataset.
See: tablesInsert
smart constructor.
Instances
Request Lenses
tiDataSetId :: Lens' TablesInsert Text Source #
Dataset ID of the new table
tiProjectId :: Lens' TablesInsert Text Source #
Project ID of the new table