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

Filter for text-based data types like varchar.

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

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_min_length_filter` | `int|string` Optional. The filter will match columns with length greater than or equal to this number. |
| `↳ source_max_length_filter` | `int|string` Optional. The filter will match columns with length smaller than or equal to this number. |

### getSourceMinLengthFilter

Optional. The filter will match columns with length greater than or equal
to this number.

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

### setSourceMinLengthFilter

Optional. The filter will match columns with length greater than or equal
to this number.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getSourceMaxLengthFilter

Optional. The filter will match columns with length smaller than or equal
to this number.

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

### setSourceMaxLengthFilter

Optional. The filter will match columns with length smaller than or equal
to this number.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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