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
Returns
- (::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
#apply_hash=
def apply_hash=(value) -> ::Google::Cloud::CloudDMS::V1::ApplyHash
Parameter
- value (::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
Returns
- (::Google::Cloud::CloudDMS::V1::ApplyHash) — Optional. Applies a hash function on the data
#assign_max_value
def assign_max_value() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
#assign_max_value=
def assign_max_value=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
Returns
- (::Google::Protobuf::Empty) — Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
#assign_min_value
def assign_min_value() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
#assign_min_value=
def assign_min_value=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
Returns
- (::Google::Protobuf::Empty) — Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
#assign_null
def assign_null() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — Optional. Set to null
#assign_null=
def assign_null=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — Optional. Set to null
Returns
- (::Google::Protobuf::Empty) — Optional. Set to null
#assign_specific_value
def assign_specific_value() -> ::Google::Cloud::CloudDMS::V1::AssignSpecificValue
Returns
- (::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target data type)
#assign_specific_value=
def assign_specific_value=(value) -> ::Google::Cloud::CloudDMS::V1::AssignSpecificValue
Parameter
- value (::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target data type)
Returns
- (::Google::Cloud::CloudDMS::V1::AssignSpecificValue) — Optional. Set to a specific value (value is converted to fit the target data type)
#double_comparison
def double_comparison() -> ::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter
Returns
- (::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of type double.
#double_comparison=
def double_comparison=(value) -> ::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter
Parameter
- value (::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of type double.
Returns
- (::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter) — Optional. Filter on relation between source value and compare value of type double.
#int_comparison
def int_comparison() -> ::Google::Cloud::CloudDMS::V1::IntComparisonFilter
Returns
- (::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of type integer.
#int_comparison=
def int_comparison=(value) -> ::Google::Cloud::CloudDMS::V1::IntComparisonFilter
Parameter
- value (::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of type integer.
Returns
- (::Google::Cloud::CloudDMS::V1::IntComparisonFilter) — Optional. Filter on relation between source value and compare value of type integer.
#is_null
def is_null() -> ::Google::Protobuf::Empty
Returns
- (::Google::Protobuf::Empty) — Optional. Value is null
#is_null=
def is_null=(value) -> ::Google::Protobuf::Empty
Parameter
- value (::Google::Protobuf::Empty) — Optional. Value is null
Returns
- (::Google::Protobuf::Empty) — Optional. Value is null
#round_scale
def round_scale() -> ::Google::Cloud::CloudDMS::V1::RoundToScale
Returns
- (::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
#round_scale=
def round_scale=(value) -> ::Google::Cloud::CloudDMS::V1::RoundToScale
Parameter
- value (::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
Returns
- (::Google::Cloud::CloudDMS::V1::RoundToScale) — Optional. Allows the data to change scale
#value_list
def value_list() -> ::Google::Cloud::CloudDMS::V1::ValueListFilter
Returns
- (::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.
#value_list=
def value_list=(value) -> ::Google::Cloud::CloudDMS::V1::ValueListFilter
Parameter
- value (::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.
Returns
- (::Google::Cloud::CloudDMS::V1::ValueListFilter) — Optional. Value is found in the specified list.