public sealed class CancelExecutionRequest : IMessage<CancelExecutionRequest>, IEquatable<CancelExecutionRequest>, IDeepCloneable<CancelExecutionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Workflow Executions v1 API class CancelExecutionRequest.
Request for the
[CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
method.
[[["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 latest version of the \u003ccode\u003eCancelExecutionRequest\u003c/code\u003e class in the Workflow Executions v1 API is version 2.6.0, but there are versions available going all the way back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelExecutionRequest\u003c/code\u003e class is used to construct requests for the \u003ccode\u003eCancelExecution\u003c/code\u003e method, which is a part of the Workflow Executions 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, and inherits from the object class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelExecutionRequest\u003c/code\u003e class has properties such as \u003ccode\u003eExecutionName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, the latter of which is required and defines the format for identifying the execution to be canceled.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCancelExecutionRequest\u003c/code\u003e class can be constructed either with no parameters, or by using another \u003ccode\u003eCancelExecutionRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Workflow Executions v1 API - Class CancelExecutionRequest (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.5.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.4.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.3.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.2.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.1.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/2.0.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/1.2.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/1.1.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/1.0.0/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest) \n\n public sealed class CancelExecutionRequest : IMessage\u003cCancelExecutionRequest\u003e, IEquatable\u003cCancelExecutionRequest\u003e, IDeepCloneable\u003cCancelExecutionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Workflow Executions v1 API class CancelExecutionRequest.\n\nRequest for the\n\\[CancelExecution\\]\\[google.cloud.workflows.executions.v1.Executions.CancelExecution\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CancelExecutionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CancelExecutionRequest](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CancelExecutionRequest](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CancelExecutionRequest](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest), [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.Workflows.Executions.V1](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Workflows.Executions.V1.dll\n\nConstructors\n------------\n\n### CancelExecutionRequest()\n\n public CancelExecutionRequest()\n\n### CancelExecutionRequest(CancelExecutionRequest)\n\n public CancelExecutionRequest(CancelExecutionRequest other)\n\nProperties\n----------\n\n### ExecutionName\n\n public ExecutionName ExecutionName { get; set; }\n\n[ExecutionName](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.ExecutionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1/latest/Google.Cloud.Workflows.Executions.V1.CancelExecutionRequest#Google_Cloud_Workflows_Executions_V1_CancelExecutionRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the execution to be cancelled.\nFormat:\nprojects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}"]]