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"]],[["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\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,[]]