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.
4357 4358 4359 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4357 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
4331 4332 4333 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4331 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
4337 4338 4339 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4337 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
4343 4344 4345 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4343 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
4349 4350 4351 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4349 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
4355 4356 4357 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4355 def source_min_scale_filter @source_min_scale_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4362 4363 4364 4365 4366 4367 4368 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4362 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 |