# Google Cloud Datastore Admin V1 Client - Class PrepareStepDetails (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.8.5 0.7.5 0.6.0 0.5.8 Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class PrepareStepDetails.

Details for the `PREPARE` step.

Generated from protobuf message `google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails`

## Namespace

Google \\ Cloud \\ Datastore \\ Admin \\ V1 \\ MigrationProgressEvent

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ concurrency_mode` | `int` The concurrency mode this database will use when it reaches the `REDIRECT_WRITES` step. |

### getConcurrencyMode

The concurrency mode this database will use when it reaches the
`REDIRECT_WRITES` step.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ConcurrencyMode](https://docs.cloud.google.com/php/docs/reference/cloud-datastore-admin/latest/V1.MigrationProgressEvent.ConcurrencyMode). |

### setConcurrencyMode

The concurrency mode this database will use when it reaches the
`REDIRECT_WRITES` step.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ConcurrencyMode](https://docs.cloud.google.com/php/docs/reference/cloud-datastore-admin/latest/V1.MigrationProgressEvent.ConcurrencyMode). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |