MappingRuleArgs class
The set of arguments for MappingRule. The set of arguments for MappingRule.
Constructors
-
MappingRuleArgs({Input<
ConditionalColumnSetValue> ? conditionalColumnSetValue, required Input<String> conversionWorkspaceId, Input<ConvertRowIdToColumn> ? convertRowidColumn, Input<String> ? displayName, Input<EntityMove> ? entityMove, required Input<MappingRuleFilter> filter, Input<FilterTableColumns> ? filterTableColumns, Input<String> ? location, required Input<String> mappingRuleId, Input<MultiColumnDatatypeChange> ? multiColumnDataTypeChange, Input<MultiEntityRename> ? multiEntityRename, Input<String> ? name, Input<String> ? project, Input<String> ? requestId, required Input<String> ruleOrder, required Input<MappingRuleRuleScope> ruleScope, Input<SetTablePrimaryKey> ? setTablePrimaryKey, Input<SingleColumnChange> ? singleColumnChange, Input<SingleEntityRename> ? singleEntityRename, Input<SinglePackageChange> ? singlePackageChange, Input<SourceSqlChange> ? sourceSqlChange, Input<MappingRuleState> ? state}) -
Creates a new MappingRuleArgs.
conditionalColumnSetValueOptional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.conversionWorkspaceIdRequired.convertRowidColumnOptional. Rule to specify how multiple tables should be converted with an additional rowid column.displayNameOptional. A human readable nameentityMoveOptional. Rule to specify how multiple entities should be relocated into a different schema.filterThe rule filterfilterTableColumnsOptional. Rule to specify the list of columns to include or exclude from a table.locationOptional.mappingRuleIdRequired. The ID of the rule to create.multiColumnDataTypeChangeOptional. Rule to specify how multiple columns should be converted to a different data type.multiEntityRenameOptional. Rule to specify how multiple entities should be renamed.nameFull name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.projectOptional.requestIdA unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.ruleOrderThe order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.ruleScopeThe rule scopesetTablePrimaryKeyOptional. Rule to specify the primary key for a tablesingleColumnChangeOptional. Rule to specify how a single column is converted.singleEntityRenameOptional. Rule to specify how a single entity should be renamed.singlePackageChangeOptional. Rule to specify how a single package is converted.sourceSqlChangeOptional. Rule to change the sql code for an entity, for example, function, procedure.stateOptional. The mapping rule stateconst -
MappingRuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
conditionalColumnSetValue
→ Input<
ConditionalColumnSetValue> ? -
Optional. Rule to specify how the data contained in a column should be transformed (such as trimmed, rounded, etc) provided that the data meets certain criteria.
final
-
conversionWorkspaceId
→ Input<
String> -
final
-
convertRowidColumn
→ Input<
ConvertRowIdToColumn> ? -
Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
final
-
displayName
→ Input<
String> ? -
Optional. A human readable name
final
-
entityMove
→ Input<
EntityMove> ? -
Optional. Rule to specify how multiple entities should be relocated into a different schema.
final
-
filter
→ Input<
MappingRuleFilter> -
The rule filter
final
-
filterTableColumns
→ Input<
FilterTableColumns> ? -
Optional. Rule to specify the list of columns to include or exclude from a table.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
mappingRuleId
→ Input<
String> -
Required. The ID of the rule to create.
final
-
multiColumnDataTypeChange
→ Input<
MultiColumnDatatypeChange> ? -
Optional. Rule to specify how multiple columns should be converted to a different data type.
final
-
multiEntityRename
→ Input<
MultiEntityRename> ? -
Optional. Rule to specify how multiple entities should be renamed.
final
-
name
→ Input<
String> ? -
Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
final
-
project
→ Input<
String> ? -
final
-
requestId
→ Input<
String> ? -
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
final
-
ruleOrder
→ Input<
String> -
The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
final
-
ruleScope
→ Input<
MappingRuleRuleScope> -
The rule scope
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setTablePrimaryKey
→ Input<
SetTablePrimaryKey> ? -
Optional. Rule to specify the primary key for a table
final
-
singleColumnChange
→ Input<
SingleColumnChange> ? -
Optional. Rule to specify how a single column is converted.
final
-
singleEntityRename
→ Input<
SingleEntityRename> ? -
Optional. Rule to specify how a single entity should be renamed.
final
-
singlePackageChange
→ Input<
SinglePackageChange> ? -
Optional. Rule to specify how a single package is converted.
final
-
sourceSqlChange
→ Input<
SourceSqlChange> ? -
Optional. Rule to change the sql code for an entity, for example, function, procedure.
final
-
state
→ Input<
MappingRuleState> ? -
Optional. The mapping rule state
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited