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 the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
See: Cloud Talent Solution API Reference for jobs.projects.jobs.delete
.
Synopsis
- type ProjectsJobsDeleteResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsJobsDelete :: Text -> ProjectsJobsDelete
- data ProjectsJobsDelete
- pjdXgafv :: Lens' ProjectsJobsDelete (Maybe Xgafv)
- pjdUploadProtocol :: Lens' ProjectsJobsDelete (Maybe Text)
- pjdAccessToken :: Lens' ProjectsJobsDelete (Maybe Text)
- pjdUploadType :: Lens' ProjectsJobsDelete (Maybe Text)
- pjdName :: Lens' ProjectsJobsDelete Text
- pjdCallback :: Lens' ProjectsJobsDelete (Maybe Text)
REST Resource
type ProjectsJobsDeleteResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for jobs.projects.jobs.delete
method which the
ProjectsJobsDelete
request conforms to.
Creating a Request
Creates a value of ProjectsJobsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsDelete Source #
Deletes the specified job. Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
See: projectsJobsDelete
smart constructor.
Instances
Request Lenses
pjdUploadProtocol :: Lens' ProjectsJobsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjdAccessToken :: Lens' ProjectsJobsDelete (Maybe Text) Source #
OAuth access token.
pjdUploadType :: Lens' ProjectsJobsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjdName :: Lens' ProjectsJobsDelete Text Source #
Required. The resource name of the job to be deleted. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234".
pjdCallback :: Lens' ProjectsJobsDelete (Maybe Text) Source #
JSONP