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

Contents

Description

Updates a variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics. Returns the modified variant without its calls.

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

Synopsis

REST Resource

type VariantsPatchResource = "v1" :> ("variants" :> (Capture "variantId" 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] Variant :> Patch '[JSON] Variant)))))))))))) Source #

A resource alias for genomics.variants.patch method which the VariantsPatch request conforms to.

Creating a Request

variantsPatch Source #

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

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

data VariantsPatch Source #

Updates a variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics. Returns the modified variant without its calls.

See: variantsPatch smart constructor.

Instances

Eq VariantsPatch Source # 
Data VariantsPatch Source # 

Methods

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

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

toConstr :: VariantsPatch -> Constr #

dataTypeOf :: VariantsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VariantsPatch Source # 
Generic VariantsPatch Source # 

Associated Types

type Rep VariantsPatch :: * -> * #

GoogleRequest VariantsPatch Source # 

Associated Types

type Rs VariantsPatch :: * #

type Scopes VariantsPatch :: [Symbol] #

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

Request Lenses

vpUploadProtocol :: Lens' VariantsPatch (Maybe Text) Source #

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

vpUpdateMask :: Lens' VariantsPatch (Maybe FieldMask) Source #

An optional mask specifying which fields to update. At this time, mutable fields are names and info. Acceptable values are "names" and "info". If unspecified, all mutable fields will be updated.

vpPp :: Lens' VariantsPatch Bool Source #

Pretty-print response.

vpUploadType :: Lens' VariantsPatch (Maybe Text) Source #

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

vpPayload :: Lens' VariantsPatch Variant Source #

Multipart request metadata.

vpVariantId :: Lens' VariantsPatch Text Source #

The ID of the variant to be updated.