[[["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\u003eOperationInfo\u003c/code\u003e class is a message type used to represent long-running operations, as shown within its example usage for \u003ccode\u003eLongRunningRecognize\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationInfo\u003c/code\u003e 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, offering functionalities like message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties: \u003ccode\u003eMetadataType\u003c/code\u003e, which specifies the message name of the metadata type, and \u003ccode\u003eResponseType\u003c/code\u003e, which specifies the message name of the primary return type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationInfo\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e namespace, and the latest version of the documentation is version 3.3.0, with other previous versions listed as well.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the OperationInfo Class, one that is empty, and one that takes another OperationInfo.\u003c/p\u003e\n"]]],[],null,["# Google.LongRunning - Class OperationInfo (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo)\n- [3.2.0](/dotnet/docs/reference/Google.LongRunning/3.2.0/Google.LongRunning.OperationInfo)\n- [3.1.0](/dotnet/docs/reference/Google.LongRunning/3.1.0/Google.LongRunning.OperationInfo)\n- [3.0.0](/dotnet/docs/reference/Google.LongRunning/3.0.0/Google.LongRunning.OperationInfo)\n- [2.3.0](/dotnet/docs/reference/Google.LongRunning/2.3.0/Google.LongRunning.OperationInfo)\n- [2.2.0](/dotnet/docs/reference/Google.LongRunning/2.2.0/Google.LongRunning.OperationInfo) \n\n public sealed class OperationInfo : IMessage\u003cOperationInfo\u003e, IEquatable\u003cOperationInfo\u003e, IDeepCloneable\u003cOperationInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google.LongRunning class OperationInfo.\n\nA message representing the message types used by a long-running operation.\n\nExample:\n\nrpc LongRunningRecognize(LongRunningRecognizeRequest)\nreturns (google.longrunning.Operation) {\noption (google.longrunning.operation_info) = {\nresponse_type: \"LongRunningRecognizeResponse\"\nmetadata_type: \"LongRunningRecognizeMetadata\"\n};\n} \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OperationInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OperationInfo](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationInfo](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OperationInfo](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo), [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.LongRunning](/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning)\n\nAssembly\n--------\n\nGoogle.LongRunning.dll\n\nConstructors\n------------\n\n### OperationInfo()\n\n public OperationInfo()\n\n### OperationInfo(OperationInfo)\n\n public OperationInfo(OperationInfo other)\n\nProperties\n----------\n\n### MetadataType\n\n public string MetadataType { get; set; }\n\nRequired. The message name of the metadata type for this long-running\noperation.\n\nIf the response is in a different package from the rpc, a fully-qualified\nmessage name must be used (e.g. `google.protobuf.Struct`).\n\nNote: Altering this value constitutes a breaking change.\n\n### ResponseType\n\n public string ResponseType { get; set; }\n\nRequired. The message name of the primary return type for this\nlong-running operation.\nThis type will be used to deserialize the LRO's response.\n\nIf the response is in a different package from the rpc, a fully-qualified\nmessage name must be used (e.g. `google.protobuf.Struct`).\n\nNote: Altering this value constitutes a breaking change."]]