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 outlines the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum within the \u003ccode\u003eGoogle.LongRunning\u003c/code\u003e namespace, designed for marking essential fields in API-specific Operation objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum includes fields like \u003ccode\u003eErrorCode\u003c/code\u003e, \u003ccode\u003eErrorMessage\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eStatus\u003c/code\u003e, each corresponding to a specific aspect of the standard \u003ccode\u003egoogle.longrunning.Operation\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eEach field within the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum serves to provide equivalent data as found in the \u003ccode\u003egoogle.longrunning.Operation\u003c/code\u003e object, which is vital for successfully monitoring long-running processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStatus\u003c/code\u003e field within the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum indicates whether an operation is complete, with specific guidelines provided on how boolean and enum types should be implemented to align with the \u003ccode\u003eOperation.done\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation, and the latest version is 3.3.0, and version 3.2.0 is the current version.\u003c/p\u003e\n"]]],[],null,[]]