# Google Cloud Dms V1 Client - Class ConditionalColumnSetValue (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 ConditionalColumnSetValue.

Options to configure rule type ConditionalColumnSetValue.

The rule is used to transform the data which is being replicated/migrated.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Column.

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

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_text_filter` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceTextFilter` Optional. Optional filter on source column length. Used for text based data types like varchar. |
| `↳ source_numeric_filter` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceNumericFilter` Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types. |
| `↳ value_transformation` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ValueTransformation` Required. Description of data transformation during migration. |
| `↳ custom_features` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct` Optional. Custom engine specific features. |

### getSourceTextFilter

Optional. Optional filter on source column length. Used for text based
data types like varchar.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceTextFilter|null` |   |

### hasSourceTextFilter

### setSourceTextFilter

Optional. Optional filter on source column length. Used for text based
data types like varchar.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceTextFilter` |

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

### getSourceNumericFilter

Optional. Optional filter on source column precision and scale. Used for
fixed point numbers such as NUMERIC/NUMBER data types.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceNumericFilter|null` |   |

### hasSourceNumericFilter

### setSourceNumericFilter

Optional. Optional filter on source column precision and scale. Used for
fixed point numbers such as NUMERIC/NUMBER data types.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.SourceNumericFilter` |

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

### getValueTransformation

Required. Description of data transformation during migration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ValueTransformation|null` |   |

### hasValueTransformation

### clearValueTransformation

### setValueTransformation

Required. Description of data transformation during migration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ValueTransformation` |

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

### getCustomFeatures

Optional. Custom engine specific features.

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

### hasCustomFeatures

### clearCustomFeatures

### setCustomFeatures

Optional. Custom engine specific features.

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

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

### getSourceFilter

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |