Class: Google::Apis::DatamigrationV1::SchemaEntity

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

Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which supports it). For some database engines the term schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SchemaEntity

Returns a new instance of SchemaEntity.



2794
2795
2796
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2794

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>)


2792
2793
2794
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2792

def custom_features
  @custom_features
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2799
2800
2801
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2799

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