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.Create

Contents

Description

Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.

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

Synopsis

REST Resource

type AnnotationsCreateResource = "v1" :> ("annotations" :> (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 :> (ReqBody '[JSON] Annotation :> Post '[JSON] Annotation)))))))))) Source #

A resource alias for genomics.annotations.create method which the AnnotationsCreate request conforms to.

Creating a Request

annotationsCreate Source #

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

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

data AnnotationsCreate Source #

Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.

See: annotationsCreate smart constructor.

Instances

Eq AnnotationsCreate Source # 
Data AnnotationsCreate Source # 

Methods

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

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

toConstr :: AnnotationsCreate -> Constr #

dataTypeOf :: AnnotationsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

acUploadProtocol :: Lens' AnnotationsCreate (Maybe Text) Source #

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

acPp :: Lens' AnnotationsCreate Bool Source #

Pretty-print response.

acUploadType :: Lens' AnnotationsCreate (Maybe Text) Source #

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

acPayload :: Lens' AnnotationsCreate Annotation Source #

Multipart request metadata.