# Cloud Build v2 API - Class RunWorkflowCustomOperationMetadata (1.5.0)

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

- [1.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.4.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata)

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

Reference documentation and code samples for the Cloud Build v2 API class RunWorkflowCustomOperationMetadata.

Represents the custom metadata of the RunWorkflow long-running operation.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudBuild.V2.dll

## Constructors

### RunWorkflowCustomOperationMetadata()

    public RunWorkflowCustomOperationMetadata()

### RunWorkflowCustomOperationMetadata(RunWorkflowCustomOperationMetadata)

    public RunWorkflowCustomOperationMetadata(RunWorkflowCustomOperationMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.RunWorkflowCustomOperationMetadata` |

## Properties

### ApiVersion

    public string ApiVersion { get; set; }

Output only. API version used to start the operation.

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

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time the operation was created.

| **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; }

Output only. The time the operation finished running.

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

### PipelineRunId

    public string PipelineRunId { get; set; }

Output only. ID of the pipeline run created by RunWorkflow.

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

### RequestedCancellation

    public bool RequestedCancellation { 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\]\[google.rpc.Status.code\] of 1, corresponding to
`Code.CANCELLED`.

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

### Target

    public string Target { get; set; }

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

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

### Verb

    public string Verb { get; set; }

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

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