public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class OperationMetadata.
Output only. Identifies whether it has been requested cancellation
for the operation. Operations that have successfully been cancelled
have
[google.longrunning.Operation.error][google.longrunning.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"]],[["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\u003eOperationMetadata\u003c/code\u003e class in the Anthos Multi-Cloud v1 API provides metadata about long-running operations, implementing interfaces like \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\u003eThis class includes properties such as \u003ccode\u003eCreateTime\u003c/code\u003e and \u003ccode\u003eEndTime\u003c/code\u003e to track when the operation started and finished, respectively, both using the \u003ccode\u003eTimestamp\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationMetadata\u003c/code\u003e provides properties like \u003ccode\u003eErrorDetail\u003c/code\u003e, \u003ccode\u003eStatusDetail\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e to offer detailed information on the operation's status, associated resource, and the action performed.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eOperationMetadata\u003c/code\u003e class available, ranging from version 1.0.0-beta01 to the latest version 2.8.0.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class OperationMetadata (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.OperationMetadata)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.OperationMetadata) \n\n public sealed class OperationMetadata : IMessage\u003cOperationMetadata\u003e, IEquatable\u003cOperationMetadata\u003e, IDeepCloneable\u003cOperationMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class OperationMetadata.\n\nMetadata about a long-running operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OperationMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.OperationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.OperationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.OperationMetadata), [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.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### OperationMetadata()\n\n public OperationMetadata()\n\n### OperationMetadata(OperationMetadata)\n\n public OperationMetadata(OperationMetadata other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time at which this operation was created.\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nOutput only. The time at which this operation was completed.\n\n### ErrorDetail\n\n public string ErrorDetail { get; set; }\n\nOutput only. Human-readable status of any error that occurred during the\noperation.\n\n### RequestedCancellation\n\n public bool RequestedCancellation { get; set; }\n\nOutput only. Identifies whether it has been requested cancellation\nfor the operation. Operations that have successfully been cancelled\nhave\n\\[google.longrunning.Operation.error\\]\\[google.longrunning.Operation.error\\]\nvalue with a \\[google.rpc.Status.code\\]\\[google.rpc.Status.code\\] of 1,\ncorresponding to `Code.CANCELLED`.\n\n### StatusDetail\n\n public string StatusDetail { get; set; }\n\nOutput only. Human-readable status of the operation, if any.\n\n### Target\n\n public string Target { get; set; }\n\nOutput only. The name of the resource associated to this operation.\n\n### Verb\n\n public string Verb { get; set; }\n\nOutput only. The verb associated with the API method which triggered this\noperation. Possible values are \"create\", \"delete\", \"update\" and \"import\"."]]