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 new notes in batch.
See: Container Analysis API Reference for containeranalysis.projects.notes.batchCreate
.
Synopsis
- type ProjectsNotesBatchCreateResource = "v1beta1" :> (Capture "parent" Text :> ("notes:batchCreate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchCreateNotesRequest :> Post '[JSON] BatchCreateNotesResponse)))))))))
- projectsNotesBatchCreate :: Text -> BatchCreateNotesRequest -> ProjectsNotesBatchCreate
- data ProjectsNotesBatchCreate
- pnbcParent :: Lens' ProjectsNotesBatchCreate Text
- pnbcXgafv :: Lens' ProjectsNotesBatchCreate (Maybe Xgafv)
- pnbcUploadProtocol :: Lens' ProjectsNotesBatchCreate (Maybe Text)
- pnbcAccessToken :: Lens' ProjectsNotesBatchCreate (Maybe Text)
- pnbcUploadType :: Lens' ProjectsNotesBatchCreate (Maybe Text)
- pnbcPayload :: Lens' ProjectsNotesBatchCreate BatchCreateNotesRequest
- pnbcCallback :: Lens' ProjectsNotesBatchCreate (Maybe Text)
REST Resource
type ProjectsNotesBatchCreateResource = "v1beta1" :> (Capture "parent" Text :> ("notes:batchCreate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchCreateNotesRequest :> Post '[JSON] BatchCreateNotesResponse))))))))) Source #
A resource alias for containeranalysis.projects.notes.batchCreate
method which the
ProjectsNotesBatchCreate
request conforms to.
Creating a Request
projectsNotesBatchCreate Source #
Creates a value of ProjectsNotesBatchCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesBatchCreate Source #
Creates new notes in batch.
See: projectsNotesBatchCreate
smart constructor.
Instances
Request Lenses
pnbcParent :: Lens' ProjectsNotesBatchCreate Text Source #
The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.
pnbcUploadProtocol :: Lens' ProjectsNotesBatchCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pnbcAccessToken :: Lens' ProjectsNotesBatchCreate (Maybe Text) Source #
OAuth access token.
pnbcUploadType :: Lens' ProjectsNotesBatchCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pnbcPayload :: Lens' ProjectsNotesBatchCreate BatchCreateNotesRequest Source #
Multipart request metadata.
pnbcCallback :: Lens' ProjectsNotesBatchCreate (Maybe Text) Source #
JSONP