Google Cloud Dms V1 Client - Class ConditionalColumnSetValue (2.0.1)

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 Google\Cloud\CloudDms\V1\SourceTextFilter

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

↳ source_numeric_filter Google\Cloud\CloudDms\V1\SourceNumericFilter

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

↳ value_transformation Google\Cloud\CloudDms\V1\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
Google\Cloud\CloudDms\V1\SourceTextFilter|null

hasSourceTextFilter

setSourceTextFilter

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

Parameter
Name Description
var Google\Cloud\CloudDms\V1\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
Google\Cloud\CloudDms\V1\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 Google\Cloud\CloudDms\V1\SourceNumericFilter
Returns
Type Description
$this

getValueTransformation

Required. Description of data transformation during migration.

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

hasValueTransformation

clearValueTransformation

setValueTransformation

Required. Description of data transformation during migration.

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