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. This method supports patch semantics.
See: BigQuery API Reference for bigquery.datasets.patch
.
- type DataSetsPatchResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Patch `[JSON]` DataSet)))))))
- dataSetsPatch :: DataSet -> Text -> Text -> DataSetsPatch
- data DataSetsPatch
- dspPayload :: Lens' DataSetsPatch DataSet
- dspDataSetId :: Lens' DataSetsPatch Text
- dspProjectId :: Lens' DataSetsPatch Text
REST Resource
type DataSetsPatchResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Patch `[JSON]` DataSet))))))) Source
A resource alias for bigquery.datasets.patch
method which the
DataSetsPatch
request conforms to.
Creating a Request
Creates a value of DataSetsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataSetsPatch 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. This method supports patch semantics.
See: dataSetsPatch
smart constructor.
Request Lenses
dspPayload :: Lens' DataSetsPatch DataSet Source
Multipart request metadata.
dspDataSetId :: Lens' DataSetsPatch Text Source
Dataset ID of the dataset being updated
dspProjectId :: Lens' DataSetsPatch Text Source
Project ID of the dataset being updated