Class ValueTransformation (1.9.5)

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 google.cloud.clouddms_v1.types.ValueListFilter
Optional. Value is found in the specified list. This field is a member of oneof_ filter.
int_comparison 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 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 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 google.cloud.clouddms_v1.types.RoundToScale
Optional. Allows the data to change scale This field is a member of oneof_ action.
apply_hash google.cloud.clouddms_v1.types.ApplyHash
Optional. Applies a hash function on the data This field is a member of oneof_ action.