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 |
Updates a read group set. For the definitions of read group sets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.
See: Genomics API Reference for genomics.readgroupsets.patch
.
- type ReadGroupSetsPatchResource = "v1" :> ("readgroupsets" :> (Capture "readGroupSetId" 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] ReadGroupSet :> Patch '[JSON] ReadGroupSet))))))))))))
- readGroupSetsPatch :: Text -> ReadGroupSet -> ReadGroupSetsPatch
- data ReadGroupSetsPatch
- rgspXgafv :: Lens' ReadGroupSetsPatch (Maybe Xgafv)
- rgspReadGroupSetId :: Lens' ReadGroupSetsPatch Text
- rgspUploadProtocol :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspUpdateMask :: Lens' ReadGroupSetsPatch (Maybe FieldMask)
- rgspPp :: Lens' ReadGroupSetsPatch Bool
- rgspAccessToken :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspUploadType :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspPayload :: Lens' ReadGroupSetsPatch ReadGroupSet
- rgspBearerToken :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspCallback :: Lens' ReadGroupSetsPatch (Maybe Text)
REST Resource
type ReadGroupSetsPatchResource = "v1" :> ("readgroupsets" :> (Capture "readGroupSetId" 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] ReadGroupSet :> Patch '[JSON] ReadGroupSet)))))))))))) Source #
A resource alias for genomics.readgroupsets.patch
method which the
ReadGroupSetsPatch
request conforms to.
Creating a Request
Creates a value of ReadGroupSetsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReadGroupSetsPatch Source #
Updates a read group set. For the definitions of read group sets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.
See: readGroupSetsPatch
smart constructor.
Request Lenses
rgspReadGroupSetId :: Lens' ReadGroupSetsPatch Text Source #
The ID of the read group set to be updated. The caller must have WRITE permissions to the dataset associated with this read group set.
rgspUploadProtocol :: Lens' ReadGroupSetsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rgspUpdateMask :: Lens' ReadGroupSetsPatch (Maybe FieldMask) Source #
An optional mask specifying which fields to update. Supported fields: * name. * referenceSetId. Leaving `updateMask` unset is equivalent to specifying all mutable fields.
rgspAccessToken :: Lens' ReadGroupSetsPatch (Maybe Text) Source #
OAuth access token.
rgspUploadType :: Lens' ReadGroupSetsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rgspPayload :: Lens' ReadGroupSetsPatch ReadGroupSet Source #
Multipart request metadata.
rgspBearerToken :: Lens' ReadGroupSetsPatch (Maybe Text) Source #
OAuth bearer token.
rgspCallback :: Lens' ReadGroupSetsPatch (Maybe Text) Source #
JSONP