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

Contents

Description

Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together. If the request has a systemic issue, such as an attempt to write to an inaccessible annotation set, the entire RPC will fail accordingly. For lesser data issues, when possible an error will be isolated to the corresponding batch entry in the response; the remaining well formed annotations will be created normally. For details on the requirements for each individual annotation resource, see CreateAnnotation.

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

Synopsis

REST Resource

type AnnotationsBatchCreateResource = "v1" :> ("annotations:batchCreate" :> (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] BatchCreateAnnotationsRequest :> Post '[JSON] BatchCreateAnnotationsResponse)))))))))) Source #

A resource alias for genomics.annotations.batchCreate method which the AnnotationsBatchCreate request conforms to.

Creating a Request

annotationsBatchCreate Source #

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

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

data AnnotationsBatchCreate Source #

Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together. If the request has a systemic issue, such as an attempt to write to an inaccessible annotation set, the entire RPC will fail accordingly. For lesser data issues, when possible an error will be isolated to the corresponding batch entry in the response; the remaining well formed annotations will be created normally. For details on the requirements for each individual annotation resource, see CreateAnnotation.

See: annotationsBatchCreate smart constructor.

Instances

Eq AnnotationsBatchCreate Source # 
Data AnnotationsBatchCreate Source # 

Methods

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

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

toConstr :: AnnotationsBatchCreate -> Constr #

dataTypeOf :: AnnotationsBatchCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

abcUploadProtocol :: Lens' AnnotationsBatchCreate (Maybe Text) Source #

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

abcPp :: Lens' AnnotationsBatchCreate Bool Source #

Pretty-print response.

abcUploadType :: Lens' AnnotationsBatchCreate (Maybe Text) Source #

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