gogol-genomics-0.0.1: Google Genomics SDK.

Copyright(c) 2015 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. This method supports patch semantics. Returns the modified variant without its calls.

See: API Reference for genomics.variants.patch.

Synopsis

REST Resource

type VariantsPatchResource = "v1" :> ("variants" :> (Capture "variantId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" Text :> (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. This method supports patch semantics. Returns the modified variant without its calls.

See: variantsPatch smart constructor.

Request Lenses

vpUploadProtocol :: Lens' VariantsPatch (Maybe Text) Source

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

vpUpdateMask :: Lens' VariantsPatch (Maybe Text) 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.