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

Description of data transformation during migration as part of the
ConditionalColumnSetValue.

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

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ is_null` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` Optional. Value is null |
| `↳ value_list` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ValueListFilter` Optional. Value is found in the specified list. |
| `↳ int_comparison` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.IntComparisonFilter` Optional. Filter on relation between source value and compare value of type integer. |
| `↳ double_comparison` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.DoubleComparisonFilter` Optional. Filter on relation between source value and compare value of type double. |
| `↳ assign_null` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` Optional. Set to null |
| `↳ assign_specific_value` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.AssignSpecificValue` Optional. Set to a specific value (value is converted to fit the target data type) |
| `↳ assign_min_value` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc |
| `↳ assign_max_value` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc |
| `↳ round_scale` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.RoundToScale` Optional. Allows the data to change scale |
| `↳ apply_hash` | `https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.ApplyHash` Optional. Applies a hash function on the data |

### getIsNull

Optional. Value is null

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

### hasIsNull

### setIsNull

Optional. Value is null

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

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

### getValueList

Optional. Value is found in the specified list.

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

### hasValueList

### setValueList

Optional. Value is found in the specified list.

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

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

### getIntComparison

Optional. Filter on relation between source value and compare value of
type integer.

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

### hasIntComparison

### setIntComparison

Optional. Filter on relation between source value and compare value of
type integer.

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

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

### getDoubleComparison

Optional. Filter on relation between source value and compare value of
type double.

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

### hasDoubleComparison

### setDoubleComparison

Optional. Filter on relation between source value and compare value of
type double.

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

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

### getAssignNull

Optional. Set to null

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

### hasAssignNull

### setAssignNull

Optional. Set to null

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

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

### getAssignSpecificValue

Optional. Set to a specific value (value is converted to fit the target
data type)

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

### hasAssignSpecificValue

### setAssignSpecificValue

Optional. Set to a specific value (value is converted to fit the target
data type)

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

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

### getAssignMinValue

Optional. Set to min_value - if integer or numeric, will use
int.minvalue, etc

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

### hasAssignMinValue

### setAssignMinValue

Optional. Set to min_value - if integer or numeric, will use
int.minvalue, etc

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

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

### getAssignMaxValue

Optional. Set to max_value - if integer or numeric, will use
int.maxvalue, etc

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

### hasAssignMaxValue

### setAssignMaxValue

Optional. Set to max_value - if integer or numeric, will use
int.maxvalue, etc

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

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

### getRoundScale

Optional. Allows the data to change scale

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

### hasRoundScale

### setRoundScale

Optional. Allows the data to change scale

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

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

### getApplyHash

Optional. Applies a hash function on the data

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

### hasApplyHash

### setApplyHash

Optional. Applies a hash function on the data

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

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

### getFilter

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

### getAction

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