public virtual Task<Operation> InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest request, ServerCallContext context)
Instantiates a template and begins execution.
This method is equivalent to executing the sequence
[CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],
[InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
[DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].
The returned Operation can be used to track execution of
workflow by polling
[operations.get][google.longrunning.Operations.GetOperation].
The Operation will complete when entire workflow is finished.
The running workflow can be aborted via
[operations.cancel][google.longrunning.Operations.CancelOperation].
This will cause any inflight jobs to be cancelled and workflow-owned
clusters to be deleted.
public virtual Task<Operation> InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest request, ServerCallContext context)
Instantiates a template and begins execution.
The returned Operation can be used to track execution of
workflow by polling
[operations.get][google.longrunning.Operations.GetOperation].
The Operation will complete when entire workflow is finished.
The running workflow can be aborted via
[operations.cancel][google.longrunning.Operations.CancelOperation].
This will cause any inflight jobs to be cancelled and workflow-owned
clusters to be deleted.
[[["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 \u003ccode\u003eWorkflowTemplateService.WorkflowTemplateServiceBase\u003c/code\u003e class in the Google Cloud Dataproc v1 API provides server-side implementations for managing workflow templates, with the latest version being 5.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports various operations, including creating, deleting, getting, listing, and updating workflow templates.\u003c/p\u003e\n"],["\u003cp\u003eThe class also allows for template instantiation and execution through the \u003ccode\u003eInstantiateWorkflowTemplate\u003c/code\u003e and \u003ccode\u003eInstantiateInlineWorkflowTemplate\u003c/code\u003e methods, which use an Operation to track the workflow execution.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view a history of the versions dating back to 3.1.0 of the WorkflowTemplateService class, with links provided to access the documentation of each.\u003c/p\u003e\n"],["\u003cp\u003eThe WorkflowTemplateService class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class in .Net, and is part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class WorkflowTemplateService.WorkflowTemplateServiceBase (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.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceBase) \n\n [BindServiceMethod(typeof(WorkflowTemplateService), \"BindService\")]\n public abstract class WorkflowTemplateService.WorkflowTemplateServiceBase\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class WorkflowTemplateService.WorkflowTemplateServiceBase.\n\nBase class for server-side implementations of WorkflowTemplateService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkflowTemplateService.WorkflowTemplateServiceBase \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \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\nMethods\n-------\n\n### CreateWorkflowTemplate(CreateWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cWorkflowTemplate\u003e CreateWorkflowTemplate(CreateWorkflowTemplateRequest request, ServerCallContext context)\n\nCreates new workflow template.\n\n### DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest request, ServerCallContext context)\n\nDeletes a workflow template. It does not cancel in-progress workflows.\n\n### GetWorkflowTemplate(GetWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cWorkflowTemplate\u003e GetWorkflowTemplate(GetWorkflowTemplateRequest request, ServerCallContext context)\n\nRetrieves the latest workflow template.\n\nCan retrieve previously instantiated template by specifying optional\nversion parameter.\n\n### InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest request, ServerCallContext context)\n\nInstantiates a template and begins execution.\n\nThis method is equivalent to executing the sequence\n\\[CreateWorkflowTemplate\\]\\[google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate\\],\n\\[InstantiateWorkflowTemplate\\]\\[google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate\\],\n\\[DeleteWorkflowTemplate\\]\\[google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate\\].\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n\\[operations.get\\]\\[google.longrunning.Operations.GetOperation\\].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n\\[operations.cancel\\]\\[google.longrunning.Operations.CancelOperation\\].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe \\[Operation.metadata\\]\\[google.longrunning.Operation.metadata\\] will be\n[WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n\\[Operation.response\\]\\[google.longrunning.Operation.response\\] will be\n\\[Empty\\]\\[google.protobuf.Empty\\].\n\n### InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest request, ServerCallContext context)\n\nInstantiates a template and begins execution.\n\nThe returned Operation can be used to track execution of\nworkflow by polling\n\\[operations.get\\]\\[google.longrunning.Operations.GetOperation\\].\nThe Operation will complete when entire workflow is finished.\n\nThe running workflow can be aborted via\n\\[operations.cancel\\]\\[google.longrunning.Operations.CancelOperation\\].\nThis will cause any inflight jobs to be cancelled and workflow-owned\nclusters to be deleted.\n\nThe \\[Operation.metadata\\]\\[google.longrunning.Operation.metadata\\] will be\n[WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata).\nAlso see [Using\nWorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).\n\nOn successful completion,\n\\[Operation.response\\]\\[google.longrunning.Operation.response\\] will be\n\\[Empty\\]\\[google.protobuf.Empty\\].\n\n### ListWorkflowTemplates(ListWorkflowTemplatesRequest, ServerCallContext)\n\n public virtual Task\u003cListWorkflowTemplatesResponse\u003e ListWorkflowTemplates(ListWorkflowTemplatesRequest request, ServerCallContext context)\n\nLists workflows that match the specified filter in the request.\n\n### UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest, ServerCallContext)\n\n public virtual Task\u003cWorkflowTemplate\u003e UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest request, ServerCallContext context)\n\nUpdates (replaces) workflow template. The updated template\nmust contain version that matches the current server version."]]