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 dataset.
See: BigQuery API Reference for bigquery.datasets.insert
.
Synopsis
- type DataSetsInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataSet :> Post '[JSON] DataSet))))))
- dataSetsInsert :: DataSet -> Text -> DataSetsInsert
- data DataSetsInsert
- dsiPayload :: Lens' DataSetsInsert DataSet
- dsiProjectId :: Lens' DataSetsInsert Text
REST Resource
type DataSetsInsertResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataSet :> Post '[JSON] DataSet)))))) Source #
A resource alias for bigquery.datasets.insert
method which the
DataSetsInsert
request conforms to.
Creating a Request
Creates a value of DataSetsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsInsert Source #
Creates a new empty dataset.
See: dataSetsInsert
smart constructor.
Instances
Request Lenses
dsiPayload :: Lens' DataSetsInsert DataSet Source #
Multipart request metadata.
dsiProjectId :: Lens' DataSetsInsert Text Source #
Project ID of the new dataset