gogol-genomics-0.2.0: Google Genomics SDK.

Copyright(c) 2015-2016 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. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This operation is only possible for a week after the deletion occurred.

See: Genomics API Reference for genomics.datasets.undelete.

Synopsis

REST Resource

type DataSetsUndeleteResource = "v1" :> ("datasets" :> (CaptureMode "datasetId" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (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. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This operation is only possible for a week after the deletion occurred.

See: dataSetsUndelete smart constructor.

Instances

Eq DataSetsUndelete Source # 
Data DataSetsUndelete Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DataSetsUndelete -> c DataSetsUndelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DataSetsUndelete #

toConstr :: DataSetsUndelete -> Constr #

dataTypeOf :: DataSetsUndelete -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DataSetsUndelete) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DataSetsUndelete) #

gmapT :: (forall b. Data b => b -> b) -> DataSetsUndelete -> DataSetsUndelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DataSetsUndelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DataSetsUndelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> DataSetsUndelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DataSetsUndelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DataSetsUndelete -> m DataSetsUndelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DataSetsUndelete -> m DataSetsUndelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DataSetsUndelete -> m DataSetsUndelete #

Show DataSetsUndelete Source # 
Generic DataSetsUndelete Source # 
GoogleRequest DataSetsUndelete Source # 
type Rep DataSetsUndelete Source # 
type Scopes DataSetsUndelete Source # 
type Scopes DataSetsUndelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/genomics" ([] Symbol))
type Rs DataSetsUndelete Source # 

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.