Class: Google::Apis::MigrationcenterV1alpha1::FitDescriptor

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

Describes the fit level of an asset for migration to a specific target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FitDescriptor

Returns a new instance of FitDescriptor.



1556
1557
1558
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1556

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

Instance Attribute Details

#fit_levelString

Fit level. Corresponds to the JSON property fitLevel

Returns:

  • (String)


1554
1555
1556
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1554

def fit_level
  @fit_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1561
1562
1563
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1561

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