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

Contents

Description

Creates a new annotation set. Caller must have WRITE permission for the associated dataset. The following fields are required: * datasetId * referenceSetId All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field).

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

Synopsis

REST Resource

type AnnotationSetsCreateResource = "v1" :> ("annotationsets" :> (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] AnnotationSet :> Post '[JSON] AnnotationSet)))))))))) Source #

A resource alias for genomics.annotationsets.create method which the AnnotationSetsCreate request conforms to.

Creating a Request

annotationSetsCreate Source #

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

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

data AnnotationSetsCreate Source #

Creates a new annotation set. Caller must have WRITE permission for the associated dataset. The following fields are required: * datasetId * referenceSetId All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field).

See: annotationSetsCreate smart constructor.

Instances

Eq AnnotationSetsCreate Source # 
Data AnnotationSetsCreate Source # 

Methods

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

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

toConstr :: AnnotationSetsCreate -> Constr #

dataTypeOf :: AnnotationSetsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ascUploadProtocol :: Lens' AnnotationSetsCreate (Maybe Text) Source #

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

ascPp :: Lens' AnnotationSetsCreate Bool Source #

Pretty-print response.

ascUploadType :: Lens' AnnotationSetsCreate (Maybe Text) Source #

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