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.Annotations.Delete

Contents

Description

Deletes an annotation. Caller must have WRITE permission for the associated annotation set.

See: Genomics API Reference for genomics.annotations.delete.

Synopsis

REST Resource

type AnnotationsDeleteResource = "v1" :> ("annotations" :> (Capture "annotationId" 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 :> Delete '[JSON] Empty)))))))))) Source #

A resource alias for genomics.annotations.delete method which the AnnotationsDelete request conforms to.

Creating a Request

annotationsDelete Source #

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

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

data AnnotationsDelete Source #

Deletes an annotation. Caller must have WRITE permission for the associated annotation set.

See: annotationsDelete smart constructor.

Instances

Eq AnnotationsDelete Source # 
Data AnnotationsDelete Source # 

Methods

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

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

toConstr :: AnnotationsDelete -> Constr #

dataTypeOf :: AnnotationsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

adUploadProtocol :: Lens' AnnotationsDelete (Maybe Text) Source #

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

adPp :: Lens' AnnotationsDelete Bool Source #

Pretty-print response.

adUploadType :: Lens' AnnotationsDelete (Maybe Text) Source #

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

adAnnotationId :: Lens' AnnotationsDelete Text Source #

The ID of the annotation to be deleted.