Class: Google::Apis::DatamigrationV1::UdtEntity

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

UDT's parent is a schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UdtEntity

Returns a new instance of UdtEntity.



5164
5165
5166
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5164

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

Instance Attribute Details

#custom_featuresHash<String,Object>

Custom engine specific features. Corresponds to the JSON property customFeatures

Returns:

  • (Hash<String,Object>)


5152
5153
5154
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5152

def custom_features
  @custom_features
end

#udt_bodyString

The SQL code which creates the udt body. Corresponds to the JSON property udtBody

Returns:

  • (String)


5157
5158
5159
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5157

def udt_body
  @udt_body
end

#udt_sql_codeString

The SQL code which creates the udt. Corresponds to the JSON property udtSqlCode

Returns:

  • (String)


5162
5163
5164
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5162

def udt_sql_code
  @udt_sql_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5169
5170
5171
5172
5173
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5169

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