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.locations.workflowTemplates.delete
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesDeleteResource = "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))))))))
- projectsLocationsWorkflowTemplatesDelete :: Text -> ProjectsLocationsWorkflowTemplatesDelete
- data ProjectsLocationsWorkflowTemplatesDelete
- plwtdXgafv :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Xgafv)
- plwtdUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)
- plwtdAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)
- plwtdUploadType :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)
- plwtdName :: Lens' ProjectsLocationsWorkflowTemplatesDelete Text
- plwtdVersion :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Int32)
- plwtdCallback :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesDeleteResource = "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.locations.workflowTemplates.delete
method which the
ProjectsLocationsWorkflowTemplatesDelete
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesDelete Source #
Creates a value of ProjectsLocationsWorkflowTemplatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesDelete Source #
Deletes a workflow template. It does not cancel in-progress workflows.
See: projectsLocationsWorkflowTemplatesDelete
smart constructor.
Instances
Request Lenses
plwtdXgafv :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Xgafv) Source #
V1 error format.
plwtdUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtdAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text) Source #
OAuth access token.
plwtdUploadType :: Lens' ProjectsLocationsWorkflowTemplatesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtdName :: Lens' ProjectsLocationsWorkflowTemplatesDelete 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}
plwtdVersion :: Lens' ProjectsLocationsWorkflowTemplatesDelete (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.