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 |
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
See: BigQuery API Reference for bigquery.datasets.update
.
- type DataSetsUpdateResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Put `[JSON]` DataSet)))))))
- dataSetsUpdate :: DataSet -> Text -> Text -> DataSetsUpdate
- data DataSetsUpdate
- dsuPayload :: Lens' DataSetsUpdate DataSet
- dsuDataSetId :: Lens' DataSetsUpdate Text
- dsuProjectId :: Lens' DataSetsUpdate Text
REST Resource
type DataSetsUpdateResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Put `[JSON]` DataSet))))))) Source
A resource alias for bigquery.datasets.update
method which the
DataSetsUpdate
request conforms to.
Creating a Request
Creates a value of DataSetsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsUpdate Source
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
See: dataSetsUpdate
smart constructor.
Request Lenses
dsuPayload :: Lens' DataSetsUpdate DataSet Source
Multipart request metadata.
dsuDataSetId :: Lens' DataSetsUpdate Text Source
Dataset ID of the dataset being updated
dsuProjectId :: Lens' DataSetsUpdate Text Source
Project ID of the dataset being updated