# BigQuery Migration v2 API - Class MigrationWorkflow (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the BigQuery Migration v2 API class MigrationWorkflow.

A migration workflow which specifies what needs to be done for an EDW
migration.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.BigQuery.Migration.V2.dll

## Constructors

### MigrationWorkflow()

    public MigrationWorkflow()

### MigrationWorkflow(MigrationWorkflow)

    public MigrationWorkflow(MigrationWorkflow other)

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

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. Time when the workflow was created.

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

### DisplayName

    public string DisplayName { get; set; }

The display name of the workflow. This can be set to give a workflow
a descriptive name. There is no guarantee or enforcement of uniqueness.

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

### LastUpdateTime

    public Timestamp LastUpdateTime { get; set; }

Output only. Time when the workflow was last updated.

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

### MigrationWorkflowName

    public MigrationWorkflowName MigrationWorkflowName { get; set; }

[MigrationWorkflowName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflowName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflow#Google_Cloud_BigQuery_Migration_V2_MigrationWorkflow_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflowName` |   |

### Name

    public string Name { get; set; }

Output only. Immutable. Identifier. The unique identifier for the migration
workflow. The ID is server-generated.

Example: `projects/123/locations/us/workflows/345`

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

### State

    public MigrationWorkflow.Types.State State { get; set; }

Output only. That status of the workflow.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflowhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflow.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationWorkflow.Types.State` |   |

### Tasks

    public MapField<string, MigrationTask> Tasks { get; }

The tasks in a workflow in a named map. The name (i.e. key) has no
meaning and is merely a convenient way to address a specific task
in a workflow.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.MigrationTask` |   |