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

Contents

Description

Creates a new variant set. The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.

See: API Reference for genomics.variantsets.create.

Synopsis

REST Resource

type VariantSetsCreateResource = "v1" :> ("variantsets" :> (QueryParam "$.xgafv" Text :> (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]` VariantSet :> Post `[JSON]` VariantSet)))))))))) Source

A resource alias for genomics.variantsets.create method which the VariantSetsCreate request conforms to.

Creating a Request

variantSetsCreate Source

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

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

data VariantSetsCreate Source

Creates a new variant set. The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.

See: variantSetsCreate smart constructor.

Request Lenses

vscUploadProtocol :: Lens' VariantSetsCreate (Maybe Text) Source

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

vscPp :: Lens' VariantSetsCreate Bool Source

Pretty-print response.

vscUploadType :: Lens' VariantSetsCreate (Maybe Text) Source

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

vscPayload :: Lens' VariantSetsCreate VariantSet Source

Multipart request metadata.