3.5.0 (latest) 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google.LongRunning class OperationInfo.

A message representing the message types used by a long-running operation.

Example:

    rpc Export(ExportRequest) returns (google.longrunning.Operation) {
      option (google.longrunning.operation_info) = {
        response_type: "ExportResponse"
        metadata_type: "ExportMetadata"
      };
    }

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[OperationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[OperationInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationInfo.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.LongRunning](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.md.txt)

## Assembly

Google.LongRunning.dll

## Constructors

### OperationInfo()

    public OperationInfo()

### OperationInfo(OperationInfo)

    public OperationInfo(OperationInfo other)

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

## Properties

### MetadataType

    public string MetadataType { get; set; }

Required. The message name of the metadata type for this long-running
operation.

If the response is in a different package from the rpc, a fully-qualified
message name must be used (e.g. `google.protobuf.Struct`).

Note: Altering this value constitutes a breaking change.

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

### ResponseType

    public string ResponseType { get; set; }

Required. The message name of the primary return type for this
long-running operation.
This type will be used to deserialize the LRO's response.

If the response is in a different package from the rpc, a fully-qualified
message name must be used (e.g. `google.protobuf.Struct`).

Note: Altering this value constitutes a breaking change.

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