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 a dataset. This method supports patch semantics.
See: API Reference for genomics.datasets.patch
.
- type DataSetsPatchResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Patch `[JSON]` DataSet))))))))))))
- dataSetsPatch :: DataSet -> Text -> DataSetsPatch
- data DataSetsPatch
- dspXgafv :: Lens' DataSetsPatch (Maybe Text)
- dspUploadProtocol :: Lens' DataSetsPatch (Maybe Text)
- dspUpdateMask :: Lens' DataSetsPatch (Maybe Text)
- dspPp :: Lens' DataSetsPatch Bool
- dspAccessToken :: Lens' DataSetsPatch (Maybe Text)
- dspUploadType :: Lens' DataSetsPatch (Maybe Text)
- dspPayload :: Lens' DataSetsPatch DataSet
- dspBearerToken :: Lens' DataSetsPatch (Maybe Text)
- dspDataSetId :: Lens' DataSetsPatch Text
- dspCallback :: Lens' DataSetsPatch (Maybe Text)
REST Resource
type DataSetsPatchResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` DataSet :> Patch `[JSON]` DataSet)))))))))))) Source
A resource alias for genomics.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 a dataset. This method supports patch semantics.
See: dataSetsPatch
smart constructor.
Request Lenses
dspUploadProtocol :: Lens' DataSetsPatch (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
dspUpdateMask :: Lens' DataSetsPatch (Maybe Text) Source
An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is "name". If unspecified, all mutable fields will be updated.
dspPp :: Lens' DataSetsPatch Bool Source
Pretty-print response.
dspAccessToken :: Lens' DataSetsPatch (Maybe Text) Source
OAuth access token.
dspUploadType :: Lens' DataSetsPatch (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
dspPayload :: Lens' DataSetsPatch DataSet Source
Multipart request metadata.
dspBearerToken :: Lens' DataSetsPatch (Maybe Text) Source
OAuth bearer token.
dspDataSetId :: Lens' DataSetsPatch Text Source
The ID of the dataset to be updated.
dspCallback :: Lens' DataSetsPatch (Maybe Text) Source
JSONP