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

Contents

Description

Creates a new variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics

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

Synopsis

REST Resource

type VariantsCreateResource = "v1" :> ("variants" :> (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] Variant :> Post '[JSON] Variant)))))))))) Source #

A resource alias for genomics.variants.create method which the VariantsCreate request conforms to.

Creating a Request

variantsCreate Source #

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

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

data VariantsCreate Source #

Creates a new variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics

See: variantsCreate smart constructor.

Instances

Eq VariantsCreate Source # 
Data VariantsCreate Source # 

Methods

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

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

toConstr :: VariantsCreate -> Constr #

dataTypeOf :: VariantsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VariantsCreate Source # 
Generic VariantsCreate Source # 

Associated Types

type Rep VariantsCreate :: * -> * #

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

Request Lenses

vcUploadProtocol :: Lens' VariantsCreate (Maybe Text) Source #

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

vcPp :: Lens' VariantsCreate Bool Source #

Pretty-print response.

vcUploadType :: Lens' VariantsCreate (Maybe Text) Source #

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

vcPayload :: Lens' VariantsCreate Variant Source #

Multipart request metadata.