Google Cloud Dms V1 Client - Class ConditionalColumnSetValue (2.0.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class ConditionalColumnSetValue.

Options to configure rule type ConditionalColumnSetValue.

The rule is used to transform the data which is being replicated/migrated. The rule filter field can refer to one or more entities. The rule scope can be one of: Column.

Generated from protobuf message google.cloud.clouddms.v1.ConditionalColumnSetValue

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_text_filter SourceTextFilter

Optional. Optional filter on source column length. Used for text based data types like varchar.

↳ source_numeric_filter SourceNumericFilter

Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

↳ value_transformation ValueTransformation

Required. Description of data transformation during migration.

↳ custom_features Google\Protobuf\Struct

Optional. Custom engine specific features.

getSourceTextFilter

Optional. Optional filter on source column length. Used for text based data types like varchar.

Returns
Type Description
SourceTextFilter|null

hasSourceTextFilter

setSourceTextFilter

Optional. Optional filter on source column length. Used for text based data types like varchar.

Parameter
Name Description
var SourceTextFilter
Returns
Type Description
$this

getSourceNumericFilter

Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

Returns
Type Description
SourceNumericFilter|null

hasSourceNumericFilter

setSourceNumericFilter

Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

Parameter
Name Description
var SourceNumericFilter
Returns
Type Description
$this

getValueTransformation

Required. Description of data transformation during migration.

Returns
Type Description
ValueTransformation|null

hasValueTransformation

clearValueTransformation

setValueTransformation

Required. Description of data transformation during migration.

Parameter
Name Description
var ValueTransformation
Returns
Type Description
$this

getCustomFeatures

Optional. Custom engine specific features.

Returns
Type Description
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Optional. Custom engine specific features.

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

getSourceFilter

Returns
Type Description
string