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 note.
See: Container Analysis API Reference for containeranalysis.projects.notes.delete
.
Synopsis
- type ProjectsNotesDeleteResource = "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)))))))
- projectsNotesDelete :: Text -> ProjectsNotesDelete
- data ProjectsNotesDelete
- pndXgafv :: Lens' ProjectsNotesDelete (Maybe Xgafv)
- pndUploadProtocol :: Lens' ProjectsNotesDelete (Maybe Text)
- pndAccessToken :: Lens' ProjectsNotesDelete (Maybe Text)
- pndUploadType :: Lens' ProjectsNotesDelete (Maybe Text)
- pndName :: Lens' ProjectsNotesDelete Text
- pndCallback :: Lens' ProjectsNotesDelete (Maybe Text)
REST Resource
type ProjectsNotesDeleteResource = "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.notes.delete
method which the
ProjectsNotesDelete
request conforms to.
Creating a Request
Creates a value of ProjectsNotesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesDelete Source #
Deletes the specified note.
See: projectsNotesDelete
smart constructor.
Instances
Request Lenses
pndUploadProtocol :: Lens' ProjectsNotesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pndAccessToken :: Lens' ProjectsNotesDelete (Maybe Text) Source #
OAuth access token.
pndUploadType :: Lens' ProjectsNotesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pndName :: Lens' ProjectsNotesDelete Text Source #
The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
pndCallback :: Lens' ProjectsNotesDelete (Maybe Text) Source #
JSONP