gogol-genomics-0.0.1: Google Genomics SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Genomics.DataSets.Patch

Contents

Description

Updates a dataset. This method supports patch semantics.

See: API Reference for genomics.datasets.patch.

Synopsis

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

dataSetsPatch Source

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:

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.

dspUploadType :: Lens' DataSetsPatch (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").

dspPayload :: Lens' DataSetsPatch DataSet Source

Multipart request metadata.

dspDataSetId :: Lens' DataSetsPatch Text Source

The ID of the dataset to be updated.