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 job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.
See: Cloud Dataproc API Reference for dataproc.projects.regions.jobs.delete
.
Synopsis
- type ProjectsRegionsJobsDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))))))
- projectsRegionsJobsDelete :: Text -> Text -> Text -> ProjectsRegionsJobsDelete
- data ProjectsRegionsJobsDelete
- prjdXgafv :: Lens' ProjectsRegionsJobsDelete (Maybe Xgafv)
- prjdJobId :: Lens' ProjectsRegionsJobsDelete Text
- prjdUploadProtocol :: Lens' ProjectsRegionsJobsDelete (Maybe Text)
- prjdAccessToken :: Lens' ProjectsRegionsJobsDelete (Maybe Text)
- prjdUploadType :: Lens' ProjectsRegionsJobsDelete (Maybe Text)
- prjdRegion :: Lens' ProjectsRegionsJobsDelete Text
- prjdProjectId :: Lens' ProjectsRegionsJobsDelete Text
- prjdCallback :: Lens' ProjectsRegionsJobsDelete (Maybe Text)
REST Resource
type ProjectsRegionsJobsDeleteResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" 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 dataproc.projects.regions.jobs.delete
method which the
ProjectsRegionsJobsDelete
request conforms to.
Creating a Request
projectsRegionsJobsDelete Source #
Creates a value of ProjectsRegionsJobsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsJobsDelete Source #
Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.
See: projectsRegionsJobsDelete
smart constructor.
Instances
Request Lenses
prjdUploadProtocol :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prjdAccessToken :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #
OAuth access token.
prjdUploadType :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prjdRegion :: Lens' ProjectsRegionsJobsDelete Text Source #
Required. The Cloud Dataproc region in which to handle the request.
prjdProjectId :: Lens' ProjectsRegionsJobsDelete Text Source #
Required. The ID of the Google Cloud Platform project that the job belongs to.
prjdCallback :: Lens' ProjectsRegionsJobsDelete (Maybe Text) Source #
JSONP