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

Contents

Description

Updates an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset.

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

Synopsis

REST Resource

type AnnotationSetsUpdateResource = "v1" :> ("annotationsets" :> (Capture "annotationSetId" 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] AnnotationSet :> Put '[JSON] AnnotationSet)))))))))))) #

A resource alias for genomics.annotationsets.update method which the AnnotationSetsUpdate request conforms to.

Creating a Request

annotationSetsUpdate #

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

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

data AnnotationSetsUpdate #

Updates an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset.

See: annotationSetsUpdate smart constructor.

Instances

Eq AnnotationSetsUpdate # 
Data AnnotationSetsUpdate # 

Methods

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

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

toConstr :: AnnotationSetsUpdate -> Constr #

dataTypeOf :: AnnotationSetsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

asuUploadProtocol :: Lens' AnnotationSetsUpdate (Maybe Text) #

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

asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe FieldMask) #

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

asuAnnotationSetId :: Lens' AnnotationSetsUpdate Text #

The ID of the annotation set to be updated.

asuPp :: Lens' AnnotationSetsUpdate Bool #

Pretty-print response.

asuUploadType :: Lens' AnnotationSetsUpdate (Maybe Text) #

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

asuPayload :: Lens' AnnotationSetsUpdate AnnotationSet #

Multipart request metadata.