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 |
Network.Google.Resource.Genomics.CallSets.Patch
Description
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)))))))))))) #
A resource alias for genomics.callsets.patch
method which the
CallSetsPatch
request conforms to.
Creating a Request
Arguments
:: CallSet | |
-> Text | |
-> CallSetsPatch |
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 #
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.
Instances
Request Lenses
cspUploadProtocol :: Lens' CallSetsPatch (Maybe Text) #
Upload protocol for media (e.g. "raw", "multipart").
cspUpdateMask :: Lens' CallSetsPatch (Maybe FieldMask) #
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.
cspPp :: Lens' CallSetsPatch Bool #
Pretty-print response.
cspAccessToken :: Lens' CallSetsPatch (Maybe Text) #
OAuth access token.
cspUploadType :: Lens' CallSetsPatch (Maybe Text) #
Legacy upload protocol for media (e.g. "media", "multipart").
cspPayload :: Lens' CallSetsPatch CallSet #
Multipart request metadata.
cspBearerToken :: Lens' CallSetsPatch (Maybe Text) #
OAuth bearer token.
cspCallSetId :: Lens' CallSetsPatch Text #
The ID of the call set to be updated.
cspCallback :: Lens' CallSetsPatch (Maybe Text) #
JSONP