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

Filter for fixed point number data types such as NUMERIC/NUMBER

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

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_min_scale_filter` | `int` Optional. The filter will match columns with scale greater than or equal to this number. |
| `↳ source_max_scale_filter` | `int` Optional. The filter will match columns with scale smaller than or equal to this number. |
| `↳ source_min_precision_filter` | `int` Optional. The filter will match columns with precision greater than or equal to this number. |
| `↳ source_max_precision_filter` | `int` Optional. The filter will match columns with precision smaller than or equal to this number. |
| `↳ numeric_filter_option` | `int` Required. Enum to set the option defining the datatypes numeric filter has to be applied to |

### getSourceMinScaleFilter

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

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

### setSourceMinScaleFilter

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

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

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

### getSourceMaxScaleFilter

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

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

### setSourceMaxScaleFilter

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

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

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

### getSourceMinPrecisionFilter

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

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

### setSourceMinPrecisionFilter

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

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

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

### getSourceMaxPrecisionFilter

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

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

### setSourceMaxPrecisionFilter

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

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

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

### getNumericFilterOption

Required. Enum to set the option defining the datatypes numeric filter has
to be applied to

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

### setNumericFilterOption

Required. Enum to set the option defining the datatypes numeric filter has
to be applied to

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

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