Class: Google::Cloud::CloudDMS::V1::ValueTransformation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb

Overview

Description of data transformation during migration as part of the ConditionalColumnSetValue.

Instance Attribute Summary collapse

Instance Attribute Details

#apply_hash::Google::Cloud::CloudDMS::V1::ApplyHash

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#assign_max_value::Google::Protobuf::Empty

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#assign_min_value::Google::Protobuf::Empty

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#assign_null::Google::Protobuf::Empty

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#assign_specific_value::Google::Cloud::CloudDMS::V1::AssignSpecificValue

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#double_comparison::Google::Cloud::CloudDMS::V1::DoubleComparisonFilter

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#int_comparison::Google::Cloud::CloudDMS::V1::IntComparisonFilter

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#is_null::Google::Protobuf::Empty

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#round_scale::Google::Cloud::CloudDMS::V1::RoundToScale

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value_list::Google::Cloud::CloudDMS::V1::ValueListFilter

Returns 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.

Returns:

  • (::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.



635
636
637
638
# File 'proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb', line 635

class ValueTransformation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end