public sealed class RunWorkflowCustomOperationMetadata : IMessage<RunWorkflowCustomOperationMetadata>, IEquatable<RunWorkflowCustomOperationMetadata>, IDeepCloneable<RunWorkflowCustomOperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class RunWorkflowCustomOperationMetadata.
Represents the custom metadata of the RunWorkflow long-running operation.
Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a
[google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
Code.CANCELLED.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRunWorkflowCustomOperationMetadata\u003c/code\u003e class represents custom metadata for long-running \u003ccode\u003eRunWorkflow\u003c/code\u003e operations in the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides information about the operation's status, such as its creation time, end time, and whether cancellation was requested.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003ePipelineRunId\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e, offering details about the operation's execution.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRunWorkflowCustomOperationMetadata\u003c/code\u003e class can be constructed either by default or by providing another instance of \u003ccode\u003eRunWorkflowCustomOperationMetadata\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various uses and manipulations of the data within.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class RunWorkflowCustomOperationMetadata (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata) \n\n public sealed class RunWorkflowCustomOperationMetadata : IMessage\u003cRunWorkflowCustomOperationMetadata\u003e, IEquatable\u003cRunWorkflowCustomOperationMetadata\u003e, IDeepCloneable\u003cRunWorkflowCustomOperationMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class RunWorkflowCustomOperationMetadata.\n\nRepresents the custom metadata of the RunWorkflow long-running operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RunWorkflowCustomOperationMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RunWorkflowCustomOperationMetadata](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RunWorkflowCustomOperationMetadata](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RunWorkflowCustomOperationMetadata](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata), [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.CloudBuild.V2](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V2.dll\n\nConstructors\n------------\n\n### RunWorkflowCustomOperationMetadata()\n\n public RunWorkflowCustomOperationMetadata()\n\n### RunWorkflowCustomOperationMetadata(RunWorkflowCustomOperationMetadata)\n\n public RunWorkflowCustomOperationMetadata(RunWorkflowCustomOperationMetadata other)\n\nProperties\n----------\n\n### ApiVersion\n\n public string ApiVersion { get; set; }\n\nOutput only. API version used to start the operation.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time the operation was created.\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nOutput only. The time the operation finished running.\n\n### PipelineRunId\n\n public string PipelineRunId { get; set; }\n\nOutput only. ID of the pipeline run created by RunWorkflow.\n\n### RequestedCancellation\n\n public bool RequestedCancellation { get; set; }\n\nOutput only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave \\[Operation.error\\]\\[\\] value with a\n\\[google.rpc.Status.code\\]\\[google.rpc.Status.code\\] of 1, corresponding to\n`Code.CANCELLED`.\n\n### Target\n\n public string Target { get; set; }\n\nOutput only. Server-defined resource path for the target of the operation.\n\n### Verb\n\n public string Verb { get; set; }\n\nOutput only. Name of the verb executed by the operation."]]