public virtual Task<Operation> CreateWorkflow(CreateWorkflowRequest request, ServerCallContext context)
Creates a new workflow. If a workflow with the specified name already
exists in the specified project and location, the long running operation
returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
public virtual Task<Operation> UpdateWorkflow(UpdateWorkflowRequest request, ServerCallContext context)
Updates an existing workflow.
Running this method has no impact on already running executions of the
workflow. A new revision of the workflow might be created as a result of a
successful update operation. In that case, the new revision is used
in new workflow executions.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eWorkflows.WorkflowsBase\u003c/code\u003e class is the base for server-side implementations of the Workflows v1 API, belonging to the \u003ccode\u003eGoogle.Cloud.Workflows.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.5.0, and previous versions (2.4.0 down to 1.0.0) are also documented.\u003c/p\u003e\n"],["\u003cp\u003eThis API provides methods to \u003ccode\u003eCreateWorkflow\u003c/code\u003e, \u003ccode\u003eDeleteWorkflow\u003c/code\u003e, \u003ccode\u003eGetWorkflow\u003c/code\u003e, \u003ccode\u003eListWorkflows\u003c/code\u003e, and \u003ccode\u003eUpdateWorkflow\u003c/code\u003e, each accepting a corresponding request object and \u003ccode\u003eServerCallContext\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateWorkflow\u003c/code\u003e, \u003ccode\u003eDeleteWorkflow\u003c/code\u003e, and \u003ccode\u003eUpdateWorkflow\u003c/code\u003e methods return a \u003ccode\u003eTask<Operation>\u003c/code\u003e indicating a long-running operation, while \u003ccode\u003eGetWorkflow\u003c/code\u003e returns a \u003ccode\u003eTask<Workflow>\u003c/code\u003e, and \u003ccode\u003eListWorkflows\u003c/code\u003e returns a \u003ccode\u003eTask<ListWorkflowsResponse>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWorkflow\u003c/code\u003e method deletes a specified workflow and cancels any running executions.\u003c/p\u003e\n"]]],[],null,["# Workflows v1 API - Class Workflows.WorkflowsBase (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.5.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.4.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.3.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.2.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.1.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/2.0.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.2.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.1.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Workflows.V1/1.0.0/Google.Cloud.Workflows.V1.Workflows.WorkflowsBase) \n\n [BindServiceMethod(typeof(Workflows), \"BindService\")]\n public abstract class Workflows.WorkflowsBase\n\nReference documentation and code samples for the Workflows v1 API class Workflows.WorkflowsBase.\n\nBase class for server-side implementations of Workflows \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Workflows.WorkflowsBase \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.Workflows.V1](/dotnet/docs/reference/Google.Cloud.Workflows.V1/latest/Google.Cloud.Workflows.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Workflows.V1.dll\n\nMethods\n-------\n\n### CreateWorkflow(CreateWorkflowRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e CreateWorkflow(CreateWorkflowRequest request, ServerCallContext context)\n\nCreates a new workflow. If a workflow with the specified name already\nexists in the specified project and location, the long running operation\nreturns a \\[ALREADY_EXISTS\\]\\[google.rpc.Code.ALREADY_EXISTS\\] error.\n\n### DeleteWorkflow(DeleteWorkflowRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e DeleteWorkflow(DeleteWorkflowRequest request, ServerCallContext context)\n\nDeletes a workflow with the specified name.\nThis method also cancels and deletes all running executions of the\nworkflow.\n\n### GetWorkflow(GetWorkflowRequest, ServerCallContext)\n\n public virtual Task\u003cWorkflow\u003e GetWorkflow(GetWorkflowRequest request, ServerCallContext context)\n\nGets details of a single workflow.\n\n### ListWorkflowRevisions(ListWorkflowRevisionsRequest, ServerCallContext)\n\n public virtual Task\u003cListWorkflowRevisionsResponse\u003e ListWorkflowRevisions(ListWorkflowRevisionsRequest request, ServerCallContext context)\n\nLists revisions for a given workflow.\n\n### ListWorkflows(ListWorkflowsRequest, ServerCallContext)\n\n public virtual Task\u003cListWorkflowsResponse\u003e ListWorkflows(ListWorkflowsRequest request, ServerCallContext context)\n\nLists workflows in a given project and location.\nThe default order is not specified.\n\n### UpdateWorkflow(UpdateWorkflowRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e UpdateWorkflow(UpdateWorkflowRequest request, ServerCallContext context)\n\nUpdates an existing workflow.\nRunning this method has no impact on already running executions of the\nworkflow. A new revision of the workflow might be created as a result of a\nsuccessful update operation. In that case, the new revision is used\nin new workflow executions."]]