Database Migration v1 API - Class ValueTransformation (2.5.0)

public sealed class ValueTransformation : IMessage<ValueTransformation>, IEquatable<ValueTransformation>, IDeepCloneable<ValueTransformation>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Migration v1 API class ValueTransformation.

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

Inheritance

object > ValueTransformation

Namespace

Google.Cloud.CloudDms.V1

Assembly

Google.Cloud.CloudDms.V1.dll

Constructors

ValueTransformation()

public ValueTransformation()

ValueTransformation(ValueTransformation)

public ValueTransformation(ValueTransformation other)
Parameter
Name Description
other ValueTransformation

Properties

ActionCase

public ValueTransformation.ActionOneofCase ActionCase { get; }
Property Value
Type Description
ValueTransformationActionOneofCase

ApplyHash

public ApplyHash ApplyHash { get; set; }

Optional. Applies a hash function on the data

Property Value
Type Description
ApplyHash

AssignMaxValue

public Empty AssignMaxValue { get; set; }

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

Property Value
Type Description
Empty

AssignMinValue

public Empty AssignMinValue { get; set; }

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

Property Value
Type Description
Empty

AssignNull

public Empty AssignNull { get; set; }

Optional. Set to null

Property Value
Type Description
Empty

AssignSpecificValue

public AssignSpecificValue AssignSpecificValue { get; set; }

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

Property Value
Type Description
AssignSpecificValue

DoubleComparison

public DoubleComparisonFilter DoubleComparison { get; set; }

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

Property Value
Type Description
DoubleComparisonFilter

FilterCase

public ValueTransformation.FilterOneofCase FilterCase { get; }
Property Value
Type Description
ValueTransformationFilterOneofCase

IntComparison

public IntComparisonFilter IntComparison { get; set; }

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

Property Value
Type Description
IntComparisonFilter

IsNull

public Empty IsNull { get; set; }

Optional. Value is null

Property Value
Type Description
Empty

RoundScale

public RoundToScale RoundScale { get; set; }

Optional. Allows the data to change scale

Property Value
Type Description
RoundToScale

ValueList

public ValueListFilter ValueList { get; set; }

Optional. Value is found in the specified list.

Property Value
Type Description
ValueListFilter