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 note.
See: Container Analysis API Reference for containeranalysis.projects.notes.patch
.
Synopsis
- type ProjectsNotesPatchResource = "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] Note :> Patch '[JSON] Note)))))))))
- projectsNotesPatch :: Note -> Text -> ProjectsNotesPatch
- data ProjectsNotesPatch
- pnpXgafv :: Lens' ProjectsNotesPatch (Maybe Xgafv)
- pnpUploadProtocol :: Lens' ProjectsNotesPatch (Maybe Text)
- pnpUpdateMask :: Lens' ProjectsNotesPatch (Maybe GFieldMask)
- pnpAccessToken :: Lens' ProjectsNotesPatch (Maybe Text)
- pnpUploadType :: Lens' ProjectsNotesPatch (Maybe Text)
- pnpPayload :: Lens' ProjectsNotesPatch Note
- pnpName :: Lens' ProjectsNotesPatch Text
- pnpCallback :: Lens' ProjectsNotesPatch (Maybe Text)
REST Resource
type ProjectsNotesPatchResource = "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] Note :> Patch '[JSON] Note))))))))) Source #
A resource alias for containeranalysis.projects.notes.patch
method which the
ProjectsNotesPatch
request conforms to.
Creating a Request
Creates a value of ProjectsNotesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesPatch Source #
Updates the specified note.
See: projectsNotesPatch
smart constructor.
Instances
Request Lenses
pnpUploadProtocol :: Lens' ProjectsNotesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pnpUpdateMask :: Lens' ProjectsNotesPatch (Maybe GFieldMask) Source #
The fields to update.
pnpAccessToken :: Lens' ProjectsNotesPatch (Maybe Text) Source #
OAuth access token.
pnpUploadType :: Lens' ProjectsNotesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pnpPayload :: Lens' ProjectsNotesPatch Note Source #
Multipart request metadata.
pnpName :: Lens' ProjectsNotesPatch Text Source #
The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
pnpCallback :: Lens' ProjectsNotesPatch (Maybe Text) Source #
JSONP