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.Undelete

Contents

Description

Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.

See: API Reference for genomics.datasets.undelete.

Synopsis

REST Resource

type DataSetsUndeleteResource = "v1" :> ("datasets" :> (CaptureMode "datasetId" "undelete" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` UndeleteDataSetRequest :> Post `[JSON]` DataSet))))))))))) Source

A resource alias for genomics.datasets.undelete method which the DataSetsUndelete request conforms to.

Creating a Request

dataSetsUndelete Source

Creates a value of DataSetsUndelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DataSetsUndelete Source

Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.

See: dataSetsUndelete smart constructor.

Request Lenses

dsuUploadProtocol :: Lens' DataSetsUndelete (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

dsuPp :: Lens' DataSetsUndelete Bool Source

Pretty-print response.

dsuUploadType :: Lens' DataSetsUndelete (Maybe Text) Source

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

dsuDataSetId :: Lens' DataSetsUndelete Text Source

The ID of the dataset to be undeleted.