Class: Google::Apis::MigrationcenterV1alpha1::SqlServerFeature
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::SqlServerFeature
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
SQL Server feature details.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Required.
-
#feature_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerFeature
constructor
A new instance of SqlServerFeature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerFeature
Returns a new instance of SqlServerFeature.
7105 7106 7107 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Required. Field enabled is set when a feature is used on the source deployment.
Corresponds to the JSON property enabled
7097 7098 7099 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7097 def enabled @enabled end |
#feature_name ⇒ String
Required. The feature name.
Corresponds to the JSON property featureName
7103 7104 7105 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7103 def feature_name @feature_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7110 7111 7112 7113 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7110 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @feature_name = args[:feature_name] if args.key?(:feature_name) end |