Class: Google::Apis::MigrationcenterV1alpha1::SqlServerFeature

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerFeature

Returns a new instance of SqlServerFeature.



8350
8351
8352
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8350

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Required. Field enabled is set when a feature is used on the source deployment. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


8342
8343
8344
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8342

def enabled
  @enabled
end

#feature_nameString

Required. The feature name. Corresponds to the JSON property featureName

Returns:

  • (String)


8348
8349
8350
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8348

def feature_name
  @feature_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8355
8356
8357
8358
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8355

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