public sealed class DeleteWorkflowTemplateRequest : IMessage<DeleteWorkflowTemplateRequest>, IEquatable<DeleteWorkflowTemplateRequest>, IDeepCloneable<DeleteWorkflowTemplateRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class DeleteWorkflowTemplateRequest.
For projects.regions.workflowTemplates.delete, the resource name
of the template has the following format:
projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
For projects.locations.workflowTemplates.instantiate, the resource name
of the template has the following format:
projects/{project_id}/locations/{location}/workflowTemplates/{template_id}
Optional. The version of workflow template to delete. If specified,
will only delete the template if the current server version matches
specified version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eDeleteWorkflowTemplateRequest\u003c/code\u003e in the Google Cloud Dataproc v1 API is 5.17.0, with numerous previous versions listed, all the way back to version 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteWorkflowTemplateRequest\u003c/code\u003e is a class used to request the deletion of a workflow template within the Google Cloud Dataproc v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWorkflowTemplateRequest\u003c/code\u003e class has properties such as \u003ccode\u003eName\u003c/code\u003e, which is a required resource name of the workflow template, and \u003ccode\u003eVersion\u003c/code\u003e, which allows for a specified version to be deleted.\u003c/p\u003e\n"],["\u003cp\u003eInstantiated workflows will remain running after a \u003ccode\u003eDeleteWorkflowTemplateRequest\u003c/code\u003e is made.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class DeleteWorkflowTemplateRequest (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest) \n\n public sealed class DeleteWorkflowTemplateRequest : IMessage\u003cDeleteWorkflowTemplateRequest\u003e, IEquatable\u003cDeleteWorkflowTemplateRequest\u003e, IDeepCloneable\u003cDeleteWorkflowTemplateRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class DeleteWorkflowTemplateRequest.\n\nA request to delete a workflow template.\n\nCurrently started workflows will remain running. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteWorkflowTemplateRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteWorkflowTemplateRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteWorkflowTemplateRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteWorkflowTemplateRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### DeleteWorkflowTemplateRequest()\n\n public DeleteWorkflowTemplateRequest()\n\n### DeleteWorkflowTemplateRequest(DeleteWorkflowTemplateRequest)\n\n public DeleteWorkflowTemplateRequest(DeleteWorkflowTemplateRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the workflow template, as described\nin \u003chttps://cloud.google.com/apis/design/resource_names\u003e.\n\n- For `projects.regions.workflowTemplates.delete`, the resource name\n of the template has the following format:\n `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}`\n\n- For `projects.locations.workflowTemplates.instantiate`, the resource name\n of the template has the following format:\n `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`\n\n### Version\n\n public int Version { get; set; }\n\nOptional. The version of workflow template to delete. If specified,\nwill only delete the template if the current server version matches\nspecified version.\n\n### WorkflowTemplateName\n\n public WorkflowTemplateName WorkflowTemplateName { get; set; }\n\n[WorkflowTemplateName](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.WorkflowTemplateName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.DeleteWorkflowTemplateRequest#Google_Cloud_Dataproc_V1_DeleteWorkflowTemplateRequest_Name) resource name property."]]