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 workflow template. It does not cancel in-progress workflows.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.delete
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))
- projectsRegionsWorkflowTemplatesDelete :: Text -> ProjectsRegionsWorkflowTemplatesDelete
- data ProjectsRegionsWorkflowTemplatesDelete
- prwtdXgafv :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Xgafv)
- prwtdUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)
- prwtdAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)
- prwtdUploadType :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)
- prwtdName :: Lens' ProjectsRegionsWorkflowTemplatesDelete Text
- prwtdVersion :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Int32)
- prwtdCallback :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "version" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.delete
method which the
ProjectsRegionsWorkflowTemplatesDelete
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesDelete Source #
Creates a value of ProjectsRegionsWorkflowTemplatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesDelete Source #
Deletes a workflow template. It does not cancel in-progress workflows.
See: projectsRegionsWorkflowTemplatesDelete
smart constructor.
Instances
Request Lenses
prwtdXgafv :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Xgafv) Source #
V1 error format.
prwtdUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtdAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text) Source #
OAuth access token.
prwtdUploadType :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtdName :: Lens' ProjectsRegionsWorkflowTemplatesDelete Text Source #
Required. The "resource name" of the workflow template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
prwtdVersion :: Lens' ProjectsRegionsWorkflowTemplatesDelete (Maybe Int32) Source #
Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.