# Google Cloud Data Catalog V1 Client - Class MigrationConfig (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class MigrationConfig.

The configuration related to the migration to Dataplex applied to an
organization or project.

It is the response message for
SetConfig and
RetrieveEffectiveConfig.

Generated from protobuf message `google.cloud.datacatalog.v1.MigrationConfig`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tag_template_migration` | `int` Opt-in status for the migration of Tag Templates to Dataplex. |
| `↳ catalog_ui_experience` | `int` Opt-in status for the UI switch to Dataplex. |
| `↳ template_migration_enabled_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time when the Tag Template migration was enabled. If the Tag Template migration is not enabled, this field is not set. |

### getTagTemplateMigration

Opt-in status for the migration of Tag Templates to Dataplex.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TagTemplateMigration](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.TagTemplateMigration). |

### setTagTemplateMigration

Opt-in status for the migration of Tag Templates to Dataplex.

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

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

### getCatalogUiExperience

Opt-in status for the UI switch to Dataplex.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [CatalogUIExperience](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.CatalogUIExperience). |

### setCatalogUiExperience

Opt-in status for the UI switch to Dataplex.

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

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

### getTemplateMigrationEnabledTime

The time when the Tag Template migration was enabled.

If the Tag Template migration is not enabled, this field is not set.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasTemplateMigrationEnabledTime

### clearTemplateMigrationEnabledTime

### setTemplateMigrationEnabledTime

The time when the Tag Template migration was enabled.

If the Tag Template migration is not enabled, this field is not set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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