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 |
Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
See: Container Analysis API Reference for containeranalysis.projects.occurrences.delete
.
Synopsis
- type ProjectsOccurrencesDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsOccurrencesDelete :: Text -> ProjectsOccurrencesDelete
- data ProjectsOccurrencesDelete
- podXgafv :: Lens' ProjectsOccurrencesDelete (Maybe Xgafv)
- podUploadProtocol :: Lens' ProjectsOccurrencesDelete (Maybe Text)
- podAccessToken :: Lens' ProjectsOccurrencesDelete (Maybe Text)
- podUploadType :: Lens' ProjectsOccurrencesDelete (Maybe Text)
- podName :: Lens' ProjectsOccurrencesDelete Text
- podCallback :: Lens' ProjectsOccurrencesDelete (Maybe Text)
REST Resource
type ProjectsOccurrencesDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for containeranalysis.projects.occurrences.delete
method which the
ProjectsOccurrencesDelete
request conforms to.
Creating a Request
projectsOccurrencesDelete Source #
Creates a value of ProjectsOccurrencesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOccurrencesDelete Source #
Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
See: projectsOccurrencesDelete
smart constructor.
Instances
Request Lenses
podUploadProtocol :: Lens' ProjectsOccurrencesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
podAccessToken :: Lens' ProjectsOccurrencesDelete (Maybe Text) Source #
OAuth access token.
podUploadType :: Lens' ProjectsOccurrencesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
podName :: Lens' ProjectsOccurrencesDelete Text Source #
The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
podCallback :: Lens' ProjectsOccurrencesDelete (Maybe Text) Source #
JSONP