# Google Cloud Memorystore for Redis v1 API - Class OperationMetadata (3.6.0)

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

- [3.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.OperationMetadata)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.5.0/Google.Cloud.Redis.V1.OperationMetadata)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.OperationMetadata)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.OperationMetadata)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.OperationMetadata)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.OperationMetadata)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.OperationMetadata)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.OperationMetadata)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.OperationMetadata)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.OperationMetadata)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.OperationMetadata)

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

Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class OperationMetadata.

Represents the v1 metadata of the long-running operation.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Redis.V1.dll

## Constructors

### OperationMetadata()

    public OperationMetadata()

### OperationMetadata(OperationMetadata)

    public OperationMetadata(OperationMetadata other)

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

## Properties

### ApiVersion

    public string ApiVersion { get; set; }

API version.

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

### CancelRequested

    public bool CancelRequested { get; set; }

Specifies if cancellation was requested for the operation.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Creation timestamp.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### EndTime

    public Timestamp EndTime { get; set; }

End timestamp.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### StatusDetail

    public string StatusDetail { get; set; }

Operation status details.

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

### Target

    public string Target { get; set; }

Operation target.

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

### Verb

    public string Verb { get; set; }

Operation verb.

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