2.3.0 (latest) 2.2.0 2.1.0 2.0.0 1.0.0

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

Reference documentation and code samples for the Google.Cloud.Common class OperationMetadata.

Represents the metadata of the long-running operation.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[OperationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Common/latest/Google.Cloud.Common.OperationMetadata.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Common/latest/Google.Cloud.Common.OperationMetadata.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[OperationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Common/latest/Google.Cloud.Common.OperationMetadata.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Common](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Common/latest/Google.Cloud.Common.md.txt)

## Assembly

Google.Cloud.Common.dll

## Constructors

### OperationMetadata()

    public OperationMetadata()

### OperationMetadata(OperationMetadata)

    public OperationMetadata(OperationMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `OperationMetadata` |

## Properties

### ApiVersion

    public string ApiVersion { get; set; }

Output only. API version used to start the operation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CancelRequested

    public bool CancelRequested { get; set; }

Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have \[Operation.error\]\[\] value with a \[google.rpc.Status.code\]\[\] of 1,
corresponding to `Code.CANCELLED`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time the operation was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### EndTime

    public Timestamp EndTime { get; set; }

Output only. The time the operation finished running.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### StatusDetail

    public string StatusDetail { get; set; }

Output only. Human-readable status of the operation, if any.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Target

    public string Target { get; set; }

Output only. Server-defined resource path for the target of the operation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Verb

    public string Verb { get; set; }

Output only. Name of the verb executed by the operation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |