Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::MappingRule (v0.5.0)

Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::MappingRule.

Definition of a transformation that is to be applied to a group of entities in the source schema. Several such transformations can be applied to an entity sequentially to define the corresponding entity in the target schema.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#conditional_column_set_value

def conditional_column_set_value() -> ::Google::Cloud::CloudDMS::V1::ConditionalColumnSetValue
Returns

#conditional_column_set_value=

def conditional_column_set_value=(value) -> ::Google::Cloud::CloudDMS::V1::ConditionalColumnSetValue
Parameter
Returns

#convert_rowid_column

def convert_rowid_column() -> ::Google::Cloud::CloudDMS::V1::ConvertRowIdToColumn
Returns

#convert_rowid_column=

def convert_rowid_column=(value) -> ::Google::Cloud::CloudDMS::V1::ConvertRowIdToColumn
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. A human readable name

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. A human readable name
Returns
  • (::String) — Optional. A human readable name

#entity_move

def entity_move() -> ::Google::Cloud::CloudDMS::V1::EntityMove
Returns

#entity_move=

def entity_move=(value) -> ::Google::Cloud::CloudDMS::V1::EntityMove
Parameter
Returns

#filter

def filter() -> ::Google::Cloud::CloudDMS::V1::MappingRuleFilter
Returns

#filter=

def filter=(value) -> ::Google::Cloud::CloudDMS::V1::MappingRuleFilter
Parameter
Returns

#filter_table_columns

def filter_table_columns() -> ::Google::Cloud::CloudDMS::V1::FilterTableColumns
Returns

#filter_table_columns=

def filter_table_columns=(value) -> ::Google::Cloud::CloudDMS::V1::FilterTableColumns
Parameter
Returns

#multi_column_data_type_change

def multi_column_data_type_change() -> ::Google::Cloud::CloudDMS::V1::MultiColumnDatatypeChange
Returns

#multi_column_data_type_change=

def multi_column_data_type_change=(value) -> ::Google::Cloud::CloudDMS::V1::MultiColumnDatatypeChange
Parameter
Returns

#multi_entity_rename

def multi_entity_rename() -> ::Google::Cloud::CloudDMS::V1::MultiEntityRename
Returns

#multi_entity_rename=

def multi_entity_rename=(value) -> ::Google::Cloud::CloudDMS::V1::MultiEntityRename
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.
Returns
  • (::String) — Full name of the mapping rule resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{set}/mappingRule/{rule}.

#revision_create_time

def revision_create_time() -> ::Google::Protobuf::Timestamp
Returns

#revision_id

def revision_id() -> ::String
Returns
  • (::String) — Output only. 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.

#rule_order

def rule_order() -> ::Integer
Returns
  • (::Integer) — Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.

#rule_order=

def rule_order=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.
Returns
  • (::Integer) — Required. The order in which the rule is applied. Lower order rules are applied before higher value rules so they may end up being overridden.

#rule_scope

def rule_scope() -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Returns

#rule_scope=

def rule_scope=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseEntityType
Parameter
Returns

#set_table_primary_key

def set_table_primary_key() -> ::Google::Cloud::CloudDMS::V1::SetTablePrimaryKey
Returns

#set_table_primary_key=

def set_table_primary_key=(value) -> ::Google::Cloud::CloudDMS::V1::SetTablePrimaryKey
Parameter
Returns

#single_column_change

def single_column_change() -> ::Google::Cloud::CloudDMS::V1::SingleColumnChange
Returns

#single_column_change=

def single_column_change=(value) -> ::Google::Cloud::CloudDMS::V1::SingleColumnChange
Parameter
Returns

#single_entity_rename

def single_entity_rename() -> ::Google::Cloud::CloudDMS::V1::SingleEntityRename
Returns

#single_entity_rename=

def single_entity_rename=(value) -> ::Google::Cloud::CloudDMS::V1::SingleEntityRename
Parameter
Returns

#single_package_change

def single_package_change() -> ::Google::Cloud::CloudDMS::V1::SinglePackageChange
Returns

#single_package_change=

def single_package_change=(value) -> ::Google::Cloud::CloudDMS::V1::SinglePackageChange
Parameter
Returns

#source_sql_change

def source_sql_change() -> ::Google::Cloud::CloudDMS::V1::SourceSqlChange
Returns

#source_sql_change=

def source_sql_change=(value) -> ::Google::Cloud::CloudDMS::V1::SourceSqlChange
Parameter
Returns

#state

def state() -> ::Google::Cloud::CloudDMS::V1::MappingRule::State
Returns

#state=

def state=(value) -> ::Google::Cloud::CloudDMS::V1::MappingRule::State
Parameter
Returns