# Google Cloud Dms V1 Client - Class ConvertRowIdToColumn (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class ConvertRowIdToColumn.

Options to configure rule type ConvertROWIDToColumn.

The rule is used to add column rowid to destination tables based on an Oracle
rowid function/property.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table.
This rule requires additional filter to be specified beyond the basic rule
filter field, which is whether or not to work on tables which already have a
primary key defined.

Generated from protobuf message `google.cloud.clouddms.v1.ConvertRowIdToColumn`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ only_if_no_primary_key` | `bool` Required. Only work on tables without primary key defined |

### getOnlyIfNoPrimaryKey

Required. Only work on tables without primary key defined

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setOnlyIfNoPrimaryKey

Required. Only work on tables without primary key defined

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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