Class: Google::Apis::DatamigrationV1::SchemaEntity
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SchemaEntity
- 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 support it). For some database engines, the terms 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
-
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SchemaEntity
constructor
A new instance of SchemaEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SchemaEntity
Returns a new instance of SchemaEntity.
4109 4110 4111 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
4107 4108 4109 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4107 def custom_features @custom_features end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4114 4115 4116 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4114 def update!(**args) @custom_features = args[:custom_features] if args.key?(:custom_features) end |