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.AnnotationSets.Update
Description
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)))))))))))) #
A resource alias for genomics.annotationsets.update
method which the
AnnotationSetsUpdate
request conforms to.
Creating a Request
Arguments
:: Text | |
-> AnnotationSet | |
-> AnnotationSetsUpdate |
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 #
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) #
Upload protocol for media (e.g. "raw", "multipart").
asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe FieldMask) #
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 #
The ID of the annotation set to be updated.
asuPp :: Lens' AnnotationSetsUpdate Bool #
Pretty-print response.
asuAccessToken :: Lens' AnnotationSetsUpdate (Maybe Text) #
OAuth access token.
asuUploadType :: Lens' AnnotationSetsUpdate (Maybe Text) #
Legacy upload protocol for media (e.g. "media", "multipart").
asuPayload :: Lens' AnnotationSetsUpdate AnnotationSet #
Multipart request metadata.
asuBearerToken :: Lens' AnnotationSetsUpdate (Maybe Text) #
OAuth bearer token.
asuCallback :: Lens' AnnotationSetsUpdate (Maybe Text) #
JSONP