Copyright | (c) 2015 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. This method supports patch semantics.
See: API Reference for genomics.readgroupsets.patch
.
- type ReadGroupSetsPatchResource = "v1" :> ("readgroupsets" :> (Capture "readGroupSetId" 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]` ReadGroupSet :> Patch `[JSON]` ReadGroupSet))))))))))))
- readGroupSetsPatch :: Text -> ReadGroupSet -> ReadGroupSetsPatch
- data ReadGroupSetsPatch
- rgspXgafv :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspReadGroupSetId :: Lens' ReadGroupSetsPatch Text
- rgspUploadProtocol :: Lens' ReadGroupSetsPatch (Maybe Text)
- rgspUpdateMask :: Lens' ReadGroupSetsPatch (Maybe Text)
- 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" 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]` 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. 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 Text) Source
An optional mask specifying which fields to update. At this time, mutable fields are referenceSetId and name. Acceptable values are "referenceSetId" and "name". If unspecified, all mutable fields will be updated.
rgspPp :: Lens' ReadGroupSetsPatch Bool Source
Pretty-print response.
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