Class: Google::Apis::DatamigrationV1::FilterTableColumns
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::FilterTableColumns
- 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
Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table. The rule filter field can refer to one entity. The rule scope can be: Table Only one of the two lists can be specified for the rule.
Instance Attribute Summary collapse
-
#exclude_columns ⇒ Array<String>
Optional.
-
#include_columns ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilterTableColumns
constructor
A new instance of FilterTableColumns.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilterTableColumns
Returns a new instance of FilterTableColumns.
1965 1966 1967 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_columns ⇒ Array<String>
Optional. List of columns to be excluded for a particular table.
Corresponds to the JSON property excludeColumns
1958 1959 1960 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1958 def exclude_columns @exclude_columns end |
#include_columns ⇒ Array<String>
Optional. List of columns to be included for a particular table.
Corresponds to the JSON property includeColumns
1963 1964 1965 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1963 def include_columns @include_columns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1970 1971 1972 1973 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1970 def update!(**args) @exclude_columns = args[:exclude_columns] if args.key?(:exclude_columns) @include_columns = args[:include_columns] if args.key?(:include_columns) end |