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 an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset.
See: Genomics API Reference for genomics.annotationsets.update
.
- type AnnotationSetsUpdateResource = "v1" :> ("annotationsets" :> (Capture "annotationSetId" 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] AnnotationSet :> Put '[JSON] AnnotationSet))))))))))))
- annotationSetsUpdate :: Text -> AnnotationSet -> AnnotationSetsUpdate
- data AnnotationSetsUpdate
- asuXgafv :: Lens' AnnotationSetsUpdate (Maybe Xgafv)
- asuUploadProtocol :: Lens' AnnotationSetsUpdate (Maybe Text)
- asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe FieldMask)
- asuAnnotationSetId :: Lens' AnnotationSetsUpdate Text
- asuPp :: Lens' AnnotationSetsUpdate Bool
- asuAccessToken :: Lens' AnnotationSetsUpdate (Maybe Text)
- asuUploadType :: Lens' AnnotationSetsUpdate (Maybe Text)
- asuPayload :: Lens' AnnotationSetsUpdate AnnotationSet
- asuBearerToken :: Lens' AnnotationSetsUpdate (Maybe Text)
- asuCallback :: Lens' AnnotationSetsUpdate (Maybe Text)
REST Resource
type AnnotationSetsUpdateResource = "v1" :> ("annotationsets" :> (Capture "annotationSetId" 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] AnnotationSet :> Put '[JSON] AnnotationSet)))))))))))) Source #
A resource alias for genomics.annotationsets.update
method which the
AnnotationSetsUpdate
request conforms to.
Creating a Request
Creates a value of AnnotationSetsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AnnotationSetsUpdate Source #
Updates an annotation set. The update must respect all mutability restrictions and other invariants described on the annotation set resource. Caller must have WRITE permission for the associated dataset.
See: annotationSetsUpdate
smart constructor.
Request Lenses
asuUploadProtocol :: Lens' AnnotationSetsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe FieldMask) Source #
An optional mask specifying which fields to update. Mutable fields are name, source_uri, and info. If unspecified, all mutable fields will be updated.
asuAnnotationSetId :: Lens' AnnotationSetsUpdate Text Source #
The ID of the annotation set to be updated.
asuAccessToken :: Lens' AnnotationSetsUpdate (Maybe Text) Source #
OAuth access token.
asuUploadType :: Lens' AnnotationSetsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
asuPayload :: Lens' AnnotationSetsUpdate AnnotationSet Source #
Multipart request metadata.
asuBearerToken :: Lens' AnnotationSetsUpdate (Maybe Text) Source #
OAuth bearer token.
asuCallback :: Lens' AnnotationSetsUpdate (Maybe Text) Source #
JSONP