Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::ValueTransformation.
Description of data transformation during migration as part of the ConditionalColumnSetValue.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#apply_hash
def apply_hash() -> ::Google::Cloud::CloudDMS::V1::ApplyHash
-
(::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
Note: The following fields are mutually exclusive:
apply_hash
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#apply_hash=
def apply_hash=(value) -> ::Google::Cloud::CloudDMS::V1::ApplyHash
-
value (::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
Note: The following fields are mutually exclusive:
apply_hash
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
Note: The following fields are mutually exclusive:
apply_hash
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_max_value
def assign_max_value() -> ::Google::Protobuf::Empty
-
(::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use
int.maxvalue, etc
Note: The following fields are mutually exclusive:
assign_max_value
,assign_null
,assign_specific_value
,assign_min_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_max_value=
def assign_max_value=(value) -> ::Google::Protobuf::Empty
-
value (::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use
int.maxvalue, etc
Note: The following fields are mutually exclusive:
assign_max_value
,assign_null
,assign_specific_value
,assign_min_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use
int.maxvalue, etc
Note: The following fields are mutually exclusive:
assign_max_value
,assign_null
,assign_specific_value
,assign_min_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_min_value
def assign_min_value() -> ::Google::Protobuf::Empty
-
(::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use
int.minvalue, etc
Note: The following fields are mutually exclusive:
assign_min_value
,assign_null
,assign_specific_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_min_value=
def assign_min_value=(value) -> ::Google::Protobuf::Empty
-
value (::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use
int.minvalue, etc
Note: The following fields are mutually exclusive:
assign_min_value
,assign_null
,assign_specific_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use
int.minvalue, etc
Note: The following fields are mutually exclusive:
assign_min_value
,assign_null
,assign_specific_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_null
def assign_null() -> ::Google::Protobuf::Empty
-
(::Google::Protobuf::Empty) — Optional. Set to null
Note: The following fields are mutually exclusive:
assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_null=
def assign_null=(value) -> ::Google::Protobuf::Empty
-
value (::Google::Protobuf::Empty) — Optional. Set to null
Note: The following fields are mutually exclusive:
assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Empty) — Optional. Set to null
Note: The following fields are mutually exclusive:
assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_specific_value
def assign_specific_value() -> ::Google::Cloud::CloudDMS::V1::AssignSpecificValue
-
(::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target
data type)
Note: The following fields are mutually exclusive:
assign_specific_value
,assign_null
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assign_specific_value=
def assign_specific_value=(value) -> ::Google::Cloud::CloudDMS::V1::AssignSpecificValue
-
value (::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target
data type)
Note: The following fields are mutually exclusive:
assign_specific_value
,assign_null
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target
data type)
Note: The following fields are mutually exclusive:
assign_specific_value
,assign_null
,assign_min_value
,assign_max_value
,round_scale
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#double_comparison
def double_comparison() -> ::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter
-
(::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of
type double.
Note: The following fields are mutually exclusive:
double_comparison
,is_null
,value_list
,int_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#double_comparison=
def double_comparison=(value) -> ::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter
-
value (::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of
type double.
Note: The following fields are mutually exclusive:
double_comparison
,is_null
,value_list
,int_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of
type double.
Note: The following fields are mutually exclusive:
double_comparison
,is_null
,value_list
,int_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_comparison
def int_comparison() -> ::Google::Cloud::CloudDMS::V1::IntComparisonFilter
-
(::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of
type integer.
Note: The following fields are mutually exclusive:
int_comparison
,is_null
,value_list
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_comparison=
def int_comparison=(value) -> ::Google::Cloud::CloudDMS::V1::IntComparisonFilter
-
value (::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of
type integer.
Note: The following fields are mutually exclusive:
int_comparison
,is_null
,value_list
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of
type integer.
Note: The following fields are mutually exclusive:
int_comparison
,is_null
,value_list
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#is_null
def is_null() -> ::Google::Protobuf::Empty
-
(::Google::Protobuf::Empty) — Optional. Value is null
Note: The following fields are mutually exclusive:
is_null
,value_list
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#is_null=
def is_null=(value) -> ::Google::Protobuf::Empty
-
value (::Google::Protobuf::Empty) — Optional. Value is null
Note: The following fields are mutually exclusive:
is_null
,value_list
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Empty) — Optional. Value is null
Note: The following fields are mutually exclusive:
is_null
,value_list
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#round_scale
def round_scale() -> ::Google::Cloud::CloudDMS::V1::RoundToScale
-
(::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
Note: The following fields are mutually exclusive:
round_scale
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#round_scale=
def round_scale=(value) -> ::Google::Cloud::CloudDMS::V1::RoundToScale
-
value (::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
Note: The following fields are mutually exclusive:
round_scale
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
Note: The following fields are mutually exclusive:
round_scale
,assign_null
,assign_specific_value
,assign_min_value
,assign_max_value
,apply_hash
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_list
def value_list() -> ::Google::Cloud::CloudDMS::V1::ValueListFilter
-
(::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.
Note: The following fields are mutually exclusive:
value_list
,is_null
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_list=
def value_list=(value) -> ::Google::Cloud::CloudDMS::V1::ValueListFilter
-
value (::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.
Note: The following fields are mutually exclusive:
value_list
,is_null
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.
Note: The following fields are mutually exclusive:
value_list
,is_null
,int_comparison
,double_comparison
. If a field in that set is populated, all other fields in the set will automatically be cleared.