Class: Google::Apis::DatamigrationV1::DatabaseInstanceEntity

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

DatabaseInstance acts as a parent entity to other database entities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabaseInstanceEntity

Returns a new instance of DatabaseInstanceEntity.



1404
1405
1406
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1404

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


1402
1403
1404
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1402

def custom_features
  @custom_features
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1409
1410
1411
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1409

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