[SDK reference](../../index.md) / [Models](../index.md) / [DbMigration](index.md)

# MigrationProject

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.DbMigration`  

A migration project: one source, one target, one mode, and the run's state.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.DbMigration.MigrationProject_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `AssessedTime` | `DateTimeOffset?` | `assessedTime` | When the assessment was made. |
| `Assessment` | `Models.DbMigration.MigrationAssessment?` | `assessment` | The latest assessment; absent until :assess has finished. |
| `Attempt` | `int?` | `attempt` | How many times a copy has been started. |
| `BackendMode` | `string?` | `backendMode` | SIMULATED or the real copy's backend. |
| `BlockerCount` | `int?` | `blockerCount` | How many blockers the latest assessment holds; :start needs none. |
| `BytesCopied` | `long?` | `bytesCopied` | The bytesCopied property |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `EndTime` | `DateTimeOffset?` | `endTime` | The endTime property |
| `ErrorMessage` | `string?` | `errorMessage` | The engine's message when the run failed, with credentials removed. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `Labels` | `Models.DbMigration.MigrationProject_labels?` | `labels` | At most 64. |
| `LagBytes` | `long?` | `lagBytes` | Change-streaming lag in bytes. |
| `LagSeconds` | `double?` | `lagSeconds` | Change-streaming lag in seconds (CONTINUOUS), absent before streaming starts. |
| `Location` | `string?` | `location` | The location property |
| `Mode` | `Models.DbMigration.MigrationProject_mode?` | `mode` | ONE_SHOT or CONTINUOUS; fixed once a run has started. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `RowsCopied` | `long?` | `rowsCopied` | The rowsCopied property |
| `RowsTotal` | `long?` | `rowsTotal` | The rowsTotal property |
| `Simulated` | `bool?` | `simulated` | True when the lab's simulated driver, not a real copy, ran the project. |
| `Source` | `Models.DbMigration.MigrationSource?` | `source` | Where the data comes from. The host must be a public name or address (a private one only through a private path of the project's network); the port one of the engine's usual ports. |
| `StartTime` | `DateTimeOffset?` | `startTime` | The startTime property |
| `State` | `Models.DbMigration.MigrationProject_state?` | `state` | The state property |
| `StateReason` | `string?` | `stateReason` | Why the project is in this state, in words. |
| `Target` | `Models.DbMigration.MigrationTarget?` | `target` | The managed instance the data is copied into. It must be in this project and location, ready, and empty. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
| `Verification` | `Models.DbMigration.MigrationVerification?` | `verification` | The cut-over comparison; absent until a cut-over has been tried. |
