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.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)))))))))))) #

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

Creating a Request

variantsPatch #

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 #

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 # 
Data VariantsPatch # 

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 # 
Generic VariantsPatch # 

Associated Types

type Rep VariantsPatch :: * -> * #

GoogleRequest VariantsPatch # 

Associated Types

type Rs VariantsPatch :: * #

type Scopes VariantsPatch :: [Symbol] #

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

Request Lenses

vpXgafv :: Lens' VariantsPatch (Maybe Xgafv) #

V1 error format.

vpUploadProtocol :: Lens' VariantsPatch (Maybe Text) #

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

vpUpdateMask :: Lens' VariantsPatch (Maybe FieldMask) #

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 #

Pretty-print response.

vpAccessToken :: Lens' VariantsPatch (Maybe Text) #

OAuth access token.

vpUploadType :: Lens' VariantsPatch (Maybe Text) #

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

vpPayload :: Lens' VariantsPatch Variant #

Multipart request metadata.

vpBearerToken :: Lens' VariantsPatch (Maybe Text) #

OAuth bearer token.

vpVariantId :: Lens' VariantsPatch Text #

The ID of the variant to be updated.