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

Contents

Description

Updates an annotation. Caller must have WRITE permission for the associated dataset.

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

Synopsis

REST Resource

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

A resource alias for genomics.annotations.update method which the AnnotationsUpdate request conforms to.

Creating a Request

annotationsUpdate Source #

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

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

data AnnotationsUpdate Source #

Updates an annotation. Caller must have WRITE permission for the associated dataset.

See: annotationsUpdate smart constructor.

Instances

Eq AnnotationsUpdate Source # 
Data AnnotationsUpdate Source # 

Methods

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

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

toConstr :: AnnotationsUpdate -> Constr #

dataTypeOf :: AnnotationsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

auUploadProtocol :: Lens' AnnotationsUpdate (Maybe Text) Source #

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

auUpdateMask :: Lens' AnnotationsUpdate (Maybe FieldMask) Source #

An optional mask specifying which fields to update. Mutable fields are name, variant, transcript, and info. If unspecified, all mutable fields will be updated.

auPp :: Lens' AnnotationsUpdate Bool Source #

Pretty-print response.

auUploadType :: Lens' AnnotationsUpdate (Maybe Text) Source #

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

auPayload :: Lens' AnnotationsUpdate Annotation Source #

Multipart request metadata.

auAnnotationId :: Lens' AnnotationsUpdate Text Source #

The ID of the annotation to be updated.