Reference documentation and code samples for the Google.LongRunning enum OperationResponseMapping.
An enum to be used to mark the essential (for polling) fields in an
API-specific Operation object. A custom Operation object may contain many
different fields, but only few of them are essential to conduct a successful
polling process.
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.error.code.
ErrorMessage
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.error.message.
Name
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.name.
Status
A field in an API-specific (custom) Operation object which carries the same
meaning as google.longrunning.Operation.done. If the annotated field is of
an enum type, annotated_field_name == EnumType.DONE semantics should be
equivalent to Operation.done == true. If the annotated field is of type
boolean, then it should follow the same semantics as Operation.done.
Otherwise, a non-empty value should be treated as Operation.done == true.
[[["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\u003eThis documentation provides reference information for the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum within the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e library, detailing its purpose and available versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum is used to identify critical fields within a custom API-specific \u003ccode\u003eOperation\u003c/code\u003e object that are necessary for polling, highlighting fields such as \u003ccode\u003eErrorCode\u003c/code\u003e, \u003ccode\u003eErrorMessage\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eStatus\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e library, ranging from version 2.2.0 to the latest version, 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eEach field within the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum corresponds to a specific aspect of the \u003ccode\u003egoogle.longrunning.Operation\u003c/code\u003e object, enabling developers to map custom operation objects to standard polling practices.\u003c/p\u003e\n"]]],[],null,["# Google.LongRunning - Enum OperationResponseMapping (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud.OperationResponseMapping)\n- [3.2.0](/dotnet/docs/reference/Google.LongRunning/3.2.0/Google.Cloud.OperationResponseMapping)\n- [3.1.0](/dotnet/docs/reference/Google.LongRunning/3.1.0/Google.Cloud.OperationResponseMapping)\n- [3.0.0](/dotnet/docs/reference/Google.LongRunning/3.0.0/Google.Cloud.OperationResponseMapping)\n- [2.3.0](/dotnet/docs/reference/Google.LongRunning/2.3.0/Google.Cloud.OperationResponseMapping)\n- [2.2.0](/dotnet/docs/reference/Google.LongRunning/2.2.0/Google.Cloud.OperationResponseMapping) \n\n public enum OperationResponseMapping\n\nReference documentation and code samples for the Google.LongRunning enum OperationResponseMapping.\n\nAn enum to be used to mark the essential (for polling) fields in an\nAPI-specific Operation object. A custom Operation object may contain many\ndifferent fields, but only few of them are essential to conduct a successful\npolling process.\n\nNamespace\n---------\n\n[Google.Cloud](/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud)\n\nAssembly\n--------\n\nGoogle.LongRunning.dll"]]