Database Migration v1 API - Class ValueTransformation (2.4.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
NameDescription
otherValueTransformation

Properties

ActionCase

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

ApplyHash

public ApplyHash ApplyHash { get; set; }

Optional. Applies a hash function on the data

Property Value
TypeDescription
ApplyHash

AssignMaxValue

public Empty AssignMaxValue { get; set; }

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

Property Value
TypeDescription
Empty

AssignMinValue

public Empty AssignMinValue { get; set; }

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

Property Value
TypeDescription
Empty

AssignNull

public Empty AssignNull { get; set; }

Optional. Set to null

Property Value
TypeDescription
Empty

AssignSpecificValue

public AssignSpecificValue AssignSpecificValue { get; set; }

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

Property Value
TypeDescription
AssignSpecificValue

DoubleComparison

public DoubleComparisonFilter DoubleComparison { get; set; }

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

Property Value
TypeDescription
DoubleComparisonFilter

FilterCase

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

IntComparison

public IntComparisonFilter IntComparison { get; set; }

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

Property Value
TypeDescription
IntComparisonFilter

IsNull

public Empty IsNull { get; set; }

Optional. Value is null

Property Value
TypeDescription
Empty

RoundScale

public RoundToScale RoundScale { get; set; }

Optional. Allows the data to change scale

Property Value
TypeDescription
RoundToScale

ValueList

public ValueListFilter ValueList { get; set; }

Optional. Value is found in the specified list.

Property Value
TypeDescription
ValueListFilter