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 a list of Jobs by filter.
See: Cloud Talent Solution API Reference for jobs.projects.jobs.batchDelete
.
Synopsis
- type ProjectsJobsBatchDeleteResource = "v3p1beta1" :> (Capture "parent" Text :> ("jobs:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchDeleteJobsRequest :> Post '[JSON] Empty)))))))))
- projectsJobsBatchDelete :: Text -> BatchDeleteJobsRequest -> ProjectsJobsBatchDelete
- data ProjectsJobsBatchDelete
- pjbdParent :: Lens' ProjectsJobsBatchDelete Text
- pjbdXgafv :: Lens' ProjectsJobsBatchDelete (Maybe Xgafv)
- pjbdUploadProtocol :: Lens' ProjectsJobsBatchDelete (Maybe Text)
- pjbdAccessToken :: Lens' ProjectsJobsBatchDelete (Maybe Text)
- pjbdUploadType :: Lens' ProjectsJobsBatchDelete (Maybe Text)
- pjbdPayload :: Lens' ProjectsJobsBatchDelete BatchDeleteJobsRequest
- pjbdCallback :: Lens' ProjectsJobsBatchDelete (Maybe Text)
REST Resource
type ProjectsJobsBatchDeleteResource = "v3p1beta1" :> (Capture "parent" Text :> ("jobs:batchDelete" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchDeleteJobsRequest :> Post '[JSON] Empty))))))))) Source #
A resource alias for jobs.projects.jobs.batchDelete
method which the
ProjectsJobsBatchDelete
request conforms to.
Creating a Request
projectsJobsBatchDelete Source #
Creates a value of ProjectsJobsBatchDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsBatchDelete Source #
Deletes a list of Jobs by filter.
See: projectsJobsBatchDelete
smart constructor.
Instances
Request Lenses
pjbdParent :: Lens' ProjectsJobsBatchDelete Text Source #
Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".
pjbdUploadProtocol :: Lens' ProjectsJobsBatchDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjbdAccessToken :: Lens' ProjectsJobsBatchDelete (Maybe Text) Source #
OAuth access token.
pjbdUploadType :: Lens' ProjectsJobsBatchDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjbdPayload :: Lens' ProjectsJobsBatchDelete BatchDeleteJobsRequest Source #
Multipart request metadata.
pjbdCallback :: Lens' ProjectsJobsBatchDelete (Maybe Text) Source #
JSONP