Google Cloud Dms V1 Client - Class ValueTransformation (2.0.0)

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 Google\Protobuf\GPBEmpty

Optional. Value is null

↳ value_list Google\Cloud\CloudDms\V1\ValueListFilter

Optional. Value is found in the specified list.

↳ int_comparison Google\Cloud\CloudDms\V1\IntComparisonFilter

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

↳ double_comparison Google\Cloud\CloudDms\V1\DoubleComparisonFilter

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

↳ assign_null Google\Protobuf\GPBEmpty

Optional. Set to null

↳ assign_specific_value Google\Cloud\CloudDms\V1\AssignSpecificValue

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

↳ assign_min_value Google\Protobuf\GPBEmpty

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

↳ assign_max_value Google\Protobuf\GPBEmpty

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

↳ round_scale Google\Cloud\CloudDms\V1\RoundToScale

Optional. Allows the data to change scale

↳ apply_hash Google\Cloud\CloudDms\V1\ApplyHash

Optional. Applies a hash function on the data

getIsNull

Optional. Value is null

Returns
Type Description
Google\Protobuf\GPBEmpty|null

hasIsNull

setIsNull

Optional. Value is null

Parameter
Name Description
var Google\Protobuf\GPBEmpty
Returns
Type Description
$this

getValueList

Optional. Value is found in the specified list.

Returns
Type Description
Google\Cloud\CloudDms\V1\ValueListFilter|null

hasValueList

setValueList

Optional. Value is found in the specified list.

Parameter
Name Description
var Google\Cloud\CloudDms\V1\ValueListFilter
Returns
Type Description
$this

getIntComparison

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

Returns
Type Description
Google\Cloud\CloudDms\V1\IntComparisonFilter|null

hasIntComparison

setIntComparison

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

Parameter
Name Description
var Google\Cloud\CloudDms\V1\IntComparisonFilter
Returns
Type Description
$this

getDoubleComparison

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

Returns
Type Description
Google\Cloud\CloudDms\V1\DoubleComparisonFilter|null

hasDoubleComparison

setDoubleComparison

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

Parameter
Name Description
var Google\Cloud\CloudDms\V1\DoubleComparisonFilter
Returns
Type Description
$this

getAssignNull

Optional. Set to null

Returns
Type Description
Google\Protobuf\GPBEmpty|null

hasAssignNull

setAssignNull

Optional. Set to null

Parameter
Name Description
var 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
Google\Cloud\CloudDms\V1\AssignSpecificValue|null

hasAssignSpecificValue

setAssignSpecificValue

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

Parameter
Name Description
var Google\Cloud\CloudDms\V1\AssignSpecificValue
Returns
Type Description
$this

getAssignMinValue

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

Returns
Type Description
Google\Protobuf\GPBEmpty|null

hasAssignMinValue

setAssignMinValue

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

Parameter
Name Description
var 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
Google\Protobuf\GPBEmpty|null

hasAssignMaxValue

setAssignMaxValue

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

Parameter
Name Description
var Google\Protobuf\GPBEmpty
Returns
Type Description
$this

getRoundScale

Optional. Allows the data to change scale

Returns
Type Description
Google\Cloud\CloudDms\V1\RoundToScale|null

hasRoundScale

setRoundScale

Optional. Allows the data to change scale

Parameter
Name Description
var Google\Cloud\CloudDms\V1\RoundToScale
Returns
Type Description
$this

getApplyHash

Optional. Applies a hash function on the data

Returns
Type Description
Google\Cloud\CloudDms\V1\ApplyHash|null

hasApplyHash

setApplyHash

Optional. Applies a hash function on the data

Parameter
Name Description
var Google\Cloud\CloudDms\V1\ApplyHash
Returns
Type Description
$this

getFilter

Returns
Type Description
string

getAction

Returns
Type Description
string