gogol-genomics-0.3.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.Patch

Contents

Description

Updates a dataset. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.

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

Synopsis

REST Resource

type DataSetsPatchResource = "v1" :> ("datasets" :> (Capture "datasetId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" FieldMask :> (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:

data DataSetsPatch Source #

Updates a dataset. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.

See: dataSetsPatch smart constructor.

Instances

Eq DataSetsPatch Source # 
Data DataSetsPatch Source # 

Methods

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

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

toConstr :: DataSetsPatch -> Constr #

dataTypeOf :: DataSetsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetsPatch Source # 
Generic DataSetsPatch Source # 

Associated Types

type Rep DataSetsPatch :: * -> * #

GoogleRequest DataSetsPatch Source # 

Associated Types

type Rs DataSetsPatch :: * #

type Scopes DataSetsPatch :: [Symbol] #

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

Request Lenses

dspUploadProtocol :: Lens' DataSetsPatch (Maybe Text) Source #

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

dspUpdateMask :: Lens' DataSetsPatch (Maybe FieldMask) 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.