# Game Services v1 API - Class OperationStatus (2.2.0)

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

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.OperationStatus)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.OperationStatus)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.OperationStatus)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.OperationStatus)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.OperationStatus)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.OperationStatus)

    public sealed class OperationStatus : IMessage<OperationStatus>, IEquatable<OperationStatus>, IDeepCloneable<OperationStatus>, IBufferMessage, IMessage

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> OperationStatus

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OperationStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OperationStatus](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.Gaming.V1.dll

## Constructors

### OperationStatus()

    public OperationStatus()

### OperationStatus(OperationStatus)

    public OperationStatus(OperationStatus other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus` |

## Properties

### Done

    public bool Done { get; set; }

Output only. Whether the operation is done or still in progress.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### ErrorCode

    public OperationStatus.Types.ErrorCode ErrorCode { get; set; }

The error code in case of failures.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatushttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationStatus.Types.ErrorCode` |   |

### ErrorMessage

    public string ErrorMessage { get; set; }

The human-readable error message.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |