GetMappingRuleResult constructor

const GetMappingRuleResult({
  1. required ConditionalColumnSetValueResponse conditionalColumnSetValue,
  2. required ConvertRowIdToColumnResponse convertRowidColumn,
  3. required String displayName,
  4. required EntityMoveResponse entityMove,
  5. required MappingRuleFilterResponse filter,
  6. required FilterTableColumnsResponse filterTableColumns,
  7. required MultiColumnDatatypeChangeResponse multiColumnDataTypeChange,
  8. required MultiEntityRenameResponse multiEntityRename,
  9. required String name,
  10. required String revisionCreateTime,
  11. required String revisionId,
  12. required String ruleOrder,
  13. required String ruleScope,
  14. required SetTablePrimaryKeyResponse setTablePrimaryKey,
  15. required SingleColumnChangeResponse singleColumnChange,
  16. required SingleEntityRenameResponse singleEntityRename,
  17. required SinglePackageChangeResponse singlePackageChange,
  18. required SourceSqlChangeResponse sourceSqlChange,
  19. required String state,
})

Creates a new GetMappingRuleResult. 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. 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. 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}. revisionCreateTime The timestamp that the revision was created. revisionId The revision ID of the mapping rule. A new revision is committed whenever the mapping rule is changed in any way. The format is an 8-character hexadecimal string. 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 GetMappingRuleResult({
  required this.conditionalColumnSetValue,
  required this.convertRowidColumn,
  required this.displayName,
  required this.entityMove,
  required this.filter,
  required this.filterTableColumns,
  required this.multiColumnDataTypeChange,
  required this.multiEntityRename,
  required this.name,
  required this.revisionCreateTime,
  required this.revisionId,
  required this.ruleOrder,
  required this.ruleScope,
  required this.setTablePrimaryKey,
  required this.singleColumnChange,
  required this.singleEntityRename,
  required this.singlePackageChange,
  required this.sourceSqlChange,
  required this.state,
});