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.



1858
1859
1860
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1858

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

Instance Attribute Details

#new_schemaString

Required. The new schema Corresponds to the JSON property newSchema

Returns:

  • (String)


1856
1857
1858
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1856

def new_schema
  @new_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1863
1864
1865
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1863

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