Class: Google::Apis::MigrationcenterV1::FitDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::FitDescriptor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Describes the fit level of an asset for migration to a specific target.
Instance Attribute Summary collapse
-
#fit_level ⇒ String
Fit level.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FitDescriptor
constructor
A new instance of FitDescriptor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FitDescriptor
Returns a new instance of FitDescriptor.
1517 1518 1519 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1517 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fit_level ⇒ String
Fit level.
Corresponds to the JSON property fitLevel
1515 1516 1517 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1515 def fit_level @fit_level end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1522 1523 1524 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1522 def update!(**args) @fit_level = args[:fit_level] if args.key?(:fit_level) end |