Class: Google::Apis::DatamigrationV1::EntityMove

Inherits:
Object
  • Object
show all
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 EntityMove. The rule is used to move an entity to a new schema. The rule filter field can refer to one or more entities. The rule scope can be one of: Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EntityMove

Returns a new instance of EntityMove.



1774
1775
1776
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1774

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#new_schemaString

Required. The new schema Corresponds to the JSON property newSchema

Returns:

  • (String)


1772
1773
1774
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1772

def new_schema
  @new_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1779
1780
1781
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1779

def update!(**args)
  @new_schema = args[:new_schema] if args.key?(:new_schema)
end