2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Database Migration v1 API class CreateMigrationJobRequest.

Request message to create a new Database Migration Service migration job
in the specified project and region.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.CloudDms.V1.dll

## Constructors

### CreateMigrationJobRequest()

    public CreateMigrationJobRequest()

### CreateMigrationJobRequest(CreateMigrationJobRequest)

    public CreateMigrationJobRequest(CreateMigrationJobRequest other)

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

## Properties

### MigrationJob

    public MigrationJob MigrationJob { get; set; }

Required. Represents a [migration
job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
object.

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

### MigrationJobId

    public string MigrationJobId { get; set; }

Required. The ID of the instance to create.

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

### Parent

    public string Parent { get; set; }

Required. The parent which owns this collection of migration jobs.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.CreateMigrationJobRequest.md.txt#Google_Cloud_CloudDms_V1_CreateMigrationJobRequest_Parent) resource name property.

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

### RequestId

    public string RequestId { get; set; }

Optional. A unique ID used to identify the request. If the server receives
two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
(_), and hyphens (-). The maximum length is 40 characters.

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