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)))))))))))) #

A resource alias for genomics.datasets.patch method which the DataSetsPatch request conforms to.

Creating a Request

dataSetsPatch #

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 #

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 # 
Data DataSetsPatch # 

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 # 
Generic DataSetsPatch # 

Associated Types

type Rep DataSetsPatch :: * -> * #

GoogleRequest DataSetsPatch # 

Associated Types

type Rs DataSetsPatch :: * #

type Scopes DataSetsPatch :: [Symbol] #

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

Request Lenses

dspXgafv :: Lens' DataSetsPatch (Maybe Xgafv) #

V1 error format.

dspUploadProtocol :: Lens' DataSetsPatch (Maybe Text) #

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

dspUpdateMask :: Lens' DataSetsPatch (Maybe FieldMask) #

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 #

Pretty-print response.

dspAccessToken :: Lens' DataSetsPatch (Maybe Text) #

OAuth access token.

dspUploadType :: Lens' DataSetsPatch (Maybe Text) #

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

dspPayload :: Lens' DataSetsPatch DataSet #

Multipart request metadata.

dspBearerToken :: Lens' DataSetsPatch (Maybe Text) #

OAuth bearer token.

dspDataSetId :: Lens' DataSetsPatch Text #

The ID of the dataset to be updated.