MappingRuleArgs constructor
- 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.
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.
conversionWorkspaceId Required.
convertRowidColumn Optional. Rule to specify how multiple tables should be converted with an additional rowid column.
displayName Optional. A human readable name
entityMove Optional. Rule to specify how multiple entities should be relocated into a different schema.
filter The rule filter
filterTableColumns Optional. Rule to specify the list of columns to include or exclude from a table.
location Optional.
mappingRuleId Required. The ID of the rule to create.
multiColumnDataTypeChange Optional. Rule to specify how multiple columns should be converted to a different data type.
multiEntityRename Optional. Rule to specify how multiple entities should be renamed.
name Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
project Optional.
requestId 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.
ruleOrder The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
ruleScope The rule scope
setTablePrimaryKey Optional. Rule to specify the primary key for a table
singleColumnChange Optional. Rule to specify how a single column is converted.
singleEntityRename Optional. Rule to specify how a single entity should be renamed.
singlePackageChange Optional. Rule to specify how a single package is converted.
sourceSqlChange Optional. Rule to change the sql code for an entity, for example, function, procedure.
state Optional. The mapping rule state
Implementation
const MappingRuleArgs({
this.conditionalColumnSetValue,
required this.conversionWorkspaceId,
this.convertRowidColumn,
this.displayName,
this.entityMove,
required this.filter,
this.filterTableColumns,
this.location,
required this.mappingRuleId,
this.multiColumnDataTypeChange,
this.multiEntityRename,
this.name,
this.project,
this.requestId,
required this.ruleOrder,
required this.ruleScope,
this.setTablePrimaryKey,
this.singleColumnChange,
this.singleEntityRename,
this.singlePackageChange,
this.sourceSqlChange,
this.state,
});