# BigQuery Migration v2 API - Class CreateMigrationWorkflowRequest (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 CreateMigrationWorkflowRequest : IMessage<CreateMigrationWorkflowRequest>, IEquatable<CreateMigrationWorkflowRequest>, IDeepCloneable<CreateMigrationWorkflowRequest>, IBufferMessage, IMessage

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

Request to create a migration workflow resource.

## Inheritance

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

## Implements

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

### CreateMigrationWorkflowRequest()

    public CreateMigrationWorkflowRequest()

### CreateMigrationWorkflowRequest(CreateMigrationWorkflowRequest)

    public CreateMigrationWorkflowRequest(CreateMigrationWorkflowRequest other)

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

## Properties

### MigrationWorkflow

    public MigrationWorkflow MigrationWorkflow { get; set; }

Required. The migration workflow to create.

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

### Parent

    public string Parent { get; set; }

Required. The name of the project to which this migration workflow belongs.
Example: `projects/foo/locations/bar`

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Migration.V2/latest/Google.Cloud.BigQuery.Migration.V2.CreateMigrationWorkflowRequest#Google_Cloud_BigQuery_Migration_V2_CreateMigrationWorkflowRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |