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 the specified occurrence.
See: Container Analysis API Reference for containeranalysis.projects.occurrences.patch
.
Synopsis
- type ProjectsOccurrencesPatchResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Occurrence :> Patch '[JSON] Occurrence)))))))))
- projectsOccurrencesPatch :: Occurrence -> Text -> ProjectsOccurrencesPatch
- data ProjectsOccurrencesPatch
- popXgafv :: Lens' ProjectsOccurrencesPatch (Maybe Xgafv)
- popUploadProtocol :: Lens' ProjectsOccurrencesPatch (Maybe Text)
- popUpdateMask :: Lens' ProjectsOccurrencesPatch (Maybe GFieldMask)
- popAccessToken :: Lens' ProjectsOccurrencesPatch (Maybe Text)
- popUploadType :: Lens' ProjectsOccurrencesPatch (Maybe Text)
- popPayload :: Lens' ProjectsOccurrencesPatch Occurrence
- popName :: Lens' ProjectsOccurrencesPatch Text
- popCallback :: Lens' ProjectsOccurrencesPatch (Maybe Text)
REST Resource
type ProjectsOccurrencesPatchResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Occurrence :> Patch '[JSON] Occurrence))))))))) Source #
A resource alias for containeranalysis.projects.occurrences.patch
method which the
ProjectsOccurrencesPatch
request conforms to.
Creating a Request
projectsOccurrencesPatch Source #
Creates a value of ProjectsOccurrencesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOccurrencesPatch Source #
Updates the specified occurrence.
See: projectsOccurrencesPatch
smart constructor.
Instances
Request Lenses
popUploadProtocol :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
popUpdateMask :: Lens' ProjectsOccurrencesPatch (Maybe GFieldMask) Source #
The fields to update.
popAccessToken :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #
OAuth access token.
popUploadType :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
popPayload :: Lens' ProjectsOccurrencesPatch Occurrence Source #
Multipart request metadata.
popName :: Lens' ProjectsOccurrencesPatch Text Source #
The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
popCallback :: Lens' ProjectsOccurrencesPatch (Maybe Text) Source #
JSONP