Class: Google::Apis::DatamigrationV1::SourceNumericFilter
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SourceNumericFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Filter for fixed point number data types such as NUMERIC/NUMBER
Instance Attribute Summary collapse
-
#numeric_filter_option ⇒ String
Required.
-
#source_max_precision_filter ⇒ Fixnum
Optional.
-
#source_max_scale_filter ⇒ Fixnum
Optional.
-
#source_min_precision_filter ⇒ Fixnum
Optional.
-
#source_min_scale_filter ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceNumericFilter
constructor
A new instance of SourceNumericFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceNumericFilter
Returns a new instance of SourceNumericFilter.
4721 4722 4723 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#numeric_filter_option ⇒ String
Required. Enum to set the option defining the datatypes numeric filter has to
be applied to
Corresponds to the JSON property numericFilterOption
4695 4696 4697 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4695 def numeric_filter_option @numeric_filter_option end |
#source_max_precision_filter ⇒ Fixnum
Optional. The filter will match columns with precision smaller than or equal
to this number.
Corresponds to the JSON property sourceMaxPrecisionFilter
4701 4702 4703 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4701 def source_max_precision_filter @source_max_precision_filter end |
#source_max_scale_filter ⇒ Fixnum
Optional. The filter will match columns with scale smaller than or equal to
this number.
Corresponds to the JSON property sourceMaxScaleFilter
4707 4708 4709 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4707 def source_max_scale_filter @source_max_scale_filter end |
#source_min_precision_filter ⇒ Fixnum
Optional. The filter will match columns with precision greater than or equal
to this number.
Corresponds to the JSON property sourceMinPrecisionFilter
4713 4714 4715 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4713 def source_min_precision_filter @source_min_precision_filter end |
#source_min_scale_filter ⇒ Fixnum
Optional. The filter will match columns with scale greater than or equal to
this number.
Corresponds to the JSON property sourceMinScaleFilter
4719 4720 4721 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4719 def source_min_scale_filter @source_min_scale_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4726 4727 4728 4729 4730 4731 4732 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4726 def update!(**args) @numeric_filter_option = args[:numeric_filter_option] if args.key?(:numeric_filter_option) @source_max_precision_filter = args[:source_max_precision_filter] if args.key?(:source_max_precision_filter) @source_max_scale_filter = args[:source_max_scale_filter] if args.key?(:source_max_scale_filter) @source_min_precision_filter = args[:source_min_precision_filter] if args.key?(:source_min_precision_filter) @source_min_scale_filter = args[:source_min_scale_filter] if args.key?(:source_min_scale_filter) end |