# Google.LongRunning - Enum OperationResponseMapping (3.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud.OperationResponseMapping)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/3.4.0/Google.Cloud.OperationResponseMapping)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/3.3.0/Google.Cloud.OperationResponseMapping)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/3.2.0/Google.Cloud.OperationResponseMapping)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/3.1.0/Google.Cloud.OperationResponseMapping)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/3.0.0/Google.Cloud.OperationResponseMapping)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/2.3.0/Google.Cloud.OperationResponseMapping)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/2.2.0/Google.Cloud.OperationResponseMapping)

    public enum OperationResponseMapping

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.

## Namespace

[Google.Cloud](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud)

## Assembly

Google.LongRunning.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `ErrorCode` | 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`. |
| `Undefined` | Do not use. |