Class: Google::Apis::DatamigrationV1::SourceTextFilter

Inherits:
Object
  • Object
show all
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 text-based data types like varchar.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceTextFilter

Returns a new instance of SourceTextFilter.



4579
4580
4581
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4579

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#source_max_length_filterFixnum

Optional. The filter will match columns with length smaller than or equal to this number. Corresponds to the JSON property sourceMaxLengthFilter

Returns:

  • (Fixnum)


4571
4572
4573
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4571

def source_max_length_filter
  @source_max_length_filter
end

#source_min_length_filterFixnum

Optional. The filter will match columns with length greater than or equal to this number. Corresponds to the JSON property sourceMinLengthFilter

Returns:

  • (Fixnum)


4577
4578
4579
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4577

def source_min_length_filter
  @source_min_length_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4584
4585
4586
4587
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4584

def update!(**args)
  @source_max_length_filter = args[:source_max_length_filter] if args.key?(:source_max_length_filter)
  @source_min_length_filter = args[:source_min_length_filter] if args.key?(:source_min_length_filter)
end