# Class ValueTransformation (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    ValueTransformation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `is_null` | `google.protobuf.empty_pb2.Empty` Optional. Value is null This field is a member of `oneof`_ `filter`. |
| `value_list` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.ValueListFilter` Optional. Value is found in the specified list. This field is a member of `oneof`_ `filter`. |
| `int_comparison` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.IntComparisonFilter` Optional. Filter on relation between source value and compare value of type integer. This field is a member of `oneof`_ `filter`. |
| `double_comparison` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.DoubleComparisonFilter` Optional. Filter on relation between source value and compare value of type double. This field is a member of `oneof`_ `filter`. |
| `assign_null` | `google.protobuf.empty_pb2.Empty` Optional. Set to null This field is a member of `oneof`_ `action`. |
| `assign_specific_value` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.AssignSpecificValue` Optional. Set to a specific value (value is converted to fit the target data type) This field is a member of `oneof`_ `action`. |
| `assign_min_value` | `google.protobuf.empty_pb2.Empty` Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc This field is a member of `oneof`_ `action`. |
| `assign_max_value` | `google.protobuf.empty_pb2.Empty` Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc This field is a member of `oneof`_ `action`. |
| `round_scale` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.RoundToScale` Optional. Allows the data to change scale This field is a member of `oneof`_ `action`. |
| `apply_hash` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.ApplyHash` Optional. Applies a hash function on the data This field is a member of `oneof`_ `action`. |