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 call set. For the definitions of call sets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.
See: Genomics API Reference for genomics.callsets.patch
.
- type CallSetsPatchResource = "v1" :> ("callsets" :> (Capture "callSetId" 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] CallSet :> Patch '[JSON] CallSet))))))))))))
- callSetsPatch :: CallSet -> Text -> CallSetsPatch
- data CallSetsPatch
- cspXgafv :: Lens' CallSetsPatch (Maybe Xgafv)
- cspUploadProtocol :: Lens' CallSetsPatch (Maybe Text)
- cspUpdateMask :: Lens' CallSetsPatch (Maybe FieldMask)
- cspPp :: Lens' CallSetsPatch Bool
- cspAccessToken :: Lens' CallSetsPatch (Maybe Text)
- cspUploadType :: Lens' CallSetsPatch (Maybe Text)
- cspPayload :: Lens' CallSetsPatch CallSet
- cspBearerToken :: Lens' CallSetsPatch (Maybe Text)
- cspCallSetId :: Lens' CallSetsPatch Text
- cspCallback :: Lens' CallSetsPatch (Maybe Text)
REST Resource
type CallSetsPatchResource = "v1" :> ("callsets" :> (Capture "callSetId" 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] CallSet :> Patch '[JSON] CallSet)))))))))))) Source #
A resource alias for genomics.callsets.patch
method which the
CallSetsPatch
request conforms to.
Creating a Request
Creates a value of CallSetsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CallSetsPatch Source #
Updates a call set. For the definitions of call sets and other genomics resources, see Fundamentals of Google Genomics This method supports patch semantics.
See: callSetsPatch
smart constructor.
Request Lenses
cspUploadProtocol :: Lens' CallSetsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cspUpdateMask :: Lens' CallSetsPatch (Maybe FieldMask) Source #
An optional mask specifying which fields to update. At this time, the only mutable field is name. The only acceptable value is "name". If unspecified, all mutable fields will be updated.
cspAccessToken :: Lens' CallSetsPatch (Maybe Text) Source #
OAuth access token.
cspUploadType :: Lens' CallSetsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cspPayload :: Lens' CallSetsPatch CallSet Source #
Multipart request metadata.
cspBearerToken :: Lens' CallSetsPatch (Maybe Text) Source #
OAuth bearer token.
cspCallSetId :: Lens' CallSetsPatch Text Source #
The ID of the call set to be updated.
cspCallback :: Lens' CallSetsPatch (Maybe Text) Source #
JSONP