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