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.



4290
4291
4292
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4290

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)


4282
4283
4284
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4282

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)


4288
4289
4290
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4288

def source_min_length_filter
  @source_min_length_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4295
4296
4297
4298
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4295

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