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.
4528 4529 4530 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4528 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
4502 4503 4504 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4502 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
4508 4509 4510 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4508 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
4514 4515 4516 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4514 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
4520 4521 4522 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4520 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
4526 4527 4528 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4526 def source_min_scale_filter @source_min_scale_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4533 4534 4535 4536 4537 4538 4539 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4533 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 |