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 |
Creates a new note.
See: Container Analysis API Reference for containeranalysis.projects.notes.create
.
Synopsis
- type ProjectsNotesCreateResource = "v1beta1" :> (Capture "parent" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "noteId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Note :> Post '[JSON] Note))))))))))
- projectsNotesCreate :: Text -> Note -> ProjectsNotesCreate
- data ProjectsNotesCreate
- pncParent :: Lens' ProjectsNotesCreate Text
- pncXgafv :: Lens' ProjectsNotesCreate (Maybe Xgafv)
- pncUploadProtocol :: Lens' ProjectsNotesCreate (Maybe Text)
- pncAccessToken :: Lens' ProjectsNotesCreate (Maybe Text)
- pncUploadType :: Lens' ProjectsNotesCreate (Maybe Text)
- pncPayload :: Lens' ProjectsNotesCreate Note
- pncNoteId :: Lens' ProjectsNotesCreate (Maybe Text)
- pncCallback :: Lens' ProjectsNotesCreate (Maybe Text)
REST Resource
type ProjectsNotesCreateResource = "v1beta1" :> (Capture "parent" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "noteId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Note :> Post '[JSON] Note)))))))))) Source #
A resource alias for containeranalysis.projects.notes.create
method which the
ProjectsNotesCreate
request conforms to.
Creating a Request
Creates a value of ProjectsNotesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesCreate Source #
Creates a new note.
See: projectsNotesCreate
smart constructor.
Instances
Request Lenses
pncParent :: Lens' ProjectsNotesCreate Text Source #
The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.
pncUploadProtocol :: Lens' ProjectsNotesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncAccessToken :: Lens' ProjectsNotesCreate (Maybe Text) Source #
OAuth access token.
pncUploadType :: Lens' ProjectsNotesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pncPayload :: Lens' ProjectsNotesCreate Note Source #
Multipart request metadata.
pncCallback :: Lens' ProjectsNotesCreate (Maybe Text) Source #
JSONP