Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new variant set. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics 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: Genomics API Reference for genomics.variantsets.create
.
- 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))))))))))
- variantSetsCreate :: VariantSet -> VariantSetsCreate
- data VariantSetsCreate
- vscXgafv :: Lens' VariantSetsCreate (Maybe Text)
- vscUploadProtocol :: Lens' VariantSetsCreate (Maybe Text)
- vscPp :: Lens' VariantSetsCreate Bool
- vscAccessToken :: Lens' VariantSetsCreate (Maybe Text)
- vscUploadType :: Lens' VariantSetsCreate (Maybe Text)
- vscPayload :: Lens' VariantSetsCreate VariantSet
- vscBearerToken :: Lens' VariantSetsCreate (Maybe Text)
- vscCallback :: Lens' VariantSetsCreate (Maybe Text)
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
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. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics 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").
vscAccessToken :: Lens' VariantSetsCreate (Maybe Text) Source #
OAuth access token.
vscUploadType :: Lens' VariantSetsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
vscPayload :: Lens' VariantSetsCreate VariantSet Source #
Multipart request metadata.
vscBearerToken :: Lens' VariantSetsCreate (Maybe Text) Source #
OAuth bearer token.
vscCallback :: Lens' VariantSetsCreate (Maybe Text) Source #
JSONP