Google Cloud Dms V1 Client - Class ConditionalColumnSetValue (1.4.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
NameDescription
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
TypeDescription
Google\Cloud\CloudDms\V1\SourceTextFilter|null

hasSourceTextFilter

setSourceTextFilter

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

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\SourceTextFilter
Returns
TypeDescription
$this

getSourceNumericFilter

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\CloudDms\V1\SourceNumericFilter
Returns
TypeDescription
$this

getValueTransformation

Required. Description of data transformation during migration.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\ValueTransformation|null

hasValueTransformation

clearValueTransformation

setValueTransformation

Required. Description of data transformation during migration.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\ValueTransformation
Returns
TypeDescription
$this

getCustomFeatures

Optional. Custom engine specific features.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasCustomFeatures

clearCustomFeatures

setCustomFeatures

Optional. Custom engine specific features.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this

getSourceFilter

Returns
TypeDescription
string